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

<Insert Picture Here>

Oracle
Database 11g R2

Oracle CIS



<Insert Picture Here>



Oracle Database 11g R2





Oracle Database 11g R2

Oracle Database

R2

January 2015

August 2015

August 2012

July 2010 July 2011

R2

January 2018

July 2013

January 2012

January 2009

Sustaining Support

Premier Support

Extended Support

July 2007 July 2008

R2

July 2010

t
2018

2017

2016

2015

2014

2013

2012

2011

2010

2009

2008

2007

2006

2005

2004

2003

2002
4

http://www.oracle.com/support/library/brochure/lifetime-support-technology.pdf
4


Lifetime Support Policy
http://www.oracle.com/support/library/brochure/lifetimesupport-technology.pdf





Oracle Database 11g R2

11g R2 .
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


: Note:756671.1

Patch Set 11.2.0.2


Out-of-place
!
If you specify an in-place patch upgrade from 11.2.0.1 to 11.2.0.2:

2011 Oracle Corporation

11

Patch Set Update (PSU)


PSU
Note:854428.1: Introduction to Database Patch Set Updates
Note:1227443.1: Patch Set Updates Known Issues
PSU :

Critical Patch Update (CPU)

PSU :

PSU 25-100

RAC rolling upgrade
4 c CPU:
17 , 19 , 19 17

2011 Oracle Corporation

12

Oracle Database 11.2


PATCH SET (
11.2)
ORACLE_HOME
Patch Set Update (PSU)
bundled-
(BP)
one-off

!!!
2011 Oracle Corporation

13


11.2.0.2
Note:1179474.1

Timezone:
/
DST-? (DST: Daylight Savings Time)

2007 .
7 2011 .
!
TIMESTAMP WITH TIME ZONE

DST-,
TIMESTAMP
WITH TIME ZONE

. Note:977512.1
DBMS_DST
(1) DBMS_DST.BEGIN_PREPARE(<tz-version>)
DBMS_DST.FIND_AFFECTED_TABLES
DBMS_DST.END_PREPARE
=> select * from DST$AFFECTED_TABLES;
(2) DBMS_DST.BEGIN_UPGRADE
DBMS_DST.UPGRADE_DATABASE
DBMS_DST.END_UPGRADE

Timezone:

. 1335999.1 Russia abandons DST in 2011


. Note:964664.1

Upgrade Companion 11g


Note:785351.1 Upgrade Companion 11g



Upgrade Guide

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

Note:837570.1
Complete Checklist for Manual Upgrades to 11gR2

Note: 421191.1

Complete checklist for manual upgrades from X to Y

OTN
http://www.oracle.com/technology/products/database/oracle11g/upgr
ade/index.html

OTN Upgrade Forum


http://forums.oracle.com/forums/forum.jspa?forumID=583&start
=0

21

: blogs.oracle.com/UPGRADE

2010 Oracle Corporation

22





Oracle Database 11g R1

23

CONNECT
CONNECT 10gR2:
GRANTEE
----------------------CONNECT
CONNECT
CONNECT
CONNECT
CONNECT
CONNECT
CONNECT
CONNECT

R2

PRIVILEGE
------------------CREATE VIEW
CREATE TABLE
ALTER SESSION
CREATE CLUSTER
CREATE SESSION
CREATE SYNONYM
CREATE SEQUENCE
CREATE DATABASE LINK

GRANTEE
PRIVILEGE
----------------------- ------------------CONNECT
CREATE SESSION

CONNECT
, :
SELECT grantee
FROM dba_role_privs
WHERE granted_role = 'CONNECT' and
grantee NOT IN ('SYS', 'OUTLN', 'SYSTEM',
'CTXSYS', 'DBSNMP',
'LOGSTDBY_ADMINISTRATOR',
'ORDSYS', 'ORDPLUGINS',
'OEM_MONITOR', 'WKSYS',
'WKPROXY', 'WK_TEST',
'WKUSER', 'MDSYS',
'LBACSYS', 'DMSYS', 'WMSYS',
'EXFSYS', 'SYSMAN',
'MDDATA', 'XDB', 'ODM',
'SI_INFORMTN_SCHEMA');

