Professional Documents
Culture Documents
Pluggable Databases
ADO and Heat Map and Automatic Data Optimization Online Datafile Move
Storage
In-Database Archiving and Temporal Validity Temporal History
HA RMAN
2-2 Copyright 2013, Oracle and/or its affiliates. All rights reserved.
Objectives
2-3 Copyright 2013, Oracle and/or its affiliates. All rights reserved.
Challenges
2-4 Copyright 2013, Oracle and/or its affiliates. All rights reserved.
Pre-12c
Instance
System Global Area
Server
Process Structures
Instance
Database
2-5 Copyright 2013, Oracle and/or its affiliates. All rights reserved.
12c
2-6 Copyright 2013, Oracle and/or its affiliates. All rights reserved.
Other Benefits of Multitenant Architecture
2-8 Copyright 2013, Oracle and/or its affiliates. All rights reserved.
Configurations
RAC Services
Instance
hr sale acct
PDB I1 I2 I3
Services
CDB
Instance
Multitenant
container Multitenant Container
database Database CDB
Datafiles Control files Redo Log files
Single DB shares:
Background
processes root
Shared/process
Datafiles Datafiles Datafiles
memory
Oracle metadata
Application1 SALES HR
After the initial database creation, the only objects are Oracle-
supplied objects.
OBJ$ TAB$ SOURCE$
PDB
root
Four methods:
Create new PDB from PDB$SEED pluggable database.
Plug in a non-CDB.
Clone a PDB from another PDB into the same or another
CDB.
Plug an unplugged PDB into another CDB.
root
Multitenant
container
database Data files Control files Redo Log files
UNDO
SYSTEM
Table SYS.OBJ$
Non-shared local metadata NAME TYPE
EMPLOYEES 2
JOBS 2
Table
Non-shared application data with other PDBs HR.EMPLOYEES
EMP_NAME
SMITH
PDB RM plan JOHN
root PDB_SALES
View CDB_USERS View DBA_USERS
USERNAME COMMON USERNAME COMMON Tablespace
EXAMPLE
SYS YES SYS YES
SYSTEM YES SYSTEM YES
Table
C##DBA YES C##DBA YES
SALES.COUNTRIES
C##HR YES Tablespace C##HR YES
EXAMPLE
SALES NO
TAB$ 2 NAME
INSERT
CLU$ 2 Metadata linked stores metadata about dictionary
AUDIT_ACTIONS 2
objects only in root.
Each PDB has a private data copy pointing to a
metadata linked object stored in root.
PDB_HR Datafiles
An object link and its data resides in root only
Tablespace and is shared by all PDBs.
Tablespace SYSTEM
EXAMPLE Example: the list of audit actions is in
Table SYS.TAB$ AUDIT_ACTIONS table in root, thereby making
Table
NAME TYPE
AUDIT_ACTIONS accessible in each separate
HR.REGIONS REGIONS 2 container.
AUDIT_ACTIONS 2
A local object contains private data that resides in
the PDB where it is created.