You are on page 1of 172
EY Omsala canned © SPN Gmboins Bunch - i Hokswappile APSKS.AS We = gece BBs pet l eae can replace % fr % ont 1) Qvacle Serves. © tmstonce level fotivres ~ OccuyS When cps mandy 2) Ovacle gnstence. a om OF Pyott 3) Oracle Database Irgatin reaches +o looy, 4) Some mondatdy fies - s) Some Opfonal +fies. G) UseX & Serves Procas- — Qracle France - | Oracle Instance Zs noting but Combstnatior) off S-G-n Plus backgroud Pro@™%es. —_ Orecle Inston = SGA+ BP fos ~~ SAN (Stovage ren, Nebwork), AD Tythe tBbene’s dow, we Comot acces rthe date eafaliag tn the databose- . —D TR OriGeme Anstorte level gpilures, oecle Gnbodaced mult” grctanee Dale ther ave Called RAC (Real Aphcatéon Cluder) Dokoose- — oe “ington Cod — Stormislone 4 Rac-env 4 many Cupte toonoser). sexneq [ede hrmst Wyrens2- Q) OD Sqepstartey erowk; rt-ova? Coe ae stestup mousk; (entice) 2 (panave eer ay Starhup open; COA goles “San - Conponedg 04 S.q. pi $30" epee} GP wen 4 IntFltyedion pasameleifle. PgFte —D fntthrms-ora fpoancie stone JAE Seafle > sphums-ora Toftrnms ova a 8 o£ Baa See AX SIRE = Ab_wohe She =3¢- Shoved- Pool -Mye = 99, D> “The locatfon toheve We sngtall Cwcle Sojbwove B Called ORmLeHoHe, > The momemnt one we give chashup Command “hen omcle checks cine exfatente of efter pytie onspetie Foencietoveldbs AfiectSy. —7 1p bot Pyle aspyfle we existing , Pr forty goes te Seti. > Pile a tertyfle where as Spite & past! bfnady and postal tent % noture © Re Gommanded not to edfe Spite efth.az Lofty nobepact x) viaedtler > spfle 08 Wbroduced % af verafen OF Ovacle- Vif potamele, > Bitore potamdé ose Subdfiided Frto 2calegfitag, LBS Sy8 modiats 1) Frapl@2t pagameler. 2) Exp\it pagamelsi, D Ample pagamelere are those Pagamdare WhFeh we don’t specify expla. By dezoull- thes argumes the Values of oracte. > Explec® papamelive am tose Pajama of wien we specify enpleett “They ove furthe, SubdiVided Tnfe 2 categhies, )Stotfe Pogametag. 2) Pynamfe patasneleis- > Stalic Poramelévs o8e those Pagamdtar whose Values We Cannot charge torte “instonte TS Up and runnfag. > Dynamic pogomeleiz ose those pajansles hose Values 36 Gon Change corte trstane FS Up & Lanning. ayI- db-cache Ste Shared. Pool-Sye Open-Cuford ..-e-t.e, p77 tiek Gfle tak Oracle Cons & efthey pile (or sprfle and twa tfakgie stat Drocle Crea & olertceroy.| Sm lodump Afeectsy 1) bece, Aono alethrme. va > Alertgsto>-loy Ss Sometbing Whe a stetsskope fa the hands opadact® Oracle Reckground Protant Background proces ote further fer Segeregared fy 2 types ) Mandedsy Background pro ais. 2) Optinal Background proass- | ai 1 Mandadsay Background proor Optfone! Backgvowndl Pretax ) Database write (DewR) 1D Avebfrep (Aven) 2) Log ur? (Lewr) 2)ce-ordfinale Job Quene 3) systen onto (smen) Sree my a) 4) Pro@s Noniter (PHON) 4) Hort Mendy enfter). S)_ check pote: (cKeTe). S)ASMa( Asm eatery 6) Recovers (Reco) 6) ROAL, (Rebatance. ae B)eTwe( change tack, write). BRvwrR Retovety ussite) a) eee poodyfoes Ere Gy — For -the Instone Jobe bp BRenning al “the. monday B-p showed be up 8 Yenwing. DBE the ony Op the Bes gas tent sJemninated gactane gre dousn outowadicatly. (ee ee ee ne He > ¢}R |p gies. “The physical shuctwe of Datatase Weprecents 1) Gontrolptles. 2) Redolog gfies. Pe] 2) Dabyfies. 1 ™ COT ds Control ia Redolegett 108, ee + oe Cod Eleg tector? Cave? The minimum and mandothy dolazfier that ave requiied—to tear » a dakibase % System ond Sysaux(t68) DThe wifHfinum o-o% online redolog yroups that ave tequbred steocrat a 38). Database age so. ) D Fp versfon 9F, the Mfofmam Skye off online Radoloy tle Gyk, where as fm 109 Pe & ymb. Ty we create a dolatase Using deca, (dolabare Gongguued on assigtent) Owele Creoles online Redolog yfles a gfyeS some. x —) The “hoo memBy Structures Of oracle ove DS-G-m (Systin Globabres). 2) PGA (Prog qbbal tre > PGA Loft be allocated onte the Seaver Protas & Created ang deallocated onte the Save prowst is -berminatedd, # prs e tree Greaubfon pier RAM HDO —) undotbs -40F > passing takes place In |fomsy coche. > Paaslog %& notring bik cheakiog pr gSyotatfal ond Symantial Error’. | > Passing so, a-hyped D soye posstog 2) tas estoy = Por the frettimne Brany Statement haste under go tard Poastag —> Sogt passing mean's no ve-passiiy. > Libwry Cache Gmbains Shared Say) Area. & 2) Shared P!/sayl-Avea. a ' > Shored sayltvea Cagtolns-the parse tree's and the Gxedelin plan, Enpre > Shaved Pi[ay) trea Guckaine Gonpied pilsay) progr units Ithe Factages, ProtaduveS, Juncker? @.t.c, 2 Tkally Sorting Operatfons are takes ple pan. DDp Pq ' nck Suppicfent ,Sorkiag oporedfng take's place % tenpoidd Where Orocle Creates temporaty Segment > Ome the Setting. operatfine. ato Onnpleted temp Seqmenti 441 be dvopm outonateally In dedicated saque? Aronitecture Pgh CGontafns ) Set Area. 2) Sessfen Snformetion. 3) Curgor Stale. 4) Stack space. —) Cursor tate Tndfealés -the Stage fr Precestfng a Sad stent. — Stackspace Gmtofer Seccfrn Vag iavle, —) Th cane ef Shaved Segveg Aarthectue, SocePan Myiprmat on will be Stored th large Peo! heh fs Callect U-g-m Cuter global Ave), HE lenge pool is not Corfqured cthe Sessfin Intormatfin.wsfil be Ctovect fr Shaved Pool. > Every daistfie Gntak's “Heder! —) Heoder GmbaSns Sen(Syshem change number} Check polat Toformat on, BD 105 Sequence numba, Cosette + fie numba? and “the rele ve Number, D oObeclete fle numba, Uniquely Tanti the datagie LOF ID) the datiboaa > Relalve Hie numba wnt yeas Wenititer tre dalapfie Wo the tablegne —) In Vemston 47, Qvacle has Pbreduced Pga-Aggreqpte_targ eb -to allocaté a Genglidoled P.¢-A-tor all the uses proceres. => Dakdfetinnn, Ys conectta of Read sol tables R Views, > Reodenly tables ave Catled Base babies (Toes, coig, PCE, TnAb A vPk). By Creole Dolemplly Calls Sayf-bsay Gaxtaters sciipt 4o Create bage tab kee during the AcTabase Credo. r > Anformedton Fn base tables Fy ayptie. formak. > Sfate “the Trtomedfon fy base tables % not undetable formal, Wwe Creale Vfews ontop of the base tables by executing “Colnleg say" — Views Fry daladtetfonary ate a, “too types: ) Stet vfaos 2) Dynamic VFaue. 5 SB - Ind, Tabb, Auad , eR. 7 © we should not axeaite the di statement opatict the bate bnbles. ®> he Cnly bas table ibfeh is Afectly modfable & Adh, wobfeh - Captains cx Sajermation = TD Su vlew? whfen ave Stosifng wht dina) user Ay ave Called Shit ViewS-These \awos qa the Totormat fon rom dat Aierfonaty. > Al views abfeh ase Starting wh VE axe cated diya vee > Oypamte performance Vfewws ney GE the fntormodiis yrem the Memay OF welles the Castro) aie. i 247 2 Ve fastane, vb datoass ..- x eS 3° endigertontroiie = rere ft uo Ys ogee feashento vatonty Ga Meas Wook stabs songs on “ore pale tant ecent® 3S wore? “ae IF ReadCorstetency Sostotce receualy meno of = lemme DAT HF eatenaoe ee eee eee For vey. ONL dpexdtfon , we vegufre UNDO |) Purpose m5 undo fe Iransoctenal Reiltace . 2) Trensactfen ReConely, a) Instone Retovely 44) Read Constetenty. Hintonte Recovely ( netiing but rollfproad ad yollbackwart. —) Rollbackioagd means removing undsmftted data fromthe datarfie, > Rerifgowsagd means viking Gammited dels. -to the vecvecttie, datatiies. D> Every chonge Sifally haste vectored frtothe Sole vetoleg ales > Ovlfhe vedolog fet Contains charge vectas > change vector mean’ oldvelue Meu Volue ond transactfonal ngormatin. > Lozuorfiar cortles the dots Into onlfre vedolog fiat under “Ha potlovofag Chrownshantas!- JIe Ya"4 of Redobutger Cache © +fied 2) Ty he dala reaches fo INS ~" 3) For eyey BSec 4) Tp Uset Comite. Pm 5) Before pawr rorftes the datito the colaffies A wherevey bog cwofkedy ccurs, Check paint eceue HobFeb ust) be Camsfing taka Caused by Crpt prow. Chee) Dunthg Logsuaftch , ckpl STgnale. Desa tp wihe ~ine ditty bujters to wespeate date ts 3 ckply updolen the cheokpolht Thtermatfon to the dalagfie headas a3 well o& the Goholffie- 7) Smear pertprns nstene yeCovely AD nowlex to Perform Thstants veCovely Smon Scans undo of well of Orhhe, vecoteg Hes: =) Smen algo deallowles the temporary Segments > Grety ofthe vedolog tle Fieve a logSeqysrla wambep Daladiotfimady Cache I-76 veSelve ‘the names oy oa and privfiege? Ted Rid Stata skatus id uptenoun Yoittn Teena Fi unde ~ Update —) Past fenge. Jemnpot. dof O__| Fosest —> Row?y, delete -—> ente Row dala, 7) For evety DHL stmt We, Yeguive UNDO Panoate oF updale , oracle F gofrg to keepthe Past nage fy the unio Saqeteits PFncase Of Tiegh, oracle keaps “the vows fo the undo Segment. Dincase oy debte, ovate keeps the enite raudeta DEAE OG Scent shaleroerlt dalels vepulves more Cpala Ty he urledeymesT.-than updaté and -then Toserh ~) PaeR Lorfles the dats to-tye respecte chtagfies Deohen-the check pomt occurs. Duhenthe number of Afity bubras reaches fo threshold alia 3) than theve ove no free Lubbers. 4) bohen wematttme out occurs. SJushen We make the tablespace esthrenttiine. ©) when ise Keep the doblespate fy beg backup mode. #) When We make the tablespate Yeod only. ®) wen We drop a table. 4) when We truncal a table- 3THe movement use, Gives o> update stmt Srtematty atable level lock and yew level lock odie be held On 0 partuley Obfedt-. These locus whi! ae held wal user Complels “the Arensacttion Finer by Gommit er) Yetlback. OFy ak all, Ty usa Serre GS nok avekeble (cltdconected PMoN releates the locks bs Yolleacksg the dyansankiin, under the polloctng Cheunstance? —) Those of stared Sever avebflectuve PHON yeshuls the deed ABpatchers- ay" as AptEaltyetfon Posamebersir . 212, 1° broodly Se Jed, foto 2. codegorfes, —YIntialfyatton patarnebers ave HTS DImplaH poramete 2) Expliert patomas 22 papamelers ave those Patameey whfen we deo't specliay-them expliahly YThese patameteS by Aajautk they assum? Values a3 per Cvacle ‘€q)'~ Tostonte type e RDBMS —Deaplek pagameters ore those patameters Lobfeh We Speciby Sxplfetely Frye Hit-o1e, 9 explele pagamebers ove further Seqgtegoted Thro stole parameters 2) Dyramlé poiameters San_monSPige 364 dp-coahe Sige # 29 open_cursors =a0 Promses = 900 0g toupyer2 Soee “Stel potamclers ove those pazameler? wh{Gi we Cormc change“the volues Life Hnotanta fe up yaonfog. — ¢g.- sqaumastge, log-bubre:, Prowse ete, 7 DPynamie Pagameters ave ‘pce Pajameters wbfch we Gan changehe Values white fstone fe wp AYuming gay, sga- target, p-Cacte-Stxe, cpan-cuser® ete Dpbfe Te atertte, where ue cd7k the potamekes eFiner wfty nokepad|v fed tor. a = postal Dina and paglfl text fh ture, We should nat ete Sette eft win okepad Saba ‘, [come ck “create sein oil —spifie was fatroduced fh ofversion Of orecle, Dy the Fnstante S Stasted whim septic, whntavey the chogges that we make to Are cham, Pasonles they ove Persftenk acvay Tnstane reboots: At the ime Og changing o dytamie pagamebey Value We Can Spe cfiry “be ‘fpitousing option, ‘Scope = memary (her-the Current instante). a)scopee Spitie Cupdabes the vale to sptite)- 3) Scopee both Cupdalia the Current instante ag iellas Spe. ‘Stucluye O, the Oakainge'- Jontiiate bas got logtal suche as well as phyvfod chuckwe. a) Logfea) Shuelire of the dabkate Yepresenti toblespcas,Segments,extents Ard Oracle blockt a)clalo4 sien vepreses “toe physical Stuchue bythe 0-0. DEADereale tablespace hrs daliéfle ‘Tae slope orsete hans nes [hems met DeArcreale uset Scottf fant? fed by ae nl DEAD pant cenect reSoua 4a geese METS Scott >crecte Lable empty; SCOLE>S Mysert Fate empCioo); Scott> Create table dept); seott> creat? table salgvadeC} vate Ceaakcme: TORTI Block Fe ze le Cry eet ARIS mah TTocinck Areaspne avarnbithy } Cae ez eyes ———t hems El dog er 2 —_ arate” By | To mem Oracle BlockStrucue. & PD The detault black she fh versfan ais 2H gron 103 THE VK —F Iw Vergsn a? Oracle has Snlvoduced dhperent block Sige Concept withthe = help Of WE we Can creale tablespaces Of Af perart biock Sfyek. x > crate had Snveduced diipenst block Stye Concept Keating fy the vio © CLAP applfactfims by Fnbroaucting cthe potamdéy db-nk cocke-Stye 7 where A) q2 214) 6 %16,32° = Structure block > SE my D> Block contalng heades, feeSspaco and useds pam. i te —~) Preespate fo meant for futwe updadfang. + uses 4 > Header Sythe block Gentains ; Cucy) i= 1) Dal block addvers: ; > 2) Tate dfrecksy- = 2) Row drach. > 4) Transact’ slolt: (26s) > bvety vow fn, @ lock bas got a youtd. = Rowk, & a Sudo column (ke vounun Wh % iedBle bexadectmal ‘iy format: : a Blockspace ulfifyatfion poramelare:- a _ 1) Pek free - lox 2) pet used - 407. 2) foltvons -5 =a 23) mantiang - 25S e- stole Hesctey freeCon) > used Cuex) mal Database Stastup ProcerBel!- 2 Spence @, < 2 i o ot opens cal ese os es MOunt state ’ wor > Scans Cenbvougie gor-the Physctal least fins al e oe Of cabsifes & Redaleg fies (vetowy) r oe Nomount (seane pile Sptfle and Staslé he Trstanto —Dopens alert Tn ord} tv gasto nomount State Orele Scans eter patie [Spatie- —9 In the Nomourt State ‘nstane Whi be Staged, > Stacltng an Snskants means allocedtng mem (qa) ond Storltg ott mrandoddoy background pros: —). Ty the mount Stole Orecle Scans Conhoiitte por the physeS] looxtfere of decrfied I Redolog + Fes. (Oracle Wh net chear torthefy exSanc), —> Mounting & notifg buk amockatitg on Fogtaqe Wri the database. —> From mount to open, Oracle Pertprens SasftBy check voifen fe Seog tout Chechfig, forthe Symerontsedtfon, Off Son! numbes, > Ter Oi sca qumber'e ate matertig oracle Opens dhe data RRadeleg {feo © > Duty he tesictonal’t, of Piatate Orade ContPnowly updales the alert 2107: 10g lostog alestlog yfe, no Problem) wes > Ty ontey +0 create datataze Or) -tomveale Goto Pe, we bave tobe in-y fomount Stale. > Th the mount stale, generally We Perform Sone odmih Tsbelfre acthtires \fke Corb Quithg the D6 i) Arohfvelog mode, faintacle male, Reetorming Dee Yetovely ete, Dotabase Shutdow) modes:— peal Emp Set 2 SOO, a “ Shukdowy Normol:- Df B a qracopul Shaddown (Clean shubdoum), — > Neod Stathup doesn’t veguie ¢mehanta reco —) Oreole Walle uot! ott usa Scowenclt hel sessions exp ]reftly. ~) Ofmourdt, -ne dolatase , peloores Ahe memdiy, brfng down backgre al Pree and closes the doy hes . Shade worse = DAS a Gralo a qrotpul sublowy. ) Orde walts unify all engotng rantactfont one Completed efiney by Commit &7) Rottbacks, — Démountg the delsioage, Releages the meni sorfngs down backgroud, Pras and doses daapfics Shutdown ‘imme date — THB fea gracapul Shukdousn. oracle SKGenneclE alt Sawin by Yollbacktng engoing trantactions. e. J Di&mounts the D3, weleages -me. memdly, lof Sdousy beckqrosm Pros and dore the datipsie ————— Shutdaen Abort: eon eee ® — thfs & nota Facbal Shutdown > Ovcle Frmedtfatdly. terminates the instance ineul d&mounkt Dolabase WFthout Cloatog. she dolagtics, iL —> Neak Skaghep requir as fostonte vatovaly uabih v9 be Carrfed ou by Smen Note: — Granegally. we use Shut Abort { “he event of loss oF clR/o Kies, lors Of Gontroiges 2 Redolog gle, lors a, Syshonol.db? ond Fape datsbax fs talsfng more ime +o go down (Shubaiabor — State —>shut Fmmedl Sépty Stattup fora aa pserves%s uparumig past 3ts de, dns uprmsiig al SNA, sot —Ftabes mere Hine, ; \ ‘Shut frmedt&ite- (Geol) azoron® taprlaes open EN eesthoe wddsarel. (Gel) vets acre} aybs < eee ren my acre poRotouhiposot (Freeh) 9 aporems mee | yduepdsaqer, Tablespate (Ts) & one of the loge! _structere Of & OG —D Tablespace Gsntofns ene (or)more cobs ttes. —> 19 109, Ovecle has Throduced BHLfleTS Which Gmtafns erly one datayfie: os Diy The block stye Bak, adalagfe con Goo upto 3248 —) By che blocks? xe fE 16k, o dotetfle can gow upto 6448. @_» ReConmanded to Create Biifie TS, Hy SA pesky Volume manager fe fo ploce G1) ASM % Place. — Recsnmanded to hore Small Siget dalafties: > SPatamonagement Te One ofthe Yporkark tasic 4pvo DBA: = As a OBA ,Caotqously L9e Need do mogter for the avalatitity of Space Gm each eray datatfie > Generally fy -the Fydusley We depend o7 Some 24 pasty mon Gorfig. tools (@*) Shell Scr'Pl (Sulomfetedl of Creofobs) -to manttor the ovatlabllily of, sy a > Ip tne Spate Utffiyetfon in a dalmfPle reaches exh, 3 poi 4ool & Shell sexfpt Sends a threshold alegt to the DBA team. Ty the Space Ulf lfyadfay YeockeS AS/., % Sends a Critial alesk- > The mandeddixy Tabblespate thet ave requived “to create dalabose ate SYSTEM ond SysAux- —> Sysdux Tablecpac Wat Congidered af an Auctliady “JabkeSpate for the System, Aur, sue a Select Stk On ves crn fobroduced Fo 10% Yersfen off oracle WHE) wor To knew the Decupenkk o, Sys —D Gremsally , Fy the Tndushy , we Creale erpplteatfos Specik& ablesaca. > Te & qok advisfable to create Only ee Tablesoe for all the applieattene ) Prvov to 109, we Create a use wtthout oshtgatrg a Tablespata, Usay coh be ass ned to System FS Which is not advisable. From 103, oracle has Wlroduced defoutt paterabant T ablespso spy “the Dotsbore f, we create usez without asshming a Tablespa@, user wit! be odntgned detaulk Pesmenart Tabrespata. Theyre am 2 +Wer OF Tablespaws ‘) Ofetforasy monaged 7.5 2) Locally manged Ts Y vs vy vy ae we sem Peltettad T hymssspp ifast ve 10, oe Ea Scmctson doy permet T5(seR75) to ® Se > In cose og Ofetenasy Manoged Tablespate ,iqbermatfry about pveoonente. cafe managed’ matnakred in whith fo the dotadtetfony. D An Case Oy Locally managed Tablespate Into medlfon aboet fre extents USI De Mckntatned eskin & the Te > She We create a Tablespate by dqaulk ft wf be f en|tye gales and fe oof be Creabed fy Yead five mede. > By Astault: leagfog B enabled ter evely Tablespato, Dy pe create Tablespre f qologgfig mode &) % We enable hologging, only minfinal Fopomatfin ust be verted ‘Tato Onfhe Yedoleg gies (Yecovely becomes APieiult) > Genetally noleggtny $ enabled Frage Of bull load opembfas ont tp! ftex Tablespate Creation. ) Boe Hye bulkload Operactfor % Completed, Fre diately veComaadedl ao bake He bockap of database. —) Seqment Spate Monogement {5 of two Aypes: \) Monual 2) Ruts (dqeaut), In case | manual, Ovecle uses free (BE @) greeltals Groups 40 eada Spat Yh the blacks (Outdated). In case of Auls, Ovocle Gonsfder? Some of the blocks az bfmap’s Bus Coftrrap blocks) Which mothteins the Statue of the other bleces (ovecle uses bits (elt) to frafeate the Chat - ~) Adotabase can hove one clefaull permenent Tablespay one dg taat Aempdary Jabiespaw and One depaul Lande Toblespaw. DB Segment [ermenant) Spowons across am dalffles” belesgs +e SomeTS. ae Tarn pay Segment created fh tempdoty “Tablespaa Groups Sparen aavess tempaady Tablespas. L To 119, Oracle has Introduced detspered extent allocation, fy ine Gwe Oracle Ts not GeFng tb allocate extent Fnmediabely ence we Crealea table. > Ovecle allocated the extent ene we Prasat the data. >) Depfered extent allocattin Gmcept & More useful Fo case Of New Opplcdtfoy chevelopment envfvanmedt. In case of new opplitatfin developmest envionment, We Can Create ‘n’ Number of tables even there fs nospaa fy dabtites. as ne, nl ne Monual Dalbese Creation: Steps -fo Create Dalctase Manually ) Desee you szo. 2) Create Pefle ucts dummy tile, Pe, fofasore. 3) Creale required Streckty structwe. 4) start the datatase Tm nomount Stale. 5) Crealé database Serfpt and execute fe. 6) Sxeeule the tplloistng Serfots 1) cabileg- say! 2) Catproc-Sayt 3) pupdid -sq! nee — Calslog sa: By We exeaile ti sufpt ovacle Wil Creal default VFews, Seneryme, Toeleves tables ete, Cobprec-sqy|:- Dy We execute +h Sorfl oracle usfit create defaulk tunctfor, Protadurg, Packages, 4yf9q ee be, Papbi-sa|:— Ty we execule this Safpl Ovcle whl) Create the default Prosfies. 5 cemmet to ovecde usey 109 > behanp Comte) 4 ou - owale- 119 > Trece location. HERaw cd $oarcie tone Ace 109 > Flash Yetovery tren sis 1) Fost Vecovely Aven. top HiLora Mnfterms. era AW Tnikermg- era, ab-name « ‘CRMs’ audlt+Pie_dest « * fos [app [ovecte foams ems lacturp! ab-vecovely le _dest = “Ju [app /oyacle /fesk.recanty_ovte! dtagonstic sasts ’/uo} Topp omcie” Grabvol-tes « (_'/u0s lope] oveetel crms)conjotot cx?) Compabfoble = ‘Ir 2-07 Bente Cvecde SMeckdy istnckure and adr yo-the ownesh'P ond Provide permiSfeos akmkd —p jucilapplowcle Armed —p [uci [ae lowele foctmty forms [odump Simeate -p [uct fopp[cracie fask-vetovely over . Atmxdle -p Jace] ape /owele lorme. af chown -R Orde: ofastall /sor/app/oreck At choun -R owale: Ofostatl [uot Japp [owe osteo [ervsladomp Btenown -e oracle: Ofnatalt /uot /applovecle [fast_vetovaly- oven. Henown —2 ofecle: Snstall (ues /app/orecleloms Heokmod -R 744 © /aot lopelovecle. HFebmed -R 447 /ustlopplowcle/admi/erms|odump Hehmod -@ 444 [401 Jape lorocls [fast-vecowdy.oven. thchmod -@ 444 /vo3/app[ovacte lerms. aRSu oracle Sewart oracie-sip2eme Ssqiplus [os Sysdba sys>Sstastup nomoant; Esrer: Temehy -tngget uns abbCfenk sysrext; Atay - Kb Ae mount -t tofs simi —o siyee2q /deukbm 4 Su -Orecle $eypart onacresid =evms Seqipus fas Sysdbo Sysystagkup nomowk, sys>detfre-ede = VF sysred dtsai.sq) Creale database crmS datapfie ’ Jaz /ape lovecte Jems /systenot Art’ Sye om autoestead 7 Sysaux dalayfle ’/403 /oppfomcle /coms/sysauact-abt’ Siye tom autoerbend ©7 degautk tablesprte crmsts daliifie '/ues/app/orecle lems / exms.tsol dbf’ Size lom autoertexst 67 unde teblespate undotosi oleic //u03 /applorecle lerms|undetosot-do0’ sfye lem autoestand 07 epoutl tempiary Lablespate tempts temppite //ues lapplovacte forms [temp -tS-01-d bf 'SPye 100 autoerter’ on logistic ForP 2( "uo /applovecte forms hredoloqot.log') Sfye 4m, Group aC "Jae opp foroole fons /reslog.675.104') fee 40 GonbvoiPie reuse; iwey! SYS >@ahsrfpt -sq! Sys'> Select name ; open-mede ror“ V$ dalabose; Sys ded vunsql OQ goracte_+orie/radsms /admfo Icaksleg:sy @soracre--Hove/ vabms Jadmir /catprec-Sy) Gen9 System Irn Qgorncetone/syiptus ladmta |pupbit-syl Sw! SyS> @vun-Sql Sp5> Select Surn(bylei hoow hose) feem aoa Segmentis eg Dene: ee ee 4FSu owe Scot [etclomsb ¢ expert oracie-S10= hens F sqiplus / as Sysdba sys> Stotlep Sys> Select game, ppen-mede from \idotabase; sys> Select ‘Snstonte-name, status trom vhinsten@; Sys Select name 41m V9 tablespae; Sys> Select nome front vgdalayfie; SYS7 Select name +rom ubbempgite; Creating, ablespato- SUSY Creal ablespace Ssesi dokifie ‘/uos/ope[ovecle /inms/ssssot.db4" Ske 2m; on Eyvor- Treveattag dalatese 4812 ’Juoa /opplowcle/ hrm s/sssol dor’ en orgcalagiis i Ce eat) ora sah Cie. create evor, unable to creals fie) ORA-2F04p (NoSuchgfic Edfeckty), dimed —p — /uca for oracle /hrms. dichow) -R prot: ofystal’ /ves /opp lovocle /hrms 4pchmed -R xs= /u0z/ope [ovecie [nrme SYS> crealé tablespate sees datatfic’ /uns/ap p /oroce [nyms|ssssot-tot’ cfye SyS> Select nome rem vp lablespa.e; a Sys> Select name from vgdalayfle; S1Sy Ase Aba kableSpaced SYySy Seleck toblespawoname, block -Cfye, statis, Losgig from dina tablespaces: Sysy Save tS4.dql | Sys7 gek tSi-sal | Sys 7 Jeat tst-Sq) Sysricat bst-Sq] | S4s7@ cab_b bod sq! | SYST dese dta—bablespaces 48> Select tablespatc name, exterk_ management, Segmank-CPale ~Managernant, De bfle rom dbatablespates: Sy8> Save te2-Sql S457 @Es1-sq)\ S48 Dalkey tablespae sses yl; yo r@ tet 59/1 SysyallG Laviespate ssss onlhe; Renaming o tablespate:- — Eee Sysy alle, tablespace gees Yename to sssss; s4s>@ tst-sq! Sys Palle, tablespate ssoss Yerame fo sees; fh Aabl te Droeg « Asbispees Sy27 drop tablespat SSss Fnolustng Conlenta and dalaffies; SyS> Create Lablespate ve} datagtie ’ /uos lapplovacle [P40 dbf ste a9 Sysy dese dba-dala- ties SYS 7Seleck tablespare_name, Ele -name, Fle fd, Bifar Yrom dba-dals fies; SyS> Cor Fenlame aso fe! SyS7@1_kablespae-same alr Jes Sy8> Save {s3-sql SyS> Select fle name, ied, sus (byt horyliory) gram dbaadala fed Yroup by filename , fey SYS) Save tSy-Sqy) | Seon ease. Steps: ee }) Optfre the Tablecpate. 2) Rename he daleifie at dls level using. medop Guynend. B)Bssue alle tablespata Lename dalétfie name at oracle leval . 4) Oblve tye TS Syspalle tablespate Yap opine; sysy exte Set /ror/opp/ovace [yes $s Srv Feffordb¢ ff for-dbf Sysralte toblespava vaj vename dlalitfie “/uoalapploracle /mns £6 FFo!-abt +o ’ ur Japp Joracie yes /44F 01 -ADt", Sysyalle tablespate raf ootfae; Sye>@tsa-sq! Aaya ty teeta Sis> alta tadlespate ray add dalsffie ’ /u0z/applovaclelbrmelt Fendbh’” Sfye am; Sysr@sa-sqyl Dre» dati SYS7 alla tablespace yop drop dalapfie ?]u02/opploracte |yyms/Fffos-abt"s sysralla datatase dabitile 6 reS?32 ym; S487© t63-Sq}} Sect Batlle tables SYST Cranks igi tablespace WAI dufatfie ' /uo>/apphrace/hrens] Di} tsopanit Sfye lom; Sys> @ ts2-saj! | Sysy alte, tablecpae bR-ts reslye gm; Sys>dese. dbofree-spag Sys7Seleck tablespae_name,-(ie-td, bylss prom dioafvee_spag Whee table spat. names ’RAy: Creating locally ramged “TableSpate !- Sy creale tabiespate sess dale fe ? /uealapplovecie/ prens [sssol-d bt’ SFye. 27 ~— extent monagement lecal Seqtet Space managment auto; eellos dfetionaay managed ts :- SyS>Cvealé tablesprte bali dalsifie '/uor lapploracle Inrmephafics dv?! SFye, 29 erbent management leas Afetfonady Seqrenk Spale management ai rq nual; pele; Dk We Crealé 0. 0-2 ustag deca orcle fii nok allow Ustocraats AeHonty mope TS © DI we Crealé a O-8 manually then Omcle wh atlows Uctocreale dietfenasy 08 weil ag locally managed Ts lke. Species berms igs SYS> Creal bernporary talblespate bemp2 temptfie “roa /app/ovacte/ hyes/tempos ab Shige am ag Eepeeg tps Geert (0 SYD create Lempdady tablesprcs terp tempifie */a02fopp brscle/ rym tempog-d00 Sty samp ablespate group senpqp, Sys7Select * from diva -kablespate Fores; Sys7alle tablespace temp. tablespae qroup bempqp, Sys) Select * from dba-bablespas -Goups; Sy SP Sek WP Ory SyS7 Select * from diva. Properties; Sys> Set Wap 9; . syeydrop tablepate ral’ hnotudieg Contente and daleyiiet; ving Separate Lob! p Sernoboget Of bpulig Spats Lnblesneas wean Seivegate sthe méadaia Wet tbe Dustnen data enue A We con make Tifidual FS opelhe Or)Read al Tg veguived. we oo Sere Pemenent obfectt iSiiy tempoeiy obfect: a8 well as undo Seqmests + 2 We CaN backup TableSpete by toblespae. ~) There ore 2 -types of tablespaces OFeARmany Wnagad CDI) 2) Locally Monaged TS Chins) CDejaalt from 97) > These of duTS , Pnpormetin about t free extents uSf be mafrtained uafink, dokra tf —) Enaa8e Og LMTS, fhhormodion about Herm jer extents KO" be mahtafhed cofn ys tablespace (con fh cotsyfes). 7) Ona We Creal T.s, ft whi! be Created fn Read luni and enlhe mode. mh fablespae tt are-wepuPrad ta crastea Fo Reed leacigand Cote sPode, The wamlalory Tablespac -thak ave Yequiredto creaty a 08 ore Sptiz ond Sous. —) Syfaum vo0s Tnbroduced fr 103 Vessfen of oracle. > Some. of tne Gmponenlé of melidalt have. bean moved Syptaricte Sopa, “)Te know tre Gonponent® by Sysaux SqLrSelect *4rom vesySaux Occupant; we Cannot Make Syten Ts ope. We can make Sour oplne, we Cannok Yename QysTeM and Sysaux4-s +) one we create TS, Dy dejautt it whit be Created fh logging mode Nologging —-for fader telted Tt ® Ley “Transp, bulk dal [tiie | =) Legging means 2vely change uifit be vetovied Tato Sale wdolor 4149, —) Tn cue Of nologging rBnky adfafnal fizennebiin iii be Yecoved ft onlhe tcblegtier. ®— we enable avlogzing duvthg. bulkload operatfins (ov) For Findex Tadtespatas One the dulklood Operdfin $ Completed Feomedfabely take the backup ot Dalibase . D2 103, Oracle has ipbreduced depaull permenent Ts por a Oakzbar- Dp We Crealé use, esithout astiing ats, usecohibe an'qned to degault pexymenent TS SD Extent Stye vot be unigore by) audoallocated (dapatdt). —) Segment Spaca roanagement Ws Oy Styp es 4) Manual 2) Auto —) Pn case manual; Drecle use Peelfate cand free Ifat qrouPsCoutdated Goncept). 2 Ih case wy auto, Oracle Gnafsero Some OF he blocksae Buea (Bitmap locks) whfeh FnAfcoles the Stalis q Ho blocks. DA Sepmerie CPemenent) sproane acrom-he detapfles belongs tote Same ‘bblespaca. DS 18) drocde bag Trbroduce d tampovaty Lablespate Goups Wife Gokalis one (oo) snore tempted 7:2: Diempe ent Cresked fy HS OnroRy Hea meee ee ee earn) DW NI, Ovwole bas Inbreduced dayered extent aliceakfun ihith means Oreck WF net allecale he extent Onte we Create Stashup Sys? Select name, open-mode row vidalabase; Spy Select Mstanto_nome ,Sratis qvom v¥fistante Syey Select * trom ali-users; (By Daca (Zouses oe Create) sys) © Foracie—tome [vd bms/acsmnfo Jutisampl-sal $sqlpus Jas Sysdba Syep seleck * prom alluses) sys>dese dta-usexs Sys> Seleck USes-name, Account Stali8, defaulh— tablespate, temporary. tablespac, | from dba-user® there usetieme # ‘Scam’; op Sys> Select username ; Profle from dbausers Where Usenome = ‘Sco | Seeing steer Sys Create user Us Tdenfkifed by a: SYS? Gann vt fur; ORO-OWYS: UsSex UI Tacks Create Session privfiege | wowing + you ave No longa Gnnectel to ORACLE SyS> Conn Jas Sysdieo, Lo Role per Sys user > Don’t explore Sys Password We use / Sys> grant Greate Sessfen to uw; Sys> Conn vifor; OP Seleck * grom tab; ur> Create table emp (ename Vavohor2 (10) ,ef numbe('a)); UI> Conn J ac Sysdba SYST qronk Create table tour; Sys? Gen vifyr; UI> Cveale Lable emp(ename Vorchars (is) ef numbu(3)): uy desc emp; UP Fosert nto emp values( ‘yafir); UND Cao J as Sy8dba SYS> alle uses 0 Quota Sm On users; UDG —sths docs: S987 G9 o1/uL; ot> Fasat tnto emp yalues( “Yas, 1) O17 Cray 7 as systba SuS> dese dba_Sys-piive Sysy Select ¥ from alba-Sig- piive where grantee #703; SyS> dese _dba- tsquotas Sys Select uSeinane, tablesgae_name, mow byl fram dba-ts- Quotas Where Usemame 2/01: S¥E> Gan vIJo1; Ul>Seled * from Usel -Sy¥e_privs; ur>select # Jron Sessinn. Pug; Uy Select * from Uses_te- Quoles ON Gann /as Syselo ee syspalta user vt, Taentifed byon; sys? com ut/on; Ul 7G@nn / as Sysatn locking, Ouse! Sys>Gelect Useiname,account-Staluc jrem adbawters Where username e ’U!'; Sys pall usex or occount lock; Sys>all& User v1 occount unlock: Sys? GYont Create Cecsfon, realy table Tou Gentfifed by yr; Sys> Conn wafur: L2> Com Sas Sysaba Sys> dese vosessiorn SYS> Select S14, SeVal4t, uSemame pre vesesstinn Where Ucemwe oot 1 Csys') Syedalte Systan KT Session 7), By ZA, Sate Gralrot fF'e management > Goroligle Ba binay fie. —) Drocle Scant -the Gsvtent og Goobotzfle fh tnemount Stege, —DdHleast Ene Controlfie & required or te functionality ef Dalioase, > 08s Of Gonhorfie Needs YeCovely. > Ouving the punctfnality 0, 0-6, Orocle Gertfnously updela the Canbarigie. > Codlvol tfte Cootaine-- Name of the Oalsbose. 2) Tine Stoxp ishen the O-B was Creoted. 3) Tablespate names. 4) Namegond physfal lecat ns af dale 2 Redolog tee S) lop Sequena nambep. 6) Archive lop bistly 3) Chece potst Formation. g) SeN numpey, —) Shee Getroiffie fs one ofthe Fmpertant tHe, ve cemmanded +0 mirror te avoid Staple poftk of goftuves. —) See Got miyored copfee vestes fy a Seporels. ‘fte System. > We Gen mullfhlex upto g4fmes, but H the frausy we mafntakn efter 2 &)3 lotro pies. Tofthyms-o% Ls Gentrol-tfiese “/aot]app loractel nrens/Gmbraiod : *Jo0r] app levociel nrns Aemtvotors 2H eet squsteteh e L, Fee Griwolel.ct) fur /applorecte | mrs $ my Gebolof.ct! Gabrolng,-ctt “randy Curve BRET Sie SSpiflelwns-ora Gontol_ffieS # ' fact fopp oracle frye [amtvet o1-ctt” SB) ate system set Contror-gfieS + '/uo1 lapp [ovacte] hren$/Gertrelor.ce”, “/ucelapp Jerocle Jims /embotog-Ct!’ Scope Sptfe/botni (re > Gontvorpile Gatains 2 Sectfons Non reusable Sectfin. 2) Reusable Sectfon. =) the Reusable sestfen of the Gmtraiffie Centains Ruan bKP frgormotion, —) “The Retention ofthe Mipormatfen depends on the patomelay Gmntroiffie- reterd-Keep-tine . © =) Whenever We Wank te Chonge-the name Of--the database, we Need-te vecrealé the Gontreipfie by execubtng the {plowing German. S¥s> Alle cotabose bockup Galraifie te trae; — The above Command crealas a tata ttle fy the udump Afreckhy Ov voce Hrectdy whieh Contoins sql Stotemant te recrex® the Gorolitie- —D We an alge take the backup Of Controlifie by executing the fallout Gemmond- sys> Ally datamse backup Gatroiptie to Jao) ap plovocie [nrs|centroteL ce» Redloloy tite Sanegementy Dhe mfnfinus no- of Bolte Redolog qroups that ove requived +0 Creali the 06 ave +00- —) Evety change Snkfally has +o be vecorded Hto onlfne vedo log bfies- minimal FngormadZon if! ve recorded fhto onlhe vedolog tiles, True Crealé a tablespata ashy wsfin nologgting, option. —) 14002 Loris the dats ito Sale vedlolog ffles fo He following, — )Iy yard op Redolog bute f pull. 2Z—p dale veoches 4o IMB. B) Dp 0 wet comic, 9) Before Dawe iorites the dali tothe respective datatfies. S) Fer Evety 3seds 7 2 vernion g?, the mfofmun Stye oy onkhe vedol log te Ye CHK, where os ton 109 fe fe aye. P Fh we Creak 20.8 using dbon, Owcle Creates oltre redoiogbtles O- Syes Soma. D> Sra wnithe vedoleg ffes ave ety fingorkant” gor te tenctioml?y o508, Ye Commanded +o mifvver then to aver Stig le potitoy failures - D> Place the mirrored copfes na Separate tie System. D Every chong onlfne vedoleptstie ashi bave'o. logSequente Numbes- ) 409 Sequente numbey loft be Thevemented by ove. eo — greet qroue? ae ‘le Feehan t2 & é Vfm 3 fe Bathe 4 a $) | ourgent z SD Online redoleg ffles ove Vasy Frpertant py Tngkente reCovely as uel! of DB vetovely. ~) Ffles wn fy a Group ove Called member’, member’ wtin fra group eit dave Same leg Sequents number. members usttn fa group Should have Some Shye- % fe nok —> members accross the Group Can be O% veryfing SF yer but TESS nok retomenn © aE Ames We See Karotig msgs fnhe alestdawy eg’) check potat comme To overterne $hB,odd More number Oy onlfre, reddeleg Groups —) An erie vedolog gfle whit exSts Ty ony of Be Of the forrowing Stoke )ourvent 2) Active 3)To active | 4) Lousedt 5) stale- Dik Lawe fs pefoltg to oolfne Tedolog fle Mt eakets Fy Curent Store. —) An onlfre redo bogie whieh & veguited for veCovely extets fh nctfie tte. > An online vedolog 5fle whfoh & not required §h veCovely ersts fo efting Toackfve py) unused State. An onltie redolegifie win paral dota exSis Th stale Stale. > The Andusly we malinfy small Syed onlthe vedolay Hles Of Syee 200H& ,€x) ooms Gr) CooHe br )goom a (rare Ge Ene plus G9). ~) HE not porible to vesfye an ehline Redolegdfle yp tnere Ba requirement Crealé a new one and cop exiorhg Bre. ‘Sficleg fle mnmagonent DBydefault database wi be created f DD fe one athe Mode. —) Hh the tnduslyy jevery Production D-@ wal Th Arabive log mate. 1 Noavehfve log mede. Fmportont vesponsibitity “Fe Gong fare the D8 Pq sebficleg "30 BY GE Topas 4) ctere 2) By we Gootiquee Ane 08 fy ove Fve log mace, archiver bockground procs see eratied ona & prcs-the Gorter op ocitie enithe vedolog file ant Getty Arete log fe, ) Pr¥or to 103, fy Orde to Contggure “he D-B fy Prrchfve log mode, we US to set the fpllowkng Pgameter’ 1) toy ovehfve_s byt etre. 2) top -oveh fle dats ‘fuessoppfooale/ esforen’ 3) loq-ovehfve-fprmabe AE VS) zy av > represents -thread nunby (“mstontenumrs S> vepresentt log Serysente qum be, YA vesetlog 7 a — —) Asa DBA, Cantineusly ire need to menfior forthe avatlabity og Spa’ fh Archive destination. ot ~) Tithe orchhe destination % leoy. filed, PB goes bung Stole ond fe ashy oot ealtow the business usagto establith a Gene ctfim. Stam awliveloys ave vely Tmportant for DB recovaly, We need Jofake te bockup By the archWe log, and use Need to delele “the ovahfelegs prea arelWve destfnat’sr. Jog -ovehtve-stegt etrue log-oretfie dest ¢! /uos ape lorectinn dere, € vediog® (| a0 Flos) ReGovaly.syeq te OSes 7 Tle} oracle bas Thbroduced Flash ratory ove ond renamed ft to Babrecvel area F119 version of oracle. “)Tnordet-to Gookfquee Pan, We need to get the Yetroutig Patameles. ') dio Yetovety_ fe chert Siye. 2) db—vecovely Fie -dest- —) One We Grtiqure FRA, by clatoull: Aine fettounlng. fea Wii be Created fh Fra, ) Avchfie logs. 2) multiplexed Gortoiyfes 2 Redoleg gfiec, 3) RMON backup sets. *) Phasthoack logs. DAS & DAA, wWe need to menor tor-the ouathttity 0% space f Fea. Sgt > Select * pron WE Flan -recovaly_aven usage; AD De FRAB 1007 filed , alto goes cto bung State. Ldomanegem eat Demo: —~ $enport ovacie_cioe Prod $aqidus Jas Sygdoa Sys)Staghup Ss} Select name ,Ppen_mede, loq-mode rom vedaktba ze; S4S>Select Srchano_name , chakis from vifnctante; SYS Select name from vg bablespaco; Sy¥S> Select name G7 Vodalat fe; SYST dese dba-tablespaces SyS) Sete ct tablespate-name, Contenté from clba- babtespecess S48? Creale Undo tattespate umtotica alate 'luo3/applorecte /pred [ umottszoretof "Stiye Som; SYS? Select tablespaw-—nasme, Gententé from dio. tables paces; SyS> desc dbo-Yollbock Seq; SyS7 Show potomely undo_ SyS> Select Fablespota-name, Seqment_ name, Stolig from dbarvollback_cax; SYS> desc vgrollstat; Sys> desc vgvoiinome ; a voltae SYS > Geleck a-Usm, a-xAcTE a: STATUS, biname fren Vprersty Where arusm = b-usn! urdots UF Sys > Sove undo-sql lees Scott /% Pos be S95 Orv he found robo. Scott > Gelecd * from tab; Scst eiteert Tyo Digfode Soleck # from Sabptite, 34S? Qunto sy) Sy S> alter Sylon Sek undo tablesprto « uplok bs 2, SyS> Show pagousste, undo HD © wylo-oy! Lypendtag orstine (clatus) SCoTT> Comm iT; Sys>O Undo-sq) SYS> alla System set Unde tables pate Seleck lnvtepate name, selentfisg yvem dtotablesprces: Sys>alles tablecpate undoktst rekentfin quv antes; Sys> Selec Ltob\espas_nane, rekentfn prom doa. tablecpaee Sys>alkeq tablespate umdetost vetentin oguarantee; Types Og fn b-orapogametw 5 Bee Oe Depot toh. ° Dyamfe Pie sre s Pate << Spastic undo_retentio «1000 Uundotretentiuy 21000 Stope « both Scope emamory vy | Cutfent tnekane+ Currtantinstane . Aubure tekanto scope spate oly Sate tant export oRacresio = PROD Ssyipus | as Sycdba Sys>stottup Sys} Select name, open-Mode From va dokbase; Sys>Shew potametey Undo— Sys> Show paameler cpyPle: Sys> dese V4 pagomarey SYS) Selec name, Value, TSSye-HoDiFIABLe prom Vbpeonctey Where Name 2 undore kent'o9; [Fred | fre ; true ii) immedfale We Can Call Peas daramt notes ee ‘) Te Pogamele. 234 toe Issys-moo are Toss. HopiFiA@LE Value f riage value fs falae We Gn atl Fe as Skokie Pagometey Bys> alter System Set undo_retemtien = 1060 Scoper memory; Lys? Show pafamelé unto- SyS> Shut Timed te SYST Stoytup Sysy Show pajameter undlo— Susp Seleck name, value, ESys-modiigable Hmm wparaméley Where Namez 1 Controi- Biies’ (rase] Sys> crete opie from pete; Sus> Shut Sromedfate Seey staslup Sys Shows Pasameter undo Spspolker Spoken sek Undo-rebentfen = lov Scopes but; Sys? Shou patamele undo- S487 Shut finmedhl Sys? Stegtup Sys > Show patamelai mandy. Sys) Select Yama value , Sys. modffable jon vgpagamela where Reme + /memory-max target’; Sys> alle, syctem Set memory mas. barget=qooi scape sppe; SYS? Show pajamelei memay_ Sys> Shut fymediate Sys? Skoykup SuS> Show patomeld, memay_ Backup § ReCovely — —_ FulteKP JX vdrman_ Combiquration ner oe > vyman-cutput meus vdvman Status i> Cummulative oe . I> fmage copfes | vavinen backup —For-detats }—> No caalg Made |» catalog mode |_-» coteiber[orglfrebre] GaoSiskenkokp > Hote] online bep | fy Gene fetant DEP Whe veorens thy Orocle has introduced So many boclup opiicg are 1) Logtea! BkP Cannot be Gangidleredas on mainbKp opin She we dagt youe the Gotept Of vetovely- Nole;- Recovay meant protor oy appliing archfres to Previous bep- 2) Th Cate Of 24KF Customer’ je Cannot Tmplenedt Cord KP shakergy For Sucrtype os Customers We Foplemert hokbbp Ctrakagy. 2) Ty O-G Sfye f huge, Everyday We Cannot toke {uN bef Fry 0% Sneath We depend on RMAN fhoremerkal bkp. Trad#foal Logfeal bee: pala -ex—ifies |__» doa exe. onjed [> Fullbackup ° > dba erp —Vexsion |_> foeremental blep > olfvect 24 Faormntey—[-> Fodeves 2A Senprovemer a 200000 \—P-albl eve] [> Command lfe | >Tablespate level 5 en Sheiserfpts |->Schema leve Ly paste. LpTable level ) Logtial BK Ban altemale bkp SoluHO; we Connot Cooter fas main backup (no vecovely). > Legfeal bkp fa pltgorm Midependent. D Logan! bee's ave move usefull Sntase oy datababe mivelfns ond dalabase upgyadatfen. > H¥gratfon Means moving grem one plattorm—to anther platters. —) Upgracaten mean's roving From one versten tDanotrer vessio0. — Logfaal bk p's ave uSezul focase De Schema level Yaprenhs. Repeating scott Seema yyroo prop to Dav/tegt emtyenments) > Logfeal Dep’ are usexul Focase of Ab-reorg , Schema —reerg (oO!) tanretions > Pfles generaked by jogfcal bkp's ave : } Ounpttie a) Loqfie : Dunpbfie Fe paghfar binary ano Paglalter! fo Matue- —> Retmamanded sok 40 edly the dumpyfie eftner infty ootepad /vi cdfehr. DI g there fo vequivemart -foedtt “He dumpifie take the kPa “ne dump fe ond edt &. Drogitie (so Lextgfte ft chews the Propress optte fob. Te alse corkains any Warnfng mm esage? BYJEvvoy messages that are encountered daily the Progress Othe Job: > vote she foo % Competed and Tf ucenp, ucan delete the logtfe. Dip *u! con't cpechy ony dumphile , by olegaull creates .o. dunpifte by He Name ‘expdala-Amp! D Ty we Spectty the Samename fore dumpiiie, bifadly Fe overtonthee- —) wherere We are giifog anome jyorthe dumpific, gfrea Propeg noune Sotnd Exety DBA Can unlesthand thot seta OE snantte Ye eee Sup)—> folthmme. ore Litows db-creoe_tfle-dat= Arcifopplordehne Ab-crealelog dats Lat [opplorecehy Create tablespace hrme.1S dalsyfie ‘D!yorecle[oradta/ pas [mms Teoldt’ Stye (oom, | fe eee ee ee ee export —DTE wf select Gale gram O.8. Fmport —) Decolli Poses” gata prom DB. uses Roo > By dejaull tradéifonal legfeal bp f& Conlactinal,wofch meade Fe baste qo thro-th i she SOR Procite layer. DP We Can also by pass the San Prowasing layer by Spectifig lhecke y > By defaulk o use Can toke tre backup of h@ own obfecks. Tra utes Wantt tp take the bip of enifre datshom he should bave eyp-fullain | Pole. Th Ovder to Sport the full AOepa fie ta Renpest Aatslast uses Shoulé have | For pull-databas rele. | ~Sometims whofe Fmport % qofeg on we gef Unelo reldbed ewera to OvaGme tHE Spechy Cammftey > Commftay means Ovade loads array Of records art frequently sued Comets rohfie Finport & gofig on Somelfmes tte gpk Al related errors messages, we Can Suptes Such type of mewoge? by SpeckkGy Knorery. > Consistentey Tptemally Foauad Set bansacktima Yeadenty and f wei not Cong treg “Are dale Ahk B Conta S4 Onto “he exp TstRnted. diag Sine oe, . (Dif Frevenentn! packep:- Dy Case of Keremental DEP ,Dvocle takes ne DEP OF Cay Modliiert Segments. DThe diyect aAlbadvankage even a Sipe record modified e Consttet “tine exiiive Segment. D The dfpgerent- tevel® os frevemantal’s ore }) fnctype = Complele 2) foctype = reremental 3) frckype = Curmlative. —) Boclype Tnckpe =frremental tke tne KP of all madlifed obfectt fii lack Tnevemental ©) Complele G1) cummulotfve whfch eve, appears tft. -D Inclype » Cumulative takes the Dep of all mocked obfeclé tin “he laat CammuletQle (i}Ganplels wWhZh appeoss trek: Foelgpes Pe ey dep ie 2 fnevemerta) o Scent ol foakyre ae ihe steal tne ave ong. % poy tat fine edn} td 7 Seema Eoag oak eda Enclype Taras 290 bet a geto| bf Hiouy Esse oy) Deg Del ge10 2pm Bi deorrt Een ease coo ees6 Dry Day Dae Dee Dele ses Ses BO) Szl0 geo @=0 Beo Bro BO B20 pice Sunday-conp fookype = restore: fae 2 wednesday cine Trokge crestor ¢ Views, cba. exp_version dba-exp Files dia - axp- obfects. Dapeng ~) Dali pump 7s anew Concept Fntroduced fy 109 versfon of oracle. ©y datz pump % much faster Gmapare tosne treclifona| lopéal bkp becuse Fe uses he Apr's Itke DENs_MeTAOMA, DAMS _DATAPOMP AD Dalepump fs move Utepal Incase Of doletase mph ug vegadatfons and Schema level yeprewn'e- 7) Ousnp he's generoed by exp Connect be Papert ec by Sep? > OabPamp % aSevaste ott Whh mean’s Fe genersles adumphiie atte Sequeside Trrespectile o,-the loaskfon Where we Con fatfale thejeb- Dy the Sige 4 the D-B & loge, sye op -the dunpifie if be lest than that, because St & nok gotag Jo ConBideyhe Syskem obfects , Sysaun crfecll , HempSeyrer Undo Segments. he Prerreguile for oatzpunp &, we neat 20 Cealcadfectory ak procle eve 03 well ag at Os level. ~ By cefoult, user oa. vearh can take the bKP OY i oxen Objects proved Sy esas tae veoh covtle. Prflege. on the directory, The biggest ockentoge © Dalpump Fs we Gan Stopdtre Joo Whenever spare Pertomans Esue, we Santer teGerihtnafar Hapie fan we Co? deattocy hefob athe lal pofot of ime =2 BEG alicot veGemmrpleal “to Specty aname $3 evely aalzpamp Fob > One we Totale dale job, a meste Gntrot Prowss ga Givoked and TE Keape Arock ofthe Shalis oy a fobinatable Created by the jobname. Bike the cakipunp Job & Completed ,-tne table geli dropped qutemntfally By dejaull dokzpunp fs Sequential , We Car alto Tivoke K Patallely by See citing Pajaliel pagameten . AYR the Pre oF Spectying pagalafnn Crstast tre Processes coftn fire Senves. —) Ty we speciy he Same name for-ine dump ire, fob bas eoity the Goer wy fle already enfas- we can alto estimate -tne Spato requivedl forthe dump-tie ciftn te nelP Sty CSifinale Pagamste. TD WE Gan al&o Gomprers -the Content % the dump-ttle ostinthe helP obs estinte pasameter, _—— A We an also Comprant he Gmtant % the dampifie by Speci. Sae Coropress foiemct ~) We Can al8e fake the bkP Of Female dolatase objects thragh dolinke by Speciiing nekoorkLiric paromdii From uses ond toiser equfvalant-to Remap_sehema Remap-SchemasSeot thing Dig We Wask-+o exclude ony ebjedé We dan exclurle by Speckigng exclude pans Hsu -orecle eypork oRAciesipsbrewe — $sqipus / 0 SySdba Syp stathep \ Sys} Select Name, open_mese, log-mote ton viedobsiaze; | SySySelect Fnetanca_nome, ctaltie gron vedete Fister; peur $ubich expdp $ wopfed Tnpap Sexpip dumptfie =Sysdmp logfle eCySley Gon + [os Sys Seexport orncie-sio = bens $ expdp — dumptfie Qype logic = Sys 105, Gote partulag dumptfie location $d fury Lapp /ovock /aden% /rens/Appane Fie Sys> Seled * trom din-dhector’ S4Sy Greate dfrectory dp a& “/uos/dotapunp’: sysy exft ; Af okelfr —p Aoa/datipanp Archown —R oveclerofmstar — /uea/detapamp Hehmed -R #55 /u03 /aotspump § export opActe S10 = hms. 4 é ee Ta kir ick Be bockup'— Tang -faushitinde wei Sexpsp dlunpitie x futlab-ctenp Joptlie : Fulatrlog fartzy dectery edp Job_ name =fulldolabase bee Userslane : lac Sytaea SysySelect * from aba-calpumP_fors; F Gsytrol ¢¢ (+40 Cancel fun. For). $ ereert| erPort > Stop_fob =fmmediale SYEY Seleel * from aa dabSpump. Jos; ee ReTokelng afb S¥87 Select * from dbodatipunp. Fabs; $erpdp attach: fulldatibosebkp USeelame : Jas Sysdieg Expert > Gotnue_ clfagt texpap dumpbfie = usedmp logisfie suser. log Scher sSCatt Arectoryedp. ON! las Spdibo, Table level bep:- Ferpde — aumptfc 2 table imp logifies tebleloy tabiere emp, dept Arectdy 24 iG ON: Scott fees. ever SHEP great yYeadnorite on Hectory dp to Scott; $expdp Ausptfie = table Amp leqtfie « boble-log tmbles aemp dept ArectBy cl a ON Scott Aten Tok Coulee eg $erpap kuenptile. = youd-climp loptie = Yow:toy tablet < emp Sey 2 \ “exbare olepnoe lo? al frectarye chory eclp ON 2 Scott] tyes, Hdecuta level bockup:- —~— —~—_ Feyedp dumpifie =mdbudnp logtties met-teg tablet comp Conbeqt 2 mets only Afrecory 2 ol a ON: Scott [eer Aimportfog:- es . r Userlevel itaport » Sys drop user ccott CaRcade; Simpl dunpifle =usa-dmp logtflecucer-log vermp-gahamne Statt:Stotk AtreotRyadp ONE fas gyetten, “Table level fmport :- es Scott > drop 4able emp purge; Stet > AveP table dept purge; $Twpap dunphfe = bable-tap logpfies table-loy Yemmp-schem =Sentt: © cote APrecksy = Ap Row level Smnport:- —_—es ON: Jas Sysdtox ScetI>dvep bable emp Puge; Simpsp clunpifie = row lnp legtlies Yoww-log Yemnpiscnama= Stott: Stet eoataay ON t fas Sysdos Mela dati level fmpork:- ee Sess >alvep table emp Purge; Fimplp cumpttic ameti.ceap legiste = mefs-o3 yemap-schema =SeottiSeakt fred Red ON! &S Sysdina, inp anpifiec botle imp sul flee abo.sy! ATreck Oy ae OND: JasSypdio Bd /uos [aatspamp $ VP abosay) Pagaile| passancley- A ESA Ob, USe103 -im? ~~ Serpe stunpte = epnenp) Jog Hee Eley schamot = Kett Patalel=2 dranksty snip ON: Les Syfolea, Oracle Nemo Bn the Irduslvy, ewlopers “hey estate a Gemneckire the d- stag Tomo brso4 Developer, eBbetiner § fe clfank shin fr) Seaver 0 phe prowa Bb Hnstaltalfisn T Some CJ vustistattes) orcle Yb facittabes ocean, 5 data exefeg % 0 Rencls Seweh he Binportank +Fiei Of wracke wlfio ave )ifStenerora 2) 4nsnomes-ora, D)synek-wa DThe default locaton oy these ties fy Fonncre tome) letsoor LladrFolsnaples 7) By depault oracle looks for this yelaled Hes fh sporacte tome | ckwort/actrf. PwWecan ano place “he Why releabed fle fh come cine dRedery “Th Ane Scenorio We need Jo export the enfronmenk Vagfabe TNs aos: ~ Vtereg-ove. us 4o be Conkfpured aktne Saver she and Uyane® Ohad wte be Gntfgured atthe citer ote: ~ Grenetally We Contiqure Saber Syjnek-or Th Cate oF pK Pally authaoKatley L 4 ae Gonffuce “the nfo velaked $f109 cFiter manually are by ushig, Nokes Cite boorts, Googe arR&StanG). The default: location of Neben Shoracte- Home /bfy Ovelectfent OrodkeSeWeyp xBe “renames.ove cgemns 2 byes Cocscefptton = CAravenliste(Protocal step) Ghost= cosy, | [Glenarm aa) ee ») (Port-sis21) PBledrane TENE o oui Ste ha ones Pree orton : Gronectiting [serene Woe = 2S) oracle 6) Ghoatress) jw porkeis2 (delat) Senfianome. Orbs Fisnret| Skeet Fismett Stak (Boneh status? Dh aase of Stok vegBbeatin we ave Goky, te badCore she ttart dtetate [Gterey-ove ‘Fes: DThase of dypmie vefBbatfin, We ave not-gofng te hawawre the tretone detafie fy (%tener-era. PD In dynariie ished, vagiBhaton fe Pertormed by Pins Proass: Dp dynam veaRlratfon , Onto the gnstana Stetle PHO regiters Ine Instone detafis whip the Itetener. ~) © SGlenes Gan Support eve than One 0-2. In the ndushy , exespiionallsy We Need -fo carryout Some math banera ack on the alestési0r-leg , [tener lop tfie and Dudhe 4 tes - Seow by atiteome set D Whenere, We Get Achanco te Gorkfpure he (Fa tanet dant go catty te Acjault Pork isa!) ,afie a Afferent Pork yor the Ifetener-o1@ Seen. (lence lo3 Connection Safpmnatia usfi be Stored). Lis Seancte owe pete adn fog- Senet} ssnretl > Sek Jog-ctalis oe Ismet >ex/t. Amv [ftenep-log [Btener-bep-ie-201 5-03 Srucy [fetenep-10g Fismer! jShrely Sek log -stokis v0 ote: an exeonlfig, the above Commands Set logging IBtanet E oh Hetenee-ora. —) Tn the fndusty, we don resi —/os Sysctbq by Selig a Pafomnela Saplneb-excath entfeatfon_SewFeay = nove: ) Bn order to Change S18 Parisord We use Dropard wf $ ylfsteme-toy Loy THB fe galing Foemthy the tenet ing. Sdepk L_saltisname —D-t0 minfafyethe pase tfmne, DALidle 8 moleralfged yu, mS — —? Crealfng alk from Ene 0-040 another 0-2 Fcalled Dalatnge Ifnk- > Datetase Ifok focfifloles oceestiing a daly and manfpulatfn dob. oStty Sn avemote database bron a 0-6 There ane 244A Database foes ) priate De link. 2)puble D-elink. calirke Thhemallydepands on Oracle hwo. —DFrorder to create Prficle OBIE, uses should have Cente 08 Mok ard Create a publf DA lok ULet Should have Creafs puble PBlfoK Prfiflege. => Osfoge dbfinks We Gan eects all Corts OF OML operation of weil ad Select epentfon but oot Dor epend feng. — 8 “the Volume Q: dale Froeotes occa Ming the dak through dbiinis depeces the Pertormana. > Te Demme +f probien omcle bas Sobrecuced malerolfyed Vans. Valero Vas, —) Th oder Versione oo vocle Mabualfred Vu age Shopshelt. 5) Views 1 a Stoves quay and Fe not aspane, demanding otfeck- J rraleralijed Reto Fa Spets denna obfect —) 2n onde: -to Create Malevaltged vias use} shout have Create make fet VFeus prfyfage. 7 Maleralfeed Veeus & Aloo apy of vemos 0-e cbfect- > Malevalfyed VPei Sahetnally dependd on dliifke. @~) Some Kner we Cros a moleraltyed vee calbrak lepers. on Yemde db obfeck +o enable Guely re-corfhag (rebrod doers 37 oa-b9551 sparscomng pers 1eyhad-o\-atslap@yPre 499 jdop adidas 2pard The dfperent Ayer op Rebved modes ave ) complete 4 Fost (usty Pk) 3) Fore 4) None Th Cabe of Gornplelé, procle truncates -the ence mabaalised View and Tefreshes the entire datw Tis Hine taken prow. Tn order to creak Maberfaltyed Vrew wy fyoak optim, te Some abject, musk and Should hove Prfinasy kep. DAN case Of bask, We also need -fo Crate thatelalayed Fens log on te Sow QB opfect- | Tn cake Oy bora, Oracle Lrfes Jo yepvesh based on Prf Keg ard fh \ $ nok ovoftable Huncates the mivfew) and velyrerhas te cede: An cone Og none, We need fo Yafresh the molerfalfyed View based O9 Our Wequivement manually by executing the follousfig Pacicage elbms. myvfew- vekresh (Cornpefecaname’) fe Sto ‘ianloo quetins, ) Fett me obo Something gouSelf 2) Con you pis explain how dial u started uv Garvfey as DBA: 3) Can ypu ple explo, Ssmething about uv envPopment- 4) Thu Want to execute a change, tshat fs-the Chonge mot Proass that u toilow Capprovals, documents Yollforwards). 5) Can u ple tell me the Chatlengtng tat that ubave Gme accross fy yor experfenta- 6) tow Jo you handover a SHigt 40 ur Collegue ) Hove u ever vabed a Servite Request th your enperkena: 2) can u pls explath the steps how to fetal owele unk envitepnenls. 9) User & not otoched +o afpstall PHP Whak ack ites he wifirrick Pertprn. 10) cabot & local inventory ond global fayentory a) O4fow-to $Frd -the Mventery location. '2)Tovenkory got Corrupted can we Statbsthe 0-8. Btw do you execu’ Yoot-sh Soripte fh the Fhdustry. 1) What bappenS When We execute oviostrost-sh and Yet sh 15) Why TeiS necedraty to Sat kemel Pojancles. 16) what does Stommax yeprecente. 17) Can u pls tell me the Canmond how te vestye the online Reclolog ites 19) How-to Pnprove “the perfermance: of export (loxal beep). 14) Mabefalijed view Ts not-gelfay Yelyeshed how do you “roubleshook: 20) What % SnapShot toeld vror (ore -|sss). 21) What Ts ove-6o. 22) what f ocra-bob, how do you troubleshoot 7 a3) shat are the youttne malntonene actWfes that u ove Carried out uv environment? a4) what fe the differen df Wewo & moberalfyed We 5) what Ps-the diferent bias truncate zOelete? 2) what f deprered Seqment @)extent allecatfen- 24) How to exhock -the debirhifms EL Scott Schama (exp, albmS_mebdalr. ® why ceixpemp & mich faster compare -to tad?iina) loyfel backup, 29) Scott Schema hnS got Ben tables and P want +o drop Aco table. what do ‘gm 90? Bo) What aloes high mater mark Yepresents? 31) whak dees undo-vetentfern tepresents) 32) Lwhat ave Storage pagamelys ond tank does optinal Patande; retresult Jnstanto cobfinFyer Settings \ worklood, eptimiyes Stas tes tuning I syn tng Custer Sharfng free, pctused Aske Stored haw clustes Pte keep Peot- exist enecutiin plan. rust Reworftesqr —> optiniiyar 9» ty aba Syn rt Deng: Cexp amp) af Su - Oracle Fexpert ORACES10 = S89 $sqyiplus las Sysdba Sys staghup SyS? Seleck name, Open-mode from v$datakate; SyS> Select fretane name, ckatue, from VF fnskentg; Statistts sexe Me 2Siinday-dnp (oy + Sunchy-log fnckype “Complete feck =y Stactie=nm buffers 2 200000 Ls By default databage- butirey cache e64kB. Username + Jas Sysdin, SYS> Conn Scott Hiqeg SCoTT> Celect * Jrom bob; Scort> fisert fink emp Select * Jrom emp; e Scot alter tobe "hp aedoe , Scomt> fheert fro emp selects prem SCeTT> CommiT; Scort> Select Count(#) from emp; $exp Res mondaydmp log mend: log Thelype s incremental dfrectey Stati tenm bupyers waooebe Pritmatp key Cascade; emp; VN Jas SyMba Ssqiplus las Sysdbo. S4¥8> Conn Scott /avgey Scott> ngegt into dept Select ¥ drom dept; Ewreri- pk : ScorT> altey table akpt diSoble Pratl Keay Gascade; SCOTT> Tyaact Tito dept Select * from dept; Scomy ComM IT; SeorT> Select Count(#) grom dept: Scort >Tyseqt Fito Salgrecle Select * drem Salyrade; Scotty Commit: Scort> Select Count(*) from Salgracte; Hexp flee tuesday-dme lege buccal Tockpesoremantal Mrecksy States none bujpers 2 205000 ON + fos Sysdba ScotT> Theat Thtoemp Select * from emp: ScoTT> Conmft; SEoIT> Select Count?) gyom emp; sexp ifte sWedoctdayane loge enero slog Tnckypes cammbative dfveck=4 Stalvtfes=none bubber 2 200000 UN | /as SySdbo. SCOTT? Tnseat Thtocdept Select ¥ pron dept; Scott) Commit; dexp Are = Thusday-Amp loge Muwscay log Fpckype efncremagtal APreck=y StolBlfes enone bujpers x 200000 UN: /asSysdba Scom> Conn /as Sysdba Syspdrop uset Stott Cascade Sys>Select Y grom Aba—exp-ffies; SPPseleck* prom dba exp_versien; Sys>Celect grom dho-exp- opjects; Afnp file strosdag Amp log =tnurnday dep Thclypee System Tavoreey fare y ‘ON; [as Syseba | simp fee Sunelay deap oq eSundag tog Selypeevestore Grove xy fullzy ON: | os Saba fap He = wensday-dmp Ing < Waneiday-log Frelype =rectove Tgoore ey Futlzy ON : Jas Sysdta hap ‘les thuratay “mp Joy x thursday: 109 oolype wrestre Fgnoreey futey ON} JosSysabq, Sowee (a2 et29- 152, $£589-Orecle-Com sssoa. Jete/nosts I WF2lb-129-15) GSS) oracle. ‘etc/hosts SSS! | iaztb-tagtce sess2-0racle- IF1-lb- 1291S! S888}. Oracle. tne . ames oe iti Bhener-cmms, ol SssSI$ sch sesso pad: oracles Ssqipius Scott /4% a(@)to corms Fitatnode !- yoot@ssssi] 4 vP /ete/hosts [> alfsname, T21G12F-1S1 _ssssl-oracle-Corn SESS] Tealotag. is2 SE8S2-o%cle-Gon SssS2 may! Secondnete- wa —_— Yoot@)ssss2"+ v? /ete/nosts Igaste-i2e-1s1 — sssSt-oracle-Com sess! Tpante-lagiss ssssz-omele-Grm S552 twey?, rook® sessi] sh a pfog TF2-16-l2eIs2 At pfing $8882: Oracle com f Remote eghg aypfng ssssa Yeak@sssss Ho Ap Ping 142-16: 129-1f1 tt pfing ssssi-orede- cor OC sey pinging, “3 om sss! t et you ssssiJ# ssh ssssa Pua; orecledta AS - Orece AH export eRAcle-S102erme sais Joe Sysiva Sisdstaglap Sysrer text Lroot@sec2"}3p ext Hssh sss. Pusd : Ovacledba Yook@ sesso} # xhost + (_Ewoy Unable toopen) Yoo @ cscs2 J exfe Yook@, 9 38517} 4 host ti. pte enable GUT Mote. Abssh —y owcle@ gogsr prod: Sacte @roale Qosser- Jk $oekca — difek 07 orietency Cooffquration Neg Cit 07 Add veg] Lieteney Nome [Tisrenen | Nest] Seleck Tep Next USe Glandard port 90; 159) Neel Would you thee 4» Conffpure axpiner (kere? ONo Nett | L&leney Got Gmplele nex FINISH SsssaJporRcd $onacic Hone] Nehoork[odey Wate ep. orm $v" cd Sompales | sis $ VP [Bhena -ova ‘Se nu | LBB be Ww >>Beaqcie tome /etuorr lading /ifeten 2e.0rq | sal Faq: $i ssesa"] admfing vf liSleng-ora fakener. orn Listener = Cdescripnionuist = (Description = CAporess = (PRoToceL =p) (Host = 8582: nracle ong) CPort= 1521) H (Bopress = (PRotecor =Tpe) (Key = ert procioa)) ) poe Listener = /uofopp] ovack ‘S)O- LIST, LISTENER = (sfp- ust = (s10_ bese= (St0-NAme sexes) Corecte tie = /uot lapploracte [product | -2-/db-bone) ) d Peal Fisovet! Skast lstener | Hist! stop Ihebener Fisnvctl Shagt [Fe benay a isnvek! States IFistenep, clent Node eds [root ssssi]axchost + HSu-oade $netca ®rocal Net Sew, Nome Gon furattin Newel Orda Neat Seqvitaname [me | Neg TSPy Hestrame [E5852. oda Gen) Ovse “the Standard portoumboer Next Onl, donck test = on Nek Sanifia Name fonare ei nl New | we Funigty Seal doRACLe—HoNe /Nlekwort foderfn, SvF bscams.ora SJO-cRNS (Descriprions Campress MST = \ (Aooeess = (PaoTeca =Tep) ( HosTessss2-Onele-con) Cporratsn')) ) CCoNNecT- 09TH (seavice- Name sem) d d tay! Finsping toms Lovacle@, ssssa} pad $orncieoye Ate (3 ee perkerfed Te IU Leck sxe Foopod ffieompuem? passwodeRAc enledesss fortes} Teoh mete prebus Sp [oracle Qssssi}$ sqylplue — Sy%roc@to-crms as Cysdba. a Unes Daferase lors, CitentSaer- —— Loracte @ssssi] $export ORACLE-S1D =HYmS §sqiplus 1 as Sxpaton Sysystontop S48) qrank Connect; YeSource to ul Wentiifed by ut; SYS grant Creat detibase Ifok create Publ database Vor to un Creation PYWate dolink- Syspdetie_edfor e VE Sys7 Gn ot fod Oly Seleck * yrom bob; 7 ° UY Create daktbose Ihr prAV-loe Connect to Scolt Gerke d by ki ey vSi5 Ho-erms! Creating public dolhit- 7 eee Uy create dotabase Fok pub-\ht Gomeck -fo Scott Tdenkiyte al byte usp ocr; Urydese User doses Ur} Seleck * PEM usetdio-links; oly Seleck * Grom goll-db-lines; WI Conn los Sydba SYS) elect * Yor dpa-dio furs; 48> Conn viluy Of) Select * prom tabOPriv-lPoe) UMrSelet* pron BG@rrtyttor; O17 elect * prom dept pub-la; OI> Goan Jes Sysdbe SUSY grant Goomeck veSoule to ua Cenkpfel by 02: SE> Goan v2/yr. U2 Seleck * prom depl@ priv-liy ks Lvrex Us"> Seleat * from dept@ pub-lhe; V2> Conn urfor UIY Gann Jag Sysdba Susy qrant creole Stynonym Ao ur; SyS> Gson vifvr ON Create Synonym dept for dept@ pri ito; UI> Seleck * rom cept; U1? Select * from tab; eae Re Oy Conn Jas Sysdoa Sys> Grant Create moteralfyed view to wl; Sgs> Conn vi] uy UP Create malerlyed View rovfew Yebrey fost cottn pr Sixt skin Sysdele Next Sysdale + | C2y*G0?G0) Geleck + from dept: UD Save mvsy Remote 0.8 Ssss2 ovate @s352]$ Goyy | as Sydba Sys} Gan Scott eg Scomt Select * from fobs ScomyCrealt spkeraliyed vfewslay on dep; ‘Scomt> Select ¥ prom tab: SS88| —cffent ub@amy cay) Restore + Racing possi] (a Covdrepoyslintrd —— teBhebep potbrg] [rae | oes Geos Steckor, Fncoosenkoep Peete until sont puntfi once} tartfi tme. D Oaksinse may be Gookqured efiner fy Nowohfe logmode QrArcbhielog mode. —) I, 0@% Cookfgurect 5 No Avebive lay mode, Only Stople Restore. fs possible. ) Ty 08 % Grtiqured Yo PrctfVelog mate Restore ant Reovay ore Possible. > Prom oF avelying tthe rckfBleles2-to the Previbue Kp % Called Recovay, Resovely % oy L4ypes }) Tncemplete ReCovelyy DEmplete Recovery, Dn Case Of Gemplete Recovely ; thera usfiige loan. Of, date. —) In Case O& In Complete Recovely, therecofil be 1oA8 of data © Whenevet We Perhorr ‘yComplele Recovely We Open the Dakshase iy Resco ® — oss of Currant -onlihe Redolog 4flet leads to fhamplete Recovely- ® he Orly scenarfo here ne open tre 0% uty Resctloy but off ft Complete veCovety $M she evant of lows O45 Current Cortral tile - ® —) wshenevel we open ane database «ohh Reseblogs omcle 8 guiig-toereale brand Neus Online Ladolog? Stasti tain logSequane Numba, by ere any Se rents & Nes InarnelSoy gumbe pr the Patahae.. | prfor 40108, whenever we Open “the Dolabase WFin resetlog3 YeCemmane ste take the bEP Of entire database oft OF) at leant He baekup | Guvent- Cobo pfte. Yeskidau Teds aa gastere DER] TH Je 1. 234 E-areh LL 1 @-a34c.er ey te 2-9aHs-areh J- 1- te saysrer ch J3-asucarey - 1-4-2 ayc.areh 1-4-234S-oreh \-12-224s-07% 1-S-234S-0veh “ L-13- asyc.oren Jb. 2345-a%e Lospm JF 23US: awed 4 1-9- say Crave palpcvatedt top Fe; Goa ep) Coaee Dons epcurrentGnlfne Redotoys Yeada 40 Tpempld Reever, \Ped 40 Gatent ® Sprfds tow, cid Frosnatiirn Ach Preley? Connotve apelfed i | Fncognation: Bechune OF -his veosen aR OD ol Re Ove Sear hake nc Bep of Entre Ds Qdatleadt dhe ep of Curent Gortve) tHe © > Grom 193. did foamatfin oweriFeeloay Can be ap pled to patent Proamér Deol bep 16 ako Called ac opklfnebep Jamsblent beceyp. > We Cannet Implement celdbochuy> Shobeny toy 24/4 Custemet. bo 1a 234s-oreh - LBUE -en 1-2-na4s -oveh aden 1-8. a3us-ovey {-q-2345-arch 14-2346: awed JHto- 234s-090) J-S-aaus.avey To -a3us.are> J-6- 2B4s-areb [tty ie 4 Jopwy [1:20am Lopened the D & wht retatey L1-4e6F-ares, Coldbiep 1 -yseqaren 1-3-4se4 oven toy. ucey ovey 1-52 USF arch IC 4SeF ore (at_use9 axe le @- USEF OeH 1-4-ure7 “ore Into 4seq-orey Ion user ove, 1-12 USE} rey 1-1B-WSeForey : 4pm albovenhed. Dn ordet to take ColAPEP, We ore gofng te Shutdown +he database qoetutly boy executing any one of the-4pllo19f'rg Command's Yehukdoson Nowal 2) Shutdown-pansactfonal, 4) Shuddouwn Tmmed ie, = Agta Shubtig. down the 0-8 We copy ciRingfies B toine bkp destination by usfog ‘cg Commond —) Whetber % % coldionhok kp, the Proms Of restore % Redovaly is Some. Jshubdoun the Dalbase Grotefully. 2) copy she clalD ges to the bk destfootfan. 2) Apatk rom Dalabate bkp, Tes also equally Finpertant +e have apropa Dep Poltiny fpr Arb fielonp- 4%) In the Thducky , along usfin-the Die bke archfvelog’ and dekfe the archive logs prom fia ascive destination, _——ld Today IeLL2gySarch I-10. 23yS.aveh 1n1G_ Baur oye, 12-224 ayeh AaM1-234S-070 ona I g_s8ys-arey 1-12-2346 oveh ATh-23ys-09h » eto) | APB 395-010 u 1-19-2345: ave), i 1-20-2346 arth, J- IS-23YS-a"U) a4 Foden 8 a =< a. Liessucery Cived-torestore bepybuk bkp fS not werkhy to Weasys-escy 1-12-224C-oreh( deleted) 4 -13-284S- awCh. Sconorfos.. a 1) Losse& full bp oe _ : Yeshe ieteetonen TT) BY 1-1 -284c.aven 1-1 -aays.ored, L-2-2a4c-oxth, Lia -asecarey oot Ie aaye cored, 4-13_234s-aveh Ta) ar i Jnly- 2846: ox gar redeapyperd | toast 3 B Guarep sees SIeEB so Performa Retloye & Recover. oo 2) Restore the blak bep. 3) staglup mount 4) Bil database retoves automate ustig ockey Gopbrage ants Caneel, ©) ReCover Gurcey ©) Alle; datstese open gaseliogs: Nok oe Dy aglen Full OB crash Retwvely, We Need to cpen the De wftn ReseBog? bethuse Of logSeqyonto mBmatch. D Bnte We open the O.8 ustn Reseliogs 8 fs goflig-tocrente beand ness Reel Cedalat Sati cok osSeq ents S 2) lors ne0 -Syshemadifie'- (hrmsottot ) Steps retrot® (not-odvistor) : by fe » roake che tablespais orb! 2) Restor, dateitie sae gs} apey 3) Recover dalegfie <10-> OF Lpatt> &) make he tablespace online. raetnoa® rng 1S. Dmoke the dakiffe ogpline- ———- on 2) Restore the loat dalspfle from brp. cere 2) Recove, dakitfe Lno> or L A) make the dotiffle onlthe. 2) lows O& Spstemdalaifie (Systeniof):- ') Shutobert 2) Restore Sgtendbt grom the lofesk bep. 3) Stagkup mount 4) ReCover dolabose. <) ley database open- 4) low © Sychem dabipfie:- (oysaun ab) D make the Syfaux obpline. 2) Resto the lost Sysaux grom bp: B) Retove datetfle Lno> EdLpat> 4) make-the Sy2aux og lfre. 5S) Joas by datéptie Lotffch waa nok fh bep:- [| ~~ 1) Opplhe bres _tsea abe \eLeasyc.arty 2) ATG clakuoase Creale date fle Lea asucare 1-3 2ays.avey ‘/xe¥ lapplendelnres| trms-ts0dtbi 8) Retove dalayfie Lnoyet) cpatiy 4) Oolthe datapfie Zne>@r)Zpaty> | Demo on coraver ;- HSu-cvack: FP etc /ovatab Feqiplus / as Sysdbo S4s>ohaghup S45> Select nome, open. mode,log-mede ron wyddlabase; Sys> Select fnshano name, chalie 470" ve astanG; Sip) Select name TO) doyle, SYS} Select name trom yt Controlffie, Sys?Celeck merbes prom Vblogifie; Ses> Shut finmedfate Holy -kb tmkaty —p /s03/corsoep Hehowy -R omeeiotestall Juos/ecidbep Hchmod -R 44% ]u03/eoldup HSU -Oracle eq [uorfopp Jevocle /ryme #op ** fros /coubep Fed Jus /applorecie [-fask. Fetovely -aveafhs/ gis Sep Controlorctt /uoalcora bep / $sq\pluc fas Syfetba, S¥e>shaphup Sesr ecb fe loge; SYS Conn Sokt he, Account locked SSP Genny Jas Sysco Syspaller user Stott account unlock faeniifed by Hers HP Conn Stott herep. SYED Scott > Select #4rem tab; Scom> Sdeat Count (#) prem Salgrede; Scotry fy 1+ into Salat Goleot ¥ Solgraae; sony a 977 ™= ° Scot > Comm; Stott) Sdeck Count(*) trom Salgade SCsIT> Conn / as Syetta, ‘Sys> al Seotth lontfie; oq Archives Meare Cunert log Sequente no, Step amke an OHS Aba eraee ee Carat lpeequee

You might also like