GROUP BY:
- Group By

ORDER BY
select sum(sal), deptno from scott.emp group by deptno;
SUM(SAL)
DEPTNO
---------- ---------8750
10
10875
20
9400
30

SUM(SAL)
DEPTNO
---------- --------9400
30
10875
20
8750
10

. Note:345048.1
_gby_hash_aggregation_enabled=false

2011 Oracle Corporation

26

INVALID
INVALID
SQL> SELECT UNIQUE object_name, object_type, owner
FROM dba_objects WHERE status='INVALID';
SYS SYSTEM
utlrp.sql


11.1.0.7
registry$sys_inv_objs, registry$nonsys_inv_objs => utluiobj.sql

:
batch-



!
27


(dictionary)
( 9i)
XDB
, COMPATIBLE :

redo-

2010 Oracle Corporation

29


:
SYS.AUD$
SQL> truncate SYS.AUD$;

(archivelog)

2010 Oracle Corporation

30


,

SQL> EXECUTE dbms_stats.gather_schema_stats
('SYS',
options
=> 'GATHER',
estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE,
method_opt
=> 'FOR ALL COLUMNS SIZE AUTO',
cascade

=>

TRUE);

:
Oracle Database Upgrade Guide Appendix B

SQL> EXECUTE dbms_stats.gather_dictionary_stats;


10gR2 11gR1,
:
SQL> purge DBA_RECYCLEBIN;

32

PLAN_TABLE
SYS.PLAN_TABLE$
SYS.PLAN_TABLE
. Note:782735.1 Notes: 605317.1 736353.1
"Oracle Server"
INVALID
DBMS_SQLPA
:
@catplan.sql plan_table
@dbmsxpln.sql dbms_xplan
@prvtxpln.plb dbms_xplan
@prvtspao.plb dbms_sqlpa

34





Oracle Database 11g R2

35


?
OTN:
http://otn.oracle.com/software/index.html

edelivery
http://edelivery.oracle.com/

36


DVD:
Database

Enterprise Edition
Standard Edition
Standard Edition One
Personal Edition (Windows)

Client
Grid Infrastructure (Clusterware + ASM)

: Examples ( ompanion CD)

38

Required Products
Oracle Globalization Support Demos
Oracle Multimedia Demos
Oracle Precompiler Demos
Oracle Spatial Demos
Oracle SQLJ Demos
Oracle XML Demos
Oracle JDBC Development Drivers
Oracle Text Knowledge Base

11g Release 2

2009 Oracle Corporation

39

11g Release 2

2009 Oracle Corporation

40

11g Release 2

2009 Oracle Corporation

41

11g Release 2

2009 Oracle Corporation

42

11g Release 2

2009 Oracle Corporation

43

11g Release 2

2009 Oracle Corporation

44

11g Release 2

2009 Oracle Corporation

45

11g Release 2

2009 Oracle Corporation

46


Oracle 11g R2:
11gR2 doc installation guide
http://download.oracle.com/docs/cd/B28359_01/install.111/b32002/install_overvi
ew.htm#BABEGJFD

47


:
:
Note.465465.1
Differences Between Enterprise, Standard and Personal Editions on Oracle 11.2

Oracle Database Licensing Information


11g Release 2 (11.2)
Part Number B28287-01

http://download.oracle.com/docs/cd/E11882_01/license.112/e10594/toc.htm

48

Oracle Database Client


Oracle Client - Note: 207303.1
Database Release
11.2.0 11.1.0 10.2.0 10.1.0 9.2.0

C
l
i
e
n
t

11.2.0
11.1.0
10.2.0
10.1.0
9.2.0
9.0.1
8.1.7

x
x
x
x
x

x
x
x
x
x

x
x
x
x
x

x
x
x
x

x
x
2009 Oracle Corporation

x
x
x
x
x
x
x

9.0.1

8.1.7

x
x
x
x

x
x
x
x
x

x , ES

49

50

<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

52