Vous êtes sur la page 1sur 71

<Insert Picture Here>

Best Practices for Upgrading to Oracle Database 11g Release 2 Carol Palmer
Principal Product Manager, Database Upgrade & Utilities 23- ebruar!-2012
2012 Oracle Corporation

Agenda
"est Practices $% #ummar!

2012 Oracle Corporation

Best Practice #1

&ead t'e &()*D+, manuals-

2012 Oracle Corporation

Docu entation

*ote/200112 Upgrade $d3isors

2012 Oracle Corporation

Docu entation
4

*ote/ 201112 Database Upgrades 5rom 1012 to 1112

2012 Oracle Corporation

Docu entation
4

*ote/ 26.112 Database Upgrades 5rom 712 to 1112

2012 Oracle Corporation

Docu entation

*ote/89030111 Upgrade Companion 11g &elease 2

2012 Oracle Corporation

Docu entation

*ote/89030111 Upgrade Companion 11g &elease 2

2012 Oracle Corporation

Docu entation

Upgrade :uides

http://download.oracle.com/docs/cd/E11882_01/server.112/e10819/toc.htm

*ote/93808011 Complete C'ec;list 5or Manual Upgrades to 11g &elease 2

2012 Oracle Corporation

Docu entation

(mportant Database Upgrade *otes

*ote/ 110201611 Master *ote or Oracle Database Upgrades and Migrations *ote/ 132076611 <'ings to Consider "e5ore Upgrade to 11121012=11121013 Database Per5ormance *ote/89030111 Upgrade Companion 1112
Upgrading 5rom 10g to 11g/ >'at to e?pect 5rom t'e Optimi@er

http://www.oracle.com/technetwork/database/focus-areas/bi-datawarehousin /twp-up radin

2012 Oracle Corporation

10

O!" Upgrade Page


4

'ttp/==AAA1oracle1com=tec'netAor;=database=upgrade=inde?1'tml

2012 Oracle Corporation

11

O!" Upgrade Page

'ttp/==AAA1oracle1com=tec'netAor;=database=upgrade=inde?1'tml

2012 Oracle Corporation

12

O!" Upgrade Page


4

'ttp/==AAA1oracle1com=tec'netAor;=database=upgrade=inde?1't ml

2012 Oracle Corporation

13

O!" Upgrade #oru

2012 Oracle Corporation

1.

Upgrade Blog$ blogs.oracle.com/UPGRADE

2012 Oracle Corporation

10

Best Practice #2

$lAa!s upgrade :rid (n5rastructure BClusterAare and $#MC irst-

2012 Oracle Corporation

16

%rid Infrastructure Installation


11*1*+*,
$%&'()E_*'+E
Inventory, ADR etc.

$%&'()E_*'+E

11*2*+*1

Inventory, ADR etc. GRID_HOME

ORA_CRS_HOME

.same.owner.

%rid Infrastructure Oracle &luster'are Oracle A()

11 21 31

Oracle &luster'are
$%&'()E_,%-E./.for.'+-

Oracle A()

$%&'()E_,%-E./.for.0atabase

$%&'()E_,%-E./.for.0atabase

Oracle Database

Oracle Database

2012 Oracle Corporation

18

%rid Infrastructure Upgrade 11g Release 2


$lAa!s upgrade Oracle ClusterAare 5irst--Upgrading to Oracle ClusterAare 11g &elease 2/


(nstall neA so5tAare into neA :rid (n5rastructure 'ome Out-o5-place so5tAare upgrade :rid (n5rastructure 'ome is oAned b! DrootE )a-e sure to c'ec; *ote/7.9.0611 5or ;noAn issues

On 32-bit >indoAs t'ereDll be no 32-bit :rid (n5rastructure and $#M a3ailable-

2012 Oracle Corporation

19

%rid Infrastructure Upgrade Pat.s


No ASM, no Oracle Clusterware

R2

Clusterware & ASM:10.1.0.


Clusterware

Clusterware: Rolling upgrade ASM: No rolling upgrade Clusterware & ASM: 10.2.0.3

Clusterware

R2

Clusterware

R2

Clusterware & ASM: rolling upgrade


Clusterware

2012 Oracle Corporation

17

Oracle %rid Infrastructure 11*2*+*/

Oracle :rid (n5rastructure Patc' #et 11121013/


Patc' set is not t'e correct Aording/ itFs a 5ull release (nstallation is out-o5-place onl! into a separate 'ome <o upgrade 5rom :( 11121012 to :( 11121013/

$ppl! P#U 1112101211 Bor neAerC in-place


*ote/91037.11/ &$C $ssurance #upport <eam/ &$C and Oracle ClusterAare #tarter Git and "est Practices B:enericC $lso see plat5orm-speci5ic notes lin;ed 5rom t'e generic starter ;it

&$C=:rid (n5rastructure Upgrade *ote/


01R2 I)POR!A"!$

olloA all instructions in *ote/121280311


Ma;e sure MU+<(C$#< is setup correctl! *ote/100.70211 H section D Ma;e sure to c'ec; Oracle Database &eadme 11g &elease 2 #ection 2137 - IOpen "ugsJ

<'en upgrade :( Ait'in OU(

2012 Oracle Corporation

20

Best Practice #/

Use t'e Upgrade Planner in M! Oracle #upport

2012 Oracle Corporation

21

Upgrade Planner

2012 Oracle Corporation

22

Upgrade Planner

2012 Oracle Corporation

23

Best Practice #3

Patc' !our neA KO&$C+)LMOM) be5ore !ou upgrade

2012 Oracle Corporation

2.

Patc. (et Installation 11*2*+*/

DoAnload patc' set 11121013 5rom support.oracle.com/

2012 Oracle Corporation

20

Patc. (et Installation 11*2*+*/

De5ault/ out-o5-place patc' upgrade--- (tFs a 5ull release--

If you specify an in-place patch upgrade:

2012 Oracle Corporation

26

Patc. (et Installation 11*2*+*/

Patc' set 11121013 is a 5ull release

<'ere5ore no need an!more to install 11121011 5irst--"ac;up !our /dbs and /network/admin 5iles
./run1nstaller./detach,ome.%&'()E_,%-E2<11.2.0.1-home>
$../runInstaller -detachHome ORACLE HO!E"/u#$/orahomes/$$.%.# +tartin .%racle.4niversal.1nstaller...
(heckin .swap.space:.must.be. reater.than.500.-*....'ctual.1006#.-*....7assed

Onl! Aa! to do an in-place patc' set installation

8he.inventor9.pointer.is.located.at./etc/ora1nst.loc 8he.inventor9.is.located.at./u01/orabase :0etach,ome:.was.successful.

&emo3e !our 11121011 'ome contents (nstall 11121013 into t'e pre3ious 11121011 'ome &estore /dbs and /network/admin 5iles Upgrade !our database Ait' D"U$ or catup rd.s3l 2012 Oracle Corporation

28

Reco

ended Patc.es

&ecommended Patc'es/ *ote/80639911

2012 Oracle Corporation

29

Reco

ended Patc.es

&ecommended Database Patc'es/ *ote/80668111

2012 Oracle Corporation

27

Patc. (et Update 4P(U5 Installation

(nstall P#Us

*ote/90..2911/ (ntroduction to Database Patc' #et Updates *ote/1228..311/ Patc' #et Updates GnoAn (ssues Database P#Us include/

i?es 5or critical issues t'at ma! a55ect a large number o5 customers and t'at are alread! pro3en in t'e 5ield Critical Patc' Update BCPUC 5i?es C'anges t'at reNuire re-certi5ication i?es t'at reNuire con5iguration c'anges

Database P#Us do not include/


<!picall! 20-100 neA bug 5i?es per P#U H usually cumulati3e :uaranteed to be &$C rolling installable >ill be released .? per !ear on t'e same sc'edule as CPUs
18-Oan-2012, 17-$pr-2012, 17-Oul-2012 and 18-Oct-2012 P#U c'ec;/ opatch.lsinventor9.-bu s_fi!ed.;. rep.-i.:0'8'*'+E.7+4:.

30

2012 Oracle Corporation

I portant Alerts and One6Off6 Patc.es7 C'ec; 5or important alerts/ *ote/16191911

8clic-9

2012 Oracle Corporation

31

Upgrade Infor ation : Alerts

GnoAn issues in 1112101?P #ee *ote/99089211

8clic-9

2012 Oracle Corporation

32

Upgrade Infor ation : Alerts

GnoAn issues in 11121013P #ee *ote/13.933611

2012 Oracle Corporation

33

Reco
4

ended O( patc.es

O( Installation and &onfiguration #ee *ote/16780611

2012 Oracle Corporation

3.

Best Practice #;

Preser3e per5ormance statistics

2012 Oracle Corporation

30

Preparation 6 !esting

<est t'e upgrade itsel5


unctional testing H does t'e upgrade complete success5ull!P Per5ormance testing H 'oA long Aill t'e upgrade ta;eP unctional testing >ill !our applications run correctl!P Per5ormance testing :at'er per5ormance data be5ore !ou upgrade <ime important Nueries, reports, and batc' Qobs <une !our init1ora parameters, O# parameters Use real li5e loads &eal $pplication <esting #%+ Per5ormance $nal!@er Database &epla!

<est Post-Upgrade Per5ormance

2012 Oracle Corporation

36

Preparation < Perfor ance

Collecting su55icient per5ormance data prior to t'e upgrade is o5 3ital importance


#u55icient means/ #tarting at least 31 da!s be5ore t'e upgrade :at'er accurate per5ormance statistics 5rom production (n Oracle 9i=7i/ Use #<$<#P$CG

)?port t'e P)& #<$< user rig't be5ore t'e upgrade *ote/.6630011 #<$<#P$CG be5ore=a5ter upgrade

(n Oracle 10g=11g/ Use $>&


<a;e snaps'ots e3er! 30-60 minutes H retention/ R30 da!s )?tract t'e $>& Ait'/ +<)=.>?/rdbms/admin/awre!t.s3l
SR or 1011 onl! use/.0*-+_+@&A_1B8E&B').EC8&'(8_'@&

Use $>& D( reports to compare be5ore & a5ter upgrade per5ormance/ 0*-+_@%&D)%'0_&E7%+18%&E.'@&_01AA_&E7%&8_,8-) Managing Optimi@er=C"O stats during upgrade/ *ote/.6089811
38

2012 Oracle Corporation

Best Practice #=

Pre-upgrade #anit! operations

2012 Oracle Corporation

39

(anit> Operations$ In?alid Ob@ects


$lAa!s c'ec; 5or (*T$+(D obQects select.uni3ue.%*FE(8_B'-EG.%*FE(8_8E7EG. +<)=.


%@BE&.from.0*'_%*FE(8+.where. +8'84+2:1BH')10:I i? all (*T$+(D obQects B1#OR1 t'e upgrade=migration

<'ere s'ould be no in3alid obQects in #,# and #,#<)M user sc'ema

&ecompile in3alid obQects Ait' utlr&.s'l be5ore t'e upgrade

2012 Oracle Corporation

37

(anit> Operations$ Duplicate Ob@ects


$lAa!s c'ec; 5or DUP+(C$<) obQects in #,#=#,#<)M select.%*FE(8_B'-EG.%*FE(8_8E7E.from. +<)=.


0*'_%*FE(8+.where.%*FE(8_B'-E;;%*FE(8_8E7E. in.Jselect.%*FE(8_B'-E;;%*FE(8_8E7E.from. 0*'_%*FE(8+.where.%@BE&2:+E+:K.and. %@BE&2:+E+8E-:.and.%*FE(8_B'-E.not.in. J:'<$_+(,E04)E+_7&1-'&E:G.:'<$_+(,E04)E+:G. :0*-+_&E7('8_'48,:KI.

i? DUP+(C$<) obQects in #,#=#,#<)M B1#OR1 upgrade *ote/1030.2616 MoA to Clean Up Duplicate ObQects OAned b! #,# and #,#<)M #c'ema

2012 Oracle Corporation

.0

(anit> Operations$ In?alid &o ponents


$lAa!s c'ec; 5or *O* T$+(D components/ +<)=.select.substrJ(%-7_10G.1G10K.compidG.

substrJ(%-7_B'-EG1G26K.compnameG.+8'84+G. HE&+1%B.from.0*'_&EL1+8&E.where. +8'84+M=:H')10:I

<r! to 5i? all *O* T$+(D components B1#OR1 t'e upgrade

(5 recompilation Ait' utlrp1sNl does not correct component status 5urt'er diagnosis mig't be reNuired/

*ote/.8273811 (n5ormation On (nstalled Database Components *ote/8030.111 MoA to diagnose Components Ait' *O* T$+(D status

2012 Oracle Corporation

.1

(anit> Operations

(5 upgrading 5rom 10g or 11g, purge t'e rec!clebin


()L* &urge D+A REC,CLE+I-.

2012 Oracle Corporation

.2

Best Practice #,

$lAa!s run t'e pre-upgrade script/ Upgrade to Oracle Database 1112 / utlu$$%/.s'l

2012 Oracle Corporation

.3

Pre6Upgrade &.ec

&un utlu112i.s3l in !our current en3ironment


%racle.0atabase.11.2.7re-4p rade.1nformation.8ool....09-21-2009.22:"":20.... .... ............................................................................ . NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN...... .... 0atabase:................................................................... .... NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN...... .... --=.name:..........%&()..................................................... .... --=.version:.......10.2.0.".0............................................... .... --=.compatible:....10.2.0.".0............................................... .... --=.blocksiOe:.....8192..................................................... .... --=.platform:......)inu!.1'.J"2-bitK........................................ .... --=.timeOone.file:.H6 . P..Q NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN...... .... 4pdate.7arameters:.P4pdate.%racle.0atabase.11.2.init.ora.or.spfileQ......... .... NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN...... .... @'&B1BL:.--=.RSava_pool_siOeR.needs.to.be.increased.to.at.least.T6.-*

2012 Oracle Corporation P..Q

..

&o

and Aine Upgrade


utlunm/.s'l

%et t.e current ?ersion of

Do'nload "ote$ BB3;22*1

2012 Oracle Corporation

.0

Best Practice #B

&emo3e IoldI parameters, underscores and e3ents 5rom !our init1ora=sp5ile

)?amples/

/n/t.ora0
M...=

al1a2s sem/ 3o/n"o44 unnest sub'uer2"4alse


M...=

o&t/m/5er 4eatures enable"6.#.$


M...=

e7ent " 8$##9$ trace name conte:t 4ore7er; le7el $#8


M...=

2012 Oracle Corporation

.6

(anit> Operations < Real Corld

Upgrade o5 O&D(M component onl! 5rom 7121019 to 11121 <'ese underscore parameters and e3ents Aere set/
_comple!_view_mer in .2.A')+E. _multi_Soin_ke9_table_lookupU2.A')+E. _librar9_cache_adviceU2.A')+E. _inde!_Soin_enabledU2.A')+E. _push_Soin_union_viewU2.A')+E. _push_Soin_predicateU2.A')+E. _alwa9s_semi_SoinU2.%AA. _pred_move_aroundU2.A')+E. _unnest_sub3uer9U2.A')+E. _predicate_elimination_enabled.2.A')+E. _eliminate_common_sube!pr.2.A')+E. _no_or_e!pansionU2.A')+E. event.2.:T00.trace.name.s9stemstate.level.10:. event.2.:T00.trace.name.errorstack.level.10:. event.2.:962.trace.name.errorstack.level.10:. event.2.:56.trace.name.s9stemstate.level.10:. event.2.:56.trace.name.errorstack.level.10:. event.2.:#665.trace.name.s9stemstate.level.10:. event.2.:#665.trace.name.errorstack.level.10:. event.2.:10195.trace.name.conte!t.foreverG.level.1:. event.2.:10##8.trace.name.conte!t.foreverG.level.1V

Upgrade ti e$ 3D inutes
Unset underscores and e3ents

Upgrade ti e$ , inutesEE

2012 Oracle Corporation

.8

Best Practice #D

+ea3e COMP$<("+) at t'e original 3alue 5or a Aee; be5ore c'anging to 11121

2012 Oracle Corporation

.9

Para eter &O)PA!IBA1


COMP$<("+) 'as to be at least 101110 5or an 11g database *o Aa! bac; once 111110 'as been enabled

#upported release doAngrade to 10111010, 10121012, 11111016 las'bac; database to 10121012 *o AL<ER DA<A+A(E RE(E< CO!PA<I+ILI<, command an!more CO!PA<I+LE " $#.#/$/%.#

CO!PA<I+LE " $$.#.#

2012 Oracle Corporation

.7

Para eter &O)PA!IBA1


D"U$ raises (%-7'81*)E onl! 5or 7i databases <o enable neA 5eatures a5ter t'e upgrade/

11.2 /

()L* alter s2stem set com&at/ble"=$$.%.#= sco&e"s&4/le.

$5terAards/ restart t'e database *eA 5eatures Aill be enabled Data5ile 'eaders Aill be adQusted &edolog5iles Aill be adQusted during 5irst access

2012 Oracle Corporation

00

Best Practice #1+

<est !our 5allbac; strateg!-

2012 Oracle Corporation

01

#allbac- (trateg>

(n an! case/ <a;e a bac;up--Ma;e sure !our 5allbac; strateg! co3ers bot' cases/
Problems encountered during t'e upgrade Problems 5ound da!s, Aee;s after t'e upgrade

(5 an!t'ing un5oreseen 'appens and !ou 'a3e to step bac;, Aill !ou be alloAed to lose data
Bi1e1 c'anges done to t'e data in t'e s!stem a5ter t'e upgradeC/

,es or *oP

(5 ,)#/ restore a bac;up, 5las'bac; Bsince 10gC (5 *O/ e?port=import, doAngrade, Oracle #treams, Oracle :olden :ate

2012 Oracle Corporation

02

Best Practice #11

$5ter t'e upgrade 111

2012 Oracle Corporation

03

Post Upgrade

Create s!stem statistics during a regular Aor;load period ot'erAise non-appropriate 3alues 5or t'e C"O Aill be used/
()L* e:ec D+!( (<A<(.GA<HER (,(<E! (<A<(G=start=H. ... < gat.er statistics '.ile running a t>pical 'or-load ()L* e:ec D+!( (<A<(.GA<HER (,(<E! (<A<(G=sto&=H. ()L* select &name -A!E; &7al$ >ALUE; &7al% I-?O 4rom au: stats@.
-A!E >ALUE I-?O -------------------- ---------- -----------------------------(<A<U( CO!PLE<ED D(<AR< #A-#B-%##6 $%0B# D(<OP #C-#B-%##6 $%0B# ?LAG( $ CPU(PEED-D $B6%.B6 IO(EEE<I! F.A#C IO<?R(PEED %CC6AC.9#C ...

2012 Oracle Corporation

0.

Post Upgrade

)?ample/ customer O+<P Aor;load


&untime Ait'out s!stem statistics/ 2/17' &untime Ait' s!stem statistics/ 2/08' SR 7U 5aster

2012 Oracle Corporation

00

Post Upgrade

Create 5i?ed table statistics

Directl! a5ter catup rd.s3l 'as been completed <'is Aill speed up processing 5or recompilation Ait' utlrp.s3l +<)=.e!ec.0*-+_+8'8+.L'8,E&_A1CE0_%*FE(8+_+8'8+I

Create 5i?ed table statistics again a5ter a Aee; Ait' regular production Aor;load <'is tas; s'ould be done onl! a 5eA times per !ear

2012 Oracle Corporation

06

Post Upgrade 6 (P#IA1

$lAa!s create an editable init1ora 5rom t'e current #P (+) a5ter t'e upgrade 'as been 5inis'ed Pre3ents reArite in case o5 setting Arong parameters or 5orced edit Geep in mind/

<'e #P (+) is binar! 5ile--- DonDt edit it-- De5ault since Oracle 710 (t simpl! Aill e?ist a5ter using D"U$ or D"C$
+<)=.create.pfile2:/tmp/init0*.ora:.from. spfileI.
<< Now e it init.ora wit! any e itor ""

+<)=.startup.force.pfile2/tmp/init0*.ora +<)=.create.spfile.from.pfile.

Parameter can be c'anged b!/ +<)=.alter.s9stem.set.7'&'-E8E&2H')4E.scope2bothI


08

2012 Oracle Corporation

Agenda
"est Practices $% #ummar!

2012 Oracle Corporation

09

Aifeti e (upport Polic>


toda!

R2

#an$ary 2&(,

#an$ary 2&(-

A$g$+t 2&(2

A$g$+t 2&(,

R2

#$%y 2&(& #$%y 2&((

#$%y 2&(*

#an$ary 2&&)

#an$ary 2&(2

Sustaining Support

Premier Support
R2

Extended Support
#$%y 2&(&

#$%y 2&&' #$%y 2&&-

t
2++2 2++/ 2++3 2++; 2++= 2++, 2++B 2++D 2+1+ 2+11 2+12 2+1/ 2+13 2+1; 2+1= 2+1, 2+1B
07

2012 Oracle Corporation

Upgrade to Oracle Database 11g Release 2


!.3." %.2.0.#

R2
%.2.0." #.0.$

#.1.!."

R2

10.1.0.

%.0.1."

R2
2012 Oracle Corporation

10.2.0.2
.E/0ty. arrow+ /ean1 no +0ecific 0atc! re%ea+e re2$ire

60

#AF$ Ho' long 'ill t.e upgrade ta-e7

2012 Oracle Corporation

61

Upgrade Aengt.

MoA long Aill t'e upgrade ta;e to completeP (ndependent o5/


#i@e o5 t'e database Used data t!pes <'e number o5 installed components and options Talid and non-stale data dictionar! statistics *umber o5 s!non!ms H t'e!Dll get recompiled Bupgrade 5rom 7 iC *umber o5 obQects in VD" $t a 3er! loA rate, i5 (%-7'81*)E is increased/ *umber o5 data5iles #i@e o5 redo logs

Dependent mainl! on/


2012 Oracle Corporation

62

1Ga ple$ Database Upgrade !i e

Usuall! betAeen W30 and W70 minutes


Dependent mainl! on installed options and components X$ctual times ma! 3ar!Y
(omponent.......................,,:--:++. %racle.+erver...................00:1T:1#. F+erver.F'H'.Hirtual.-achine....00:05:19. %racle.@orkspace.-ana er........00:01:01. %racle.Enterprise.-ana er.......00:10:1". %racle.C0D......................00:00:68. %racle.8e!t.....................00:00:58. %racle.C-).0atabase.............00:06:09. %racle.0atabase.Fava.7acka es...00:00:"". %racle.-ultimedia...............00:0#:6". %racle.E!pression.Ailter........00:00:18. %racle.&ule.-ana er.............00:00:12. Latherin .+tatistics............00:06:5".
......

<otal U&grade </me0 ##0C%0B$ .................. ................................


2012 Oracle Corporation

63

Upgrade Aengt.

#peed up !our upgrade per5ormance b!/

Possibl! sAitc' o55 arc'i3ing


Ma;e sure t'is Aill compl! Ait' !our business rules Do *O< do t'is i5 !ou are using #tandb! Database or :olden :ate-

Creating dictionar! statistics t'e nig't be5ore t'e upgrade Oracle 7i/

+<)=.e!ec.0*-+_+8'8+.L'8,E&_+(,E-'_+8'8+J:+E+WG
......options.2=.:L'8,E&:Gestimate_percent.2= ......0*-+_+8'8+.'48%_+'-7)E_+1XEG.method_opt.2=.:A%& ......')).(%)4-B+.+1XE.'48%:G.cascade.2=.8&4EKI ..........34e aware1 E5EC67E co//an oe+ not a%%ow %ine 8rea9+::;

Oracle 10g=11g/

+<)=.e!ec.0*-+_+8'8+.L'8,E&_01(81%B'&E_+8'8+I

2012 Oracle Corporation

6.

#AF$ C.ic. )et.od (.ould I Use7


UP:&$D)
)?port=(mport * C<$#, COP, #ta! on same O#P ,

* #%+ $ppl!

DoAntime R30minP

Oracle #treams <ransportable <ablespaces


O& $ C+

D"U$ C+(
) re c om men d

<ransportable Database Oracle :olden :ate

+<)=.>catup rd
ed

2012 Oracle Corporation

60

C.en to &.oose t.e DBUA


Can a55ord 30 H 70 minutes a3erage doAntime Operating s!stem remains t'e same :U( is pre5erred o3er manual command line inter5ace

$utomaticall! per5orms use5ul pre-upgrade c'ec;s +ess error-prone = less manual e55ort

)?isting database is at least 7121019 *ote/ especiall! use5ul 5or &$C databases Consideration/

#ource and target Oracle Momes must be on t'e same s!stem Cannot be re-run i5 an error is encountered mid-upgrade

2012 Oracle Corporation

66

C.en to &.oose &o


and6Aine

()L* s&ool u&grade.log ()L* Icatu&grd.s'l

Can a55ord 30-70 minutes a3erage doAntime Manual command-line inter5ace is pre5erred o3er :U( )?isting database is at least 7121019 Migrating to a neA 'ardAare plat5orm Ait' same O# Consideration

Cannot upgrade to a s!stem Ait' a di55erent operating s!stem arc'itecture More manual steps reNuired Potential 5or errors due to t!pos, missed details

2012 Oracle Corporation

68

C.en to &.oose an Alternati?e )et.od met'ods include $lternati3e


Original e?p=imp or Data Pump e?pdp=impdpC Oracle #treams or Oracle :olden :ate Data :uard B#%+ $ppl!C <ransportable <ablespaces, <ansportable Database Mo3ing data 3ia C&)$<) <$"+) $# #)+)C< or ot'er tec'niNues Mo3ing to a di55erent operating s!stem plat5orm B32- and 6.-bit 3ersions o5 an O# are considered Jt'e same plat5ormZ in t'is case Upgrading 5rom a release older t'an 7121019 Minimal doAntime B[30 minutesC reNuired or desired &e-organi@ing database storage or sc'emas

$lternati3e met'ods must be used A'en

$lternati3e met'ods ma! be a good option A'en


2012 Oracle Corporation

69

Agenda
"est Practices $% #ummar!

2012 Oracle Corporation

67

(u

ar>

Preparation and planning are t'e! ;e!s to a success5ul upgrade <'e D"U$ is t'e recommended met'od 5or simplicit! and ease-o5-use <a;e ad3antage o5 t'e Oracle Database Upgrade $d3isor and Database Upgrade Planner Ma3e a 5allbac; strateg! and test it Oracle Database 11g &elease 2 is a stable release Ait' lots o5 great 5eatures, so go 5or it-

2012 Oracle Corporation

80

2012 Oracle Corporation

81

Vous aimerez peut-être aussi