oracle 10g new features rman and flashback

23
Oracle 10g New Features: Flashback and RMAN Submitted by admin on Mon, 2004-04-26 00:00 RDBMS Server Two improvements have been made in the backup and recovery areas in Oracle 10g. When user errors and logical corruptions occur in the database, flashback functionalities provide fast and flexible data recovery. When physical or media corruption occurs in the database, RMAN delivers an improved and simplified recovery method. Here is a list of extended flashback features: Flashback Database - This feature introduces the FLASHBACK DATABASE statement in SQL. It allows you to quickly bring your database to a prior point in time by undoing all of the changes that have taken place since that time. This operation is fast, because you do not need to restore the backups. This results in much less downtime following data corruption or human error. Flashback Standby Database - This feature improves the switchover and failover time of a standby database. You no longer need to specify a log apply delay, because you can now roll back the standby database if an error occurs on the primary and is propagated to the standby. Flashback Reinstantiation - This feature reduces the need to reinstantiate the old primary database following a failover. This in turn lets you restore full resiliency after a failure more quickly. You can do this by using the SQL statement FLASHBACK DATABASE to roll back the primary database in time to synchronize with the standby database. Flashback Drop - Oracle now provides a way to restore tables that were dropped accidentally.

Upload: sravankumarthadakamalla

Post on 18-Aug-2015

224 views

Category:

Documents


4 download

DESCRIPTION

ccc

TRANSCRIPT

