You are on page 1of 66

Upcoming: Oracle Database 12cR1 New Features

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Oracle Advisor Webcast Program

Current schedule
Archived recordings
Doc ID 740966.1

Upcoming: Oracle Database 12cR1 New Features

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

AGENDA
Presentation approximately 45 minutes
Q&A Session approximately 15 minutes
Web attendees can ask questions via Q&A panel
Phone attendees can ask questions via Q&A panel or

phone (operator assisted)

Upcoming: Oracle Database 12cR1 New Features

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

ATTENTION AUDIO Options


You can
either listen the audio broadcast on your computer
or join teleconference (dial in)

Upcoming: Oracle Database 12cR1 New Features

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Voice Streaming Audio Broadcast

Listen only mode


Advantage: no need to dial in
What about Questions?
Type your questions into WebEx Q&A panel
If you prefer full audio access in order to ask
questions directly, please connect to our
teleconference
Connect details you will find at next slide
Upcoming: Oracle Database 12cR1 New Features

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

ATTENTION AUDIO INFORMATION


Teleconference Connect details:
1. Conference ID: 58919249
2. International dial in: +44 (0) 1452 562 665
3. US Free call: 1866 230 1938
4. List with national toll free numbers is available in
note 1148600.1
You can view this info anytime during the conference using
Communicate > Teleconference > Join Teleconference
from your WebEx menu
Upcoming: Oracle Database 12cR1 New Features

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Oracle Advisor Webcast


Oracle Database 12cR1 New Features
Alyaa Omar
Principal Support Engineer

AGENDA
Presentation approximately 45 minutes
Q&A Session approximately 15 minutes
Web attendees can ask questions via Q&A panel only
Phone attendees can ask questions via Q&A panel or phone (operator

assisted)

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Oracle Advisor Webcast Program

Current schedule
Archived recordings
Doc ID 740966.1

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

AUDIO INFO Join Teleconference

10

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Q&A panel

3
Send your question
2

Ask: ALL PANELLIST leave default!


1

11

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

type your question here

your question pop-up here

12

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Safe Harbor Statement


The following is intended to outline our general product
direction. It is intended for information purposes only, and
may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality,
and should not be relied upon in making purchasing decision.
The development, release, and timing of any features or
functionality described for Oracles products remains at the
sole discretion of Oracle.

13

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Oracle Advisor Webcast


Oracle Database 12cR1 New Features
Alyaa Omar
Principal Support Engineer

Objectives
Oracle Database 12c

Database New Features


Benefits of these features
Usage of these features

15

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Agenda
Presentation approximately 45 minutes
Q&A Session approximately 15 minutes

16

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

12C Database New Features


1. Multitenant Environment
a. CDB & PDBs Backup and Recovery
b. CDB & PDBs Resource Plan
2. Replacement of CSSCAN and CSALTER with DMU
3. New Job Types

17

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

12C Database New Features (cont.)


4. Enhanced Operations
a. Online DDL Capabilities
b. Invisible Columns
c. Lock timeout for finish_redef_table
d. Move a datafile Online
e. Multiple Indexes on Same set of Columns

18

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

12C Database New Features (cont.)


5. Performance Enhancements
a. Enterprise Manager Database Express
b. Spot ADDM
6. Enhanced Upgrade Automation and Parallel Upgrade

19

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

<Insert Picture Here>

Multitenant Environment

20

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Overview of Multitenant Environment


(CDBs & PDBs)

21

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Container Database (CDB)


The container DB (CDB) consists of:

Root (CDB$ROOT)
Seed (PDB$SEED)
PDB

22

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Pluggable Database (PDB)


The Pluggable DB (PDB) consists of:
Schemas and tablespaces
Views of Data dictionary
Global synonyms, users, and roles

23

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Backup and Recovery for CDB &


PDB
A whole CDB
The CDB root
A single or multiple PDB

24

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Backup and Recovery Examples


BACKUP DATABASE;
BACKUP DATABASE ROOT;
BACKUP PLUGGABLE DATABASE sales, hr;
RESTORE DATABASE;
RESTORE DATABASE ROOT;
RESTORE PLUGGABLE DATABASE 'pdb$seed', sales, hr;
RECOVER DATABASE;
RECOVER DATABASE ROOT;
RECOVER PLUGGABLE DATABASE 'pdb$seed', sales, hr;

25

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

CDB and PDB Resource Plans


In a CDB, manage resources on:
CDB level
PDB level

Resource Manager allocates the resources in two steps:


Portion of the system's resources
Portion of the portion

26

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

CDB Resource Plan


Resources controlled by directives in CDB:
CPU
Parallel execution servers

27

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

CDB Resource Plan (cont.)

28

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Demonstration

29

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

PDB Resource Plan


The directives control allocation of the following resources to the PDBs:
CPU
Parallel execution servers
Active Session Pool with Queuing

Undo Pool
Idle time limit

30

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

PDB Resource Plan (cont.)

31

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Demonstration

32

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

<Insert Picture Here>

Replacement of CSSCAN
and CSALTER with DMU

33

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

CSSCAN and CSALTER Desupport


CSSCAN and CSALTER utilities are removed from the database

installation and have been desupported.


DMU is now the supported method for migration to the Unicode

character set.
http://www.oracle.com/technetwork/database/databasetechnologies/globalization/dmu/learnmore/start-334681.html

34

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

<Insert Picture Here>

New Job Types

35

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

New Job Types


