Вы находитесь на странице: 1из 22

<Insert Picture Here>

11g

Oracle
igor.melnikov@oracle.com

OTN Upgrade Page


http://www.oracle.com/technology/products/database/oracle11g/upgrade/index.html


$ORACLE_HOME


Note169706.1 Oracle Database on Unix Operating
Systems Installation and Configuration Requirements
Quick Reference:

Note 309939.1 Oracle Database Statement of Support for


Windows Server 2003 with Service Pack 1 and Higher

Pre-Upgrade script
pre-upgrade script (utlu112i.sql)
Oracle Database 11.2 Pre-Upgrade Information Tool

09-21-2009 22:33:20

**********************************************************************
Database:
**********************************************************************
--> name:

ORCL

--> version:

10.2.0.3.0

--> compatible:

10.2.0.3.0

--> blocksize:

8192

--> platform:

Linux IA (32-bit)

--> timezone file: V4

[..]
**********************************************************************
Update Parameters: [Update Oracle Database 11.2 init.ora or spfile]
**********************************************************************
WARNING: --> "java_pool_size" needs to be increased to at least 64 MB
[..]

Pre-Upgrade script

pre-upgrade script:

Note:884522.1


,
event
init.ora/spfile

init.ora:
<...>

_always_semi_join=off
_unnest_subquery=false
<...>

optimizer_features_enable=9.0.1
<...>

event = "10061 trace name context forever, level 10"


<...>



-
:

:

,

COMPATIBLE

COMPATIBLE


(downgrade)
11.1.0
ALTER DATABASE RESET COMPATIBILITY

COMPATIBLE = 10.0/1/2.0

COMPATIBLE = 11.0.0

COMPATIBLE

Downgrade(catdwgrd.sql)
COMPATIBLE :

10.1.0.5
10.2.0.3/4

DBUA COMPATIBLE 9i

Fallback Strategy

:

:
?

:

flashback database ( 10g)
:
export/import,
Downgrade

Backup

-
:


read-only

SYSTEM, TEMP, UNDO SYSAUX
/online-


SYSTEM, TEMP, UNDO, SYSAUX, controlfile,
redologs


read-write

Flashback Database

/,
, COMPATIBLE

10.2
GUARANTEED RESTORE POINT

SQL> CREATE RESTORE POINT grpt GUARANTEE FLASHBACK DATABASE;


SQL> FLASHBACK DATABASE TO RESTORE POINT grpt;

Post Upgrade

CBO
(

/) :

SQL> exec DBMS_STATS.GATHER_SYSTEM_STATS('start');


...

SQL> exec DBMS_STATS.GATHER_SYSTEM_STATS('stop');

Post Upgrade

OLTP :
: 2:19
: 2:07
=> 9%


!

!
(!!!) !
!
!


upgrade!

!

, !!!

Upgrade to Oracle Database 11g Release 2


9.2.0.8

7.3.4

R2
9.2.0.4
8.0.6

R2

8.1.7.4

10.1.0.5

10.2.0.2

9.0.1.4

R2

?
UPGRADE
Export/Import
Y

CTAS, COPY
N

Downtime >30min?

SQL Apply
Y
Oracle Streams

DBUA
Transportable Tablespaces

Transportable Database
Oracle Golden Gate

CLI
SQL> @catupgrd


,

Oracle Database



,
Oracle

... :-)

<Insert Picture Here>


Oracle

Email: Igor.Melnikov@oracle.com
Phone: +7 (495) 641 14 00
Direct:
+7 (495) 641 14 42
Mobile: +7 (915) 205 26 27

Вам также может понравиться