Oracle 10g New Features: Flashback and RMANSubmitted by admin on Mon, 2004-04-26 00:00 RDBMS ServerTwo improvements have been made in the ba!up and reovery areas in "ra#e $0%& 'hen user errors and #o%ia# orruptions our in the database, (#ashba! (untiona#ities provide (ast and (#e)ib#e data reovery& 'hen physia# or media orruption ours in the database, RM*+ de#ivers an improved and simp#i(ied reovery method&,ere is a #ist o( e)tended (#ashba! (eatures:Flashback Database - This (eature introdues the -.*S,B*/0 D*T*B*S1 statement in S2.& 3t a##ows you to 4ui!#y brin% your database to a prior point in time by undoin% a## o( the han%es that have ta!en p#ae sine that time& This operation is (ast, beause you do not need to restore the ba!ups& This resu#ts in muh #ess downtime (o##owin% data orruption or human error&Flashback Standby Database - This (eature improves the swithover and (ai#over time o( a standby database& 5ou no #on%er need to spei(y a #o% app#y de#ay, beause you an now ro## ba! the standby database i( an error ours on the primary and is propa%ated to the standby&Flashback Reinstantiation - This (eature redues the need to reinstantiate the o#d primary database (o##owin% a (ai#over& This in turn #ets you restore (u## resi#ieny a(ter a (ai#ure more 4ui!#y& 5ou an do this by usin% the S2. statement -.*S,B*/0 D*T*B*S1 to ro## ba! theprimary database in time to synhroni6e with the standby database&Flashback Drop - "ra#e now provides a way to restore tab#es that were dropped aidenta##y&Flashback able - This (eature introdues the -.*S,B*/0 T*B.1 statement in S2., whih #ets you 4ui!#y reover a tab#e to a previous point in time without restorin% a ba!up&Flashback Row !istory - 7sin% undo data stored in the database, you an now view the han%es to one or more rows a#on% with a## the metadata o( the han%es&Flashback ransaction !istory - This (eature #ets you e)amine han%es to the database at the transation #eve#& 'ith (#ashba! transation history, you an dia%nose prob#ems, per(orm ana#ysis, and audit transations&,ere is a #ist o( enhaned RM*+ (eatures:Auto"ated #hannel Failo$er %or &ackup and Restore - Reovery Mana%er 8RM*+9 now automatia##y retries a (ai#ed ba!up or restore operation, reduin% the ris! o( strandin% you without a ba!up o( the "ra#e database beause o( an error&Auto"ated File #reation During Reco$ery - This (eature enhanes RM*+ reovery by automatia##y reatin% and reoverin% data(i#es that have never been ba!ed up&Si"pli%ied &ackups to Disk - 3ma%e ba!ups provide (ast reovery by bein% readi#y usab#e& TheReovery Mana%er 8RM*+9 B*/07: ommand has been enhaned to per(orm ima%e opy ba!ups at the database, tab#espae, and data(i#e #eve#&'ro(y #opy &ackup o% Archi$elogs - 5ou an now ba! up arhive #o%s by usin% the Reovery Mana%er 8RM*+9 :ro)y /opy&)ncre"entally *pdated &ackups - 5ou an now app#y a Reovery Mana%er 8RM*+9 inrementa# ba!up to a data(i#e ima%e ba!up& This resu#ts in redued reovery time, beause (ewer #o%s need to be app#ied, and redued time to ba! up the database, beause you do not a#ways have to ba! up the who#e database&Si"pli%ied Reco$ery hrough Resetlogs - 5ou no #on%er have to ba!up your database (o##owin% an inomp#ete reovery or an ":1+ R1S1T.";S operation& This is an enab#in% (eature (or -#ashba! Reinstantiation&Full Database &egin &ackup #o""and - 3t is no #on%er neessary to issue a separate ommand to p#ae eah tab#espae in hot ba!up mode& 5ou an now use the *.T1R D*T*B*S1 statement to p#ae a## tab#espaes in ba!up mode& *#so, the B1;3+ B*/07: ommand now runs (aster than be(orehanges to the A+,R DAA&AS, ,ND &A#-*' #o""and - 5ou an issue the *.T1R D*T*B*S1 1+D B*/07: ommand when the database is openhange.Aware )ncre"ental &ackups - By usin% a new type o( #o% (i#e to tra! b#o!s that havehan%ed in the database, Reovery Mana%er 8RM*+9 an avoid sannin% the entire data(i#e durin% an inrementa# ba!up& 3nstead, the amount o( data sanned is proportiona# to the amount o( data han%ed&Auto"ated Disk.&ased &ackup and Reco$ery - This re#ease supports automated dis!-based ba!up and reovery& The resu#t is a simp#i(ied and uni(ied stora%e #oation (or ba!ups, arhive#o%s, and any other (i#es needed (or "ra#e reovery& 3t a#so provides automati de#etion o( the (i#es a(ter they have been suess(u##y ba!ed up by RM*+, and the e4uiva#ent o( a dis! ahe (or tape, whih redues the time needed to restore a (i#e (rom tape& 3t redues the ris! o( an out-o(-spae ondition on dis! by de#etin% (i#es that are no #on%er neessary (or suess(u# database reovery&RMAN Database Dropping and Deregistration - The new DR": D*T*B*S1 and 7+R1;3ST1R D*T*B*S1 RM*+ ommands remove the database and its entry (rom the RM*+ reovery ata#o%&Auto"ated S')R )nstantiation - This (eature automatia##y reates the au)i#iary instane needed to per(orm tab#espae point-in-time reovery 8TS:3TR9 and inorporates the RM*+ TS:3TR operations&Si"pli%ied Reco$ery Manager #ataloging o% &ackup Files - 5ou an now ata#o% RM*+ proprietary ba!up metadata into a ba!up repository& 3( a ba!up is overwritten in the ontro# (i#e, or a ba!up (i#e is moved to a new #oation on dis!, then you an easi#y unata#o% the ba!up metadata (rom the repository&,(tended Flashback Functions3n "ra#e $0%, the (#ashba! (untiona#ity has been %reat#y e)tended&Flashback Database-#ashba! Database is (aster than traditiona# point-in-time reovery& Traditiona# reovery uses redo #o% (i#es and ba!ups& -#ashba! Database is imp#emented usin% a new type o( #o% (i#e a##ed -#ashba! Database #o%s& The "ra#e database server periodia##y #o%s be(ore ima%es o( data b#o!s in the -#ashba! Database #o%s& The data b#o! ima%es are used to 4ui!#y ba! out han%es to the database durin% -#ashba! Database&-#ashba! Database redues the time re4uired to reover the database to a previous point& The time to restore a database is proportiona# to the number o( han%es that need to be ba!ed out, not the si6e o( the database&R/0R &ackground 'rocess'hen -#ashba! Database is enab#ed, a new R origi!al_!ae> tLpe fro Mser_recLclebi!5.7N02(_/)-0.*3@3/)&_/)-0(=,0------------------------ ---------------- ------------------*7$$42513$()7&0$0(0$( ()7&0$%&' create table test Hcol_b