New script jobs introduced in 12C are:
SQL Script Jobs
External Script Jobs
Backup Script Jobs

36

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Demonstration

37

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

<Insert Picture Here>

Enhanced Operations

38

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Enhanced Operations
1. Enhanced Online DDL Operations
DROP INDEX ONLINE
DROP CONSTRAINT ONLINE
SET UNUSED COLUMN ONLINE
ALTER INDEX UNUSABLE ONLINE
ALTER INDEX [VISIBLE | INVISIBLE]

2. Invisible Columns

39

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Enhanced Operations (cont.)


3. Lock Timeout for FINISH_REDEF_TABLE
DBMS_REDEFINITION.FINISH_REDEF_TABLE (
uname IN VARCHAR2,
orig_table IN VARCHAR2,
int_table IN VARCHAR2,
part_name IN VARCHAR2 := NULL,
dml_lock_timeout IN PLS_INTEGER := NULL,
continue_after_errors IN BOOLEAN :=
FALSE);

40

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Enhanced Operations (cont.)


4. Move datafile online
Rename:

ALTER DATABASE MOVE DATAFILE '/u01/oracle/rbdb1/user1.dbf'


TO '/u01/oracle/rbdb1/user01.dbf';
Relocate:

ALTER DATABASE MOVE DATAFILE '/u01/oracle/rbdb1/user1.dbf'


TO '/u02/oracle/rbdb1/user1.dbf';
Copy:

ALTER DATABASE MOVE DATAFILE '/u01/oracle/rbdb1/user1.dbf'


TO '/u02/oracle/rbdb1/user1.dbf' KEEP;

41

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Enhanced Operations (cont.)


4. Move datafile online
Overwrite:

ALTER DATABASE MOVE DATAFILE '/u01/oracle/rbdb1/user1.dbf' TO


'/u02/oracle/rbdb1/user1.dbf' REUSE;
Relocate to ASM:

ALTER DATABASE MOVE DATAFILE '/u01/oracle/rbdb1/user1.dbf' TO


'+dgroup_01/data/orcl/datafile/user1.dbf';

42

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Enhanced Operations (cont.)


5. Multiple Indexes on Same Set of Columns
B-tree versus bitmap

Different partitioning
Unique versus nonunique

43

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

<Insert Picture Here>

Performance
Enhancements

44

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Performance Enhancements
Enterprise Manager Database Express
Web based tool
Ships with Oracle Database
The EM Express basically replaces EM database control

45

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Demonstration

46

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Performance Enhancements (cont.)


Spot ADDM
Real Time Automatic Database Monitor (ADDM)

Triggered when following issues are encountered:


High Load
I/O bound
CPU bound
Over allocated memory

47

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Session Limit
Process Limit
Hung session
Deadlock detected

<Insert Picture Here>

Enhanced Upgrade
Automation and Parallel
Upgrade

48

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Upgrade Automation
Modifications to pre-upgrade script (preupgrd.sql)

Pre-upgrade fix-up script


Post-Upgrade status report
Post-Upgrade fix-up script

49

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Sample Output

50

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Parallel Upgrade
Parallel Upgrade Utility (catctl.pl)
The catctl.pl Parallel Upgrade Utility is integrated with DBUA.
Can also run it from command line e.g.
cd $ORACLE_HOME/rdbms/admin
$ORACLE_HOME/perl/bin/perl catctl.pl -n 4 l
$ORACLE_HOME/diagnostics catupgrd.sql

51

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Summary
What we covered today
Overview of 12C New Features
Benefits of these New Features
Demonstrated Usage

52

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Questions & Answers

53

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Q&A panel

3
Send your question
2

Ask: ALL PANELLIST leave default!


1

54

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

type your question here

Further Info & Help

55

Generic Advisor Webcast Note (Doc ID 740966.1)


Database Advisor Webcast (Doc ID 1456176.1)
DB Newsletter (Doc ID 1284265.1)
MOS Community Database Administration

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Oracle Advisor Webcast Program

Current schedule
Archived recordings
Doc ID 740966.1

56

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

select your product:


e.g.
Oracle Database

Schedule

57

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Archives

58

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Learn More
Available References and Resources to Get Proactive

About Oracle Support Best Practices


www.oracle.com/goto/proactivesupport

Get Proactive in My Oracle Support


https://support. oracle.com | Doc ID: 432.1
Get Proactive Blog
https://blogs.oracle.com/getproactive/
Ask the Get Proactive Team
get-proactive_ww@oracle.com

59

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

60

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

61

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Top Articles and Community Links


EM Express:
EM Express FAQ: Doc Id 1575988.1
How to Remove 12c EM Express: Doc Id
1601370.1
TROUBLESHOOTING Why EM Express
is not Working Doc Id 1604062.1
EM Express 12c Database Administration
Page FAQ Doc ID 1601454.1

62

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Top Articles and Community Links (cont.)


Resource Manager:

Managing and Monitoring Runaway


Query Using Resource Manager (Doc ID
1600965.1)
Assistant: Get Assistance to Understand
and Solve Oracle Resource Manager
(Doc ID 1606825.2)

63

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Top Articles and Community Links (cont.)


SQL:
Invisible Columns (Doc ID 1566790.1)
12C New Feature : Creating Multiple
Indexes on the Same Set of Columns
(Doc ID 1600398.1)
12C New Feature : Move a Datafile
Online (Doc ID 1566797.1)
12c depreciated parameters and views
(Doc ID 1529765.1)
64

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

THANK YOU

65

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

66

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

You might also like