SlideShare a Scribd company logo
Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna
12c Pluggable databases
© 2013TechEvent 27 April 2013 2
Agenda
 Introduction
 Features
 What isolation level
 Upgrade capabilities
 Q/A
Trivadis
Tech-Event
27 April 2013
Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna
Introduction
© 2013TechEvent 27 April 2013 4
Introduction
 Pluggable Databases (PDBs) is new feature in
Oracle Database 12c that introduce a notion of
container database (CDB)
 One container (CDB) to handle multiple PDBs:
 Dedicate instance
 Several instances in RAC mode
© 2013TechEvent 27 April 2013 5
Introduction
 More efficient in resource consumption, scalability and
manageability by consolidating many PDBs onto a single
platform
 Single CDB will support 250 pluggable databases (more is
licensed)
© 2013TechEvent 27 April 2013 6
Introduction
Resource Manager is
extended with new
PDB capabilities
A new CDB Resource Manager
Plan control how CPU is
distributed between PDBs thus
instance caging is no more
required
© 2013
Introduction
Oracle says, 6 times less hardware resources and 5 times
more scalable
TechEvent 27 April 2013 7
Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna
Features
© 2013TechEvent 27 April 2013 9
Features
 Split Data Dictionary
 CDB “root” dictionary
 Each PDB have its own private dictionary
 Fully backwards compatible with an ordinary pre-
12.1 database
 Compatible RAC, each instance will opens CDB as
a whole
 PDBs are fully compatible with all database options
 Resource manager is extended for PDBs
© 2013TechEvent 27 April 2013 10
Features
 Unplug and Plug to move databases:
 to new platform or release
 to exchange databases between environments
 to enhance high availability
 Management thought a new Administrator role:
CDB Administrator
 Unique service name for PDBs
 A default service that cannot be dropped is created
 “lsnrctl status” gives the name off all opened PDBs 
 Additional services can be created
© 2013TechEvent 27 April 2013 11
Features
 Fast provisioning, patching and upgrade
 PDB cloning or provisioning from “PDB Seed” template
 Upgrade by unplugging and plugging to a higher oracle
version allow quick PDB upgrades
 Upgrading the CDB will upgrade all PDBs
 Better database administration
 RMAN Backup apply to the CDB as a whole or to
individual PDBs
 Protect the full CDB including all PDBs with data guard
Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna
What isolation level
© 2013TechEvent 27 April 2013 13
What isolation level: list PDBs
 Any users in one PDB will not see anything about the other PDB
databases on the same instance
 Select from x$con as sysdba will give the same result
From sales PDB
oracle@srv12c:~/ [CDBPRD]sqlplus system@sales
Enter password:
SQL>select name,con_id from v$pdbs;
NAME CON_ID
------------------------------ ------
SALES 3
© 2013TechEvent 27 April 2013 14
What isolation level: list PDBs
 Same filter will apply on con_id for gv$pdbs view in RAC mode.
From CDB
oracle@srv12c:~/ [CDBPRD]sqlplus system
Enter password:
SQL>select name,con_id from v$pdbs;
NAME CON_ID
------------------------------ ------
PDB$SEED 2
SALES 3
ALLRACES 4
© 2013TechEvent 27 April 2013 15
What isolation level: change PDB
Service is not changed if you change the container within your session.
oracle@srv12c:~/ [CDBPRD]sqlplus system@sales
Enter password:
SQL>select SYS_CONTEXT('userenv','service_name') from dual;
SYS_CONTEXT('USERENV','SERVICE_NAME')
---------------------------------------------------------
Sales
SQL>alter session set container=allraces;
Session altered.
SQL> select SYS_CONTEXT('userenv','service_name') from dual;
SYS_CONTEXT('USERENV','SERVICE_NAME')
---------------------------------------------------------
sales
© 2013TechEvent 27 April 2013 16
What isolation level: list sessions
From sales PDB
oracle@srv12c:~/ [CDBPRD]sqlplus system@sales
Enter password:
SQL>select username,SERVICE_NAME from v$session where username is not null;
USERNAME SERVICE_NAME
------------------------------ ----------------
SYSTEM sales
Filter on con_id apply
© 2013TechEvent 27 April 2013 17
What isolation level: list sessions
From CDB
oracle@srv12c:~/ [CDBPRD]sqlplus system
Enter password:
SQL>select username,SERVICE_NAME from v$session where username is not null;
USERNAME SERVICE_NAME
------------------------------ -----------------
SYSTEM CDBPRD
SYSTEM sales
No filter on con_id apply
© 2013TechEvent 27 April 2013 18
What isolation level: list users
 Connected to CDB, you cannot see users defined
into any PDB
 Connected to a PDB, you can see global CDB
users and local PDB users
 COMMON=NO: for local PDB users
 COMMON=YES: for global users
 Other PDB users are not displayed
 Apply even connected as sysdba
© 2013TechEvent 27 April 2013 19
What isolation level: alter user
 It’s impossible to change global CDB user password from
one PDB even connect as sysdba
From sales PDB
oracle@srv12c:~/ [CDBPRD]sqlplus sys@sales as sysdba
Enter password:
SQL> password
Changing password for SYS
Old password:
New password:
Retype new password:
ERROR:
ORA-65040: operation not allowed from within a pluggable database
Password unchanged
SQL> alter user sys identified by "xxxxxxx";
alter user sys identified by "xxxxxxx"
*
ERROR at line 1:
ORA-65066: The specified changes must apply to all containers
© 2013TechEvent 27 April 2013 20
What isolation level: alter user
 Any setting changes to a global user from a PDB is
done locally to that PDB and does not affect the
CDB and other PDBs
alter user system default tablespace users;
 Apply only to the PDB if connected to a PDB.
© 2013TechEvent 27 April 2013 21
What isolation level: list objects
 Any objects created from any users within a PDB
remains local to that PDB and is not visible and
accessible from outside that PDB
 Content of CDB tables that can be accessed from
PDB is filtered by internal mechanism using:
INTERNAL_FUNCTION("CON_ID")
© 2013TechEvent 27 April 2013 22
What isolation level: list objects
select * from v$active_session_history
Plan hash value: 2905781256
-------------------------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
-------------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | | | 3 (100)| |
| 1 | VIEW | GV$ACTIVE_SESSION_HISTORY | 9722 | 12M| 3 (100)| 00:00:01 |
| 2 | NESTED LOOPS | | 9722 | 4528K| 3 (100)| 00:00:01 |
| 3 | FIXED TABLE FULL | X$KEWASH | 9722 | 218K| 1 (100)| 00:00:01 |
|* 4 | FIXED TABLE FIXED INDEX| X$ASH (ind:1) | 1 | 454 | 0 (0)| |
-------------------------------------------------------------------------------------------------------
Predicate Information (identified by operation id):
---------------------------------------------------
4 - filter(("S"."SAMPLE_ADDR"="A"."SAMPLE_ADDR" AND "S"."SAMPLE_ID"="A"."SAMPLE_ID" AND
"S"."SAMPLE_TIME"="A"."SAMPLE_TIME" AND INTERNAL_FUNCTION("A"."CON_ID") AND
"S"."NEED_AWR_SAMPLE"="A"."NEED_AWR_SAMPLE" AND "A"."INST_ID"=USERENV('INSTANCE')))
© 2013TechEvent 27 April 2013 23
What isolation level: list objects
 Number of tables in the dictionary with the CON_ID column
 2415 internal tables where filter condition on CON_ID apply!
oracle@srv12c:~/ [CDBPRD]sqlplus / as sysdba
SQL>select count (distinct table_name) from dba_tab_columns;
COUNT(DISTINCTTABLE_NAME)
-------------------------
8487
oracle@srv12c:~/ [CDBPRD]sqlplus / as sysdba
SQL>select count (distinct table_name) from dba_tab_columns where
column_name= 'CON_ID‘;
COUNT(DISTINCTTABLE_NAME)
-------------------------
2415
© 2013TechEvent 27 April 2013 24
What isolation level: parameter settings
 Parameters setting at PDB level
Session modifiable = NO and PDB modifiable = YES
 sessions
 resource_limit
 resource_manager_plan
 O7_DICTIONARY_ACCESSIBILITY
 listener_networks
 fixed_date
 cell_offload_decryption
 open_cursors
 optimizer_secure_view_merging
 max_string_size
© 2013TechEvent 27 April 2013 25
What isolation level: cursor management
 Cursors are managed at CDB level
 If a statement from another PDB exist, a child cursor is
created.
Column con_id in v$sql has the correct value
But service column has the parent cursor value thus we
can not identify from which PDB the child was created
Luckily stats per services in V$SERVICE_STATS are OK!
 Adaptive cursor sharing apply at PDB level only as the
two DATA dictionaries are different…
© 2013TechEvent 27 April 2013 26
What isolation level: RMAN recovery
 Recovery at PDB level using RMAN is possible
 Can we do it without impacting other PDB?
 Unable to recover complete lost of PDB without impacting
the whole CDB  
 You cannot close a PDB if one datafile is missing 
 You can not restore system tablespace as it cannot be put
offline as we cannot close the PDB 
Do not lose the PDB system tablespace
© 2013TechEvent 27 April 2013 27
What isolation level: RMAN recovery
After losing system tablespace:
 I was not able to close the PDB: error!
 I was not able to do the restore online
 I had to shutdown the CDB!
 Mount the CDB
 Do the RMAN restore and recovery
 Open the CDB
 Open the PDBs
© 2013TechEvent 27 April 2013 28
What isolation level: resource management
 A CDB resource plan allocates resources to its PDBs
according to its set of resource plan directives.
 There is a parent-child relationship between a CDB resource
plan and its directives.
 Each directive references one PDB, and two directives for the
currently active plan cannot reference the same PDB.
 The directives control allocation of the following resources to
the PDBs:
 CPU
 Parallel execution servers
© 2013TechEvent 27 April 2013 29
What isolation level: resource management
Shares in a CDB Resource Plan
Use CREATE_CDB_PLAN_DIRECTIVE procedure in the
DBMS_RESOURCE_MANAGER package and specify a value
for the SHARE parameter
© 2013TechEvent 27 April 2013 30
What isolation level: resource management
Utilization Limits for PDBs
Use CREATE_CDB_PLAN_DIRECTIVE procedure and
specify a value for the utilization_limit (CPU usage from 0-100)
And parallel_server_limit from 0 to 100%
© 2013TechEvent 27 April 2013 31
What isolation level: resource management
Initial Default Directive Attributes for PDBs
 When a PDB is plugged into a CDB and no directive is defined for it,
the PDB uses the default directive for PDBs.
 To change the default directive attribute values for PDBs using the
UPDATE_CDB_DEFAULT_DIRECTIVE procedure in the
DBMS_RESOURCE_MANAGER package
© 2013TechEvent 27 April 2013 32
What isolation level: resource management
PDB Resource Plan
 To create a new PDB plan
directive use:
CREATE_PLAN_DIRECTIVE
procedure
 To change the default directive
attribute values for PDBs use:
UPDATE_PLAN_DIRECTIVE
procedure
© 2013TechEvent 27 April 2013 33
What isolation level: migrating schema to PDB
1. Create a new 12c instance as container
2. Create a new pluggable database
3. Define tnsname entry for the PDB
4. Define tnsname entry for the source DB
5. Create public database link into the PDB to source DB
6. Invoke impdp to import the schema into the PDB using
network_link option
impdp system@sales schemas=SH network_link=sales_link directory=LOG_FILE_DIR
7. Change application tnsname entry
Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna
Upgrade capabilities
© 2013TechEvent 27 April 2013 35
Upgrade capabilities: 12c upgrade new features
 Interactive upgrade capabilities
 Interactively run fixup scripts during the pre-upgrade
phase to resolve found issues
 Post-upgrade fixup scripts are generated depending on
the results of the upgrade process.
 DBUA prompts to fix critical issues that are found
 Parallel processing of the upgrade process
 Upgrade scripts and processes can run in parallel, taking
full advantage of CPU capacity and shortening the
upgrade time
© 2013TechEvent 27 April 2013 36
Upgrade capabilities: 12c upgrade new features
 DBUA can be restarted in case of upgrade fail
 Much more options for recovering from failures during
upgrade and for restarting the upgrade from the point
where the failure occurred
 Enhanced summary reports Pre & Post upgrade
 HTML reports before and after the upgrade.
 These reports include component status, and allow drill
down at component level
© 2013TechEvent 27 April 2013 37
Upgrade capabilities: pluggable databases
 Key benefits
 upgrade or apply a patch to a CDB and the operation is
implemented on all the pluggable databases within that
CDB
 Simply upgrade a PDB by moving it (unplugg/plugg)
to a higher CDB release
 You cannot upgrade a pre 12c database to become
a container
© 2013TechEvent 27 April 2013 38
Upgrade capabilities: upgrade process
DBUA11.2.x.x 12c
Degree 8
Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna
Conclusions
© 2013TechEvent 27 April 2013 40
Conclusion
 Cool features with some limitations that will be addressed in
next releases
 Good isolation level that can be enhanced with Resource
Manager new features
 DEV consolidation oriented
 New Upgrades capabilities
 Parallel processing
 Restart in case on upgrade fail
 One shot upgrade all PDBs by upgrading CDB
 Automatic upgrade of lower version plugged PDBs
Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna
Thank you very much for your attention
?

More Related Content

What's hot

DB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource ManagerDB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource Manager
Andrejs Vorobjovs
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
Yudi Herdiana
 
DOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant EnvironmentsDOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant Environments
Stefan Oehrli
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
Mohamed Farouk
 
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest TutorialMySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
Frederic Descamps
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
Anil Nair
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Sandesh Rao
 
Oracle statistics by example
Oracle statistics by exampleOracle statistics by example
Oracle statistics by example
Mauro Pagano
 
Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19
Anil Nair
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion Edition
Markus Michalewicz
 
Oracle DB 19c: SQL Tuning Using SPM
Oracle DB 19c: SQL Tuning Using SPMOracle DB 19c: SQL Tuning Using SPM
Oracle DB 19c: SQL Tuning Using SPM
Arturo Aranda
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginners
Pini Dibask
 
High Availability & Disaster Recovery on Oracle Cloud Infrastructure
High Availability & Disaster Recovery on Oracle Cloud InfrastructureHigh Availability & Disaster Recovery on Oracle Cloud Infrastructure
High Availability & Disaster Recovery on Oracle Cloud Infrastructure
SinanPetrusToma
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Markus Michalewicz
 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Markus Michalewicz
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
K Kumar Guduru
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
Jitendra Singh
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentation
Vimlendu Kumar
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
Satishbabu Gunukula
 

What's hot (20)

DB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource ManagerDB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource Manager
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
 
DOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant EnvironmentsDOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant Environments
 
Oracle Data Guard
Oracle Data GuardOracle Data Guard
Oracle Data Guard
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest TutorialMySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 
Oracle statistics by example
Oracle statistics by exampleOracle statistics by example
Oracle statistics by example
 
Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion Edition
 
Oracle DB 19c: SQL Tuning Using SPM
Oracle DB 19c: SQL Tuning Using SPMOracle DB 19c: SQL Tuning Using SPM
Oracle DB 19c: SQL Tuning Using SPM
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginners
 
High Availability & Disaster Recovery on Oracle Cloud Infrastructure
High Availability & Disaster Recovery on Oracle Cloud InfrastructureHigh Availability & Disaster Recovery on Oracle Cloud Infrastructure
High Availability & Disaster Recovery on Oracle Cloud Infrastructure
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentation
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
 

Similar to Presentation 12c pdb

Security Multitenant
Security MultitenantSecurity Multitenant
Security MultitenantArush Jain
 
Winning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantWinning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenant
Pini Dibask
 
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantRMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
Pini Dibask
 
12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All Editions12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All Editions
Franck Pachot
 
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Ludovico Caldara
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle Multitenant
Pini Dibask
 
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
Kristofferson A
 
TechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New FeaturesTechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New Features
Trivadis
 
OUGN winning performnace challenges in oracle Multitenant
OUGN   winning performnace challenges in oracle MultitenantOUGN   winning performnace challenges in oracle Multitenant
OUGN winning performnace challenges in oracle Multitenant
Pini Dibask
 
Automate DG Best Practices
Automate DG  Best PracticesAutomate DG  Best Practices
Automate DG Best Practices
Mohsen B
 
Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...
Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...
Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...
Trivadis
 
High Availability for Oracle SE2
High Availability for Oracle SE2High Availability for Oracle SE2
High Availability for Oracle SE2
Markus Flechtner
 
Intro to Environment as a Service - Cloudify 5.0.5 Webinar
Intro to Environment as a Service - Cloudify 5.0.5 WebinarIntro to Environment as a Service - Cloudify 5.0.5 Webinar
Intro to Environment as a Service - Cloudify 5.0.5 Webinar
Cloudify Community
 
Oracle Multitenant - Oracle Ankara Day 2014
Oracle Multitenant - Oracle Ankara Day 2014Oracle Multitenant - Oracle Ankara Day 2014
Oracle Multitenant - Oracle Ankara Day 2014
Mahir M. Quluzade
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databasesomnidba
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi Tenant
Red Stack Tech
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)
Gustavo Rene Antunez
 
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Markus Flechtner
 
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Markus Flechtner
 
Confoo 2021 -- MySQL New Features
Confoo 2021 -- MySQL New FeaturesConfoo 2021 -- MySQL New Features
Confoo 2021 -- MySQL New Features
Dave Stokes
 

Similar to Presentation 12c pdb (20)

Security Multitenant
Security MultitenantSecurity Multitenant
Security Multitenant
 
Winning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantWinning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenant
 
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantRMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
 
12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All Editions12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All Editions
 
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle Multitenant
 
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
 
TechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New FeaturesTechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New Features
 
OUGN winning performnace challenges in oracle Multitenant
OUGN   winning performnace challenges in oracle MultitenantOUGN   winning performnace challenges in oracle Multitenant
OUGN winning performnace challenges in oracle Multitenant
 
Automate DG Best Practices
Automate DG  Best PracticesAutomate DG  Best Practices
Automate DG Best Practices
 
Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...
Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...
Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...
 
High Availability for Oracle SE2
High Availability for Oracle SE2High Availability for Oracle SE2
High Availability for Oracle SE2
 
Intro to Environment as a Service - Cloudify 5.0.5 Webinar
Intro to Environment as a Service - Cloudify 5.0.5 WebinarIntro to Environment as a Service - Cloudify 5.0.5 Webinar
Intro to Environment as a Service - Cloudify 5.0.5 Webinar
 
Oracle Multitenant - Oracle Ankara Day 2014
Oracle Multitenant - Oracle Ankara Day 2014Oracle Multitenant - Oracle Ankara Day 2014
Oracle Multitenant - Oracle Ankara Day 2014
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databases
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi Tenant
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)
 
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
 
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
 
Confoo 2021 -- MySQL New Features
Confoo 2021 -- MySQL New FeaturesConfoo 2021 -- MySQL New Features
Confoo 2021 -- MySQL New Features
 

More from Jacques Kostic

Postgre sql vs oracle
Postgre sql vs oraclePostgre sql vs oracle
Postgre sql vs oracle
Jacques Kostic
 
Poc exadata 2018
Poc exadata 2018Poc exadata 2018
Poc exadata 2018
Jacques Kostic
 
Postgre sql best_practices
Postgre sql best_practicesPostgre sql best_practices
Postgre sql best_practices
Jacques Kostic
 
High availability microsoftvsoracle
High availability microsoftvsoracleHigh availability microsoftvsoracle
High availability microsoftvsoracle
Jacques Kostic
 
High availability Microsoft vs Oracle
High availability Microsoft vs OracleHigh availability Microsoft vs Oracle
High availability Microsoft vs Oracle
Jacques Kostic
 
Multiple awr reports_parser
Multiple awr reports_parserMultiple awr reports_parser
Multiple awr reports_parser
Jacques Kostic
 
Oracle 12c ilm_customer_experience
Oracle 12c ilm_customer_experienceOracle 12c ilm_customer_experience
Oracle 12c ilm_customer_experience
Jacques Kostic
 
In memorybtree
In memorybtreeIn memorybtree
In memorybtree
Jacques Kostic
 
Tpf oracle success_story
Tpf oracle success_storyTpf oracle success_story
Tpf oracle success_story
Jacques Kostic
 
Presentation 12c grid_upgrade
Presentation 12c grid_upgradePresentation 12c grid_upgrade
Presentation 12c grid_upgrade
Jacques Kostic
 
Poc exadata pres_doag_2015
Poc exadata pres_doag_2015Poc exadata pres_doag_2015
Poc exadata pres_doag_2015
Jacques Kostic
 
Perf tuning with-multitenant
Perf tuning with-multitenantPerf tuning with-multitenant
Perf tuning with-multitenant
Jacques Kostic
 

More from Jacques Kostic (12)

Postgre sql vs oracle
Postgre sql vs oraclePostgre sql vs oracle
Postgre sql vs oracle
 
Poc exadata 2018
Poc exadata 2018Poc exadata 2018
Poc exadata 2018
 
Postgre sql best_practices
Postgre sql best_practicesPostgre sql best_practices
Postgre sql best_practices
 
High availability microsoftvsoracle
High availability microsoftvsoracleHigh availability microsoftvsoracle
High availability microsoftvsoracle
 
High availability Microsoft vs Oracle
High availability Microsoft vs OracleHigh availability Microsoft vs Oracle
High availability Microsoft vs Oracle
 
Multiple awr reports_parser
Multiple awr reports_parserMultiple awr reports_parser
Multiple awr reports_parser
 
Oracle 12c ilm_customer_experience
Oracle 12c ilm_customer_experienceOracle 12c ilm_customer_experience
Oracle 12c ilm_customer_experience
 
In memorybtree
In memorybtreeIn memorybtree
In memorybtree
 
Tpf oracle success_story
Tpf oracle success_storyTpf oracle success_story
Tpf oracle success_story
 
Presentation 12c grid_upgrade
Presentation 12c grid_upgradePresentation 12c grid_upgrade
Presentation 12c grid_upgrade
 
Poc exadata pres_doag_2015
Poc exadata pres_doag_2015Poc exadata pres_doag_2015
Poc exadata pres_doag_2015
 
Perf tuning with-multitenant
Perf tuning with-multitenantPerf tuning with-multitenant
Perf tuning with-multitenant
 

Recently uploaded

DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 

Recently uploaded (20)

DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 

Presentation 12c pdb

  • 1. Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna 12c Pluggable databases
  • 2. © 2013TechEvent 27 April 2013 2 Agenda  Introduction  Features  What isolation level  Upgrade capabilities  Q/A Trivadis Tech-Event 27 April 2013
  • 3. Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna Introduction
  • 4. © 2013TechEvent 27 April 2013 4 Introduction  Pluggable Databases (PDBs) is new feature in Oracle Database 12c that introduce a notion of container database (CDB)  One container (CDB) to handle multiple PDBs:  Dedicate instance  Several instances in RAC mode
  • 5. © 2013TechEvent 27 April 2013 5 Introduction  More efficient in resource consumption, scalability and manageability by consolidating many PDBs onto a single platform  Single CDB will support 250 pluggable databases (more is licensed)
  • 6. © 2013TechEvent 27 April 2013 6 Introduction Resource Manager is extended with new PDB capabilities A new CDB Resource Manager Plan control how CPU is distributed between PDBs thus instance caging is no more required
  • 7. © 2013 Introduction Oracle says, 6 times less hardware resources and 5 times more scalable TechEvent 27 April 2013 7
  • 8. Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna Features
  • 9. © 2013TechEvent 27 April 2013 9 Features  Split Data Dictionary  CDB “root” dictionary  Each PDB have its own private dictionary  Fully backwards compatible with an ordinary pre- 12.1 database  Compatible RAC, each instance will opens CDB as a whole  PDBs are fully compatible with all database options  Resource manager is extended for PDBs
  • 10. © 2013TechEvent 27 April 2013 10 Features  Unplug and Plug to move databases:  to new platform or release  to exchange databases between environments  to enhance high availability  Management thought a new Administrator role: CDB Administrator  Unique service name for PDBs  A default service that cannot be dropped is created  “lsnrctl status” gives the name off all opened PDBs   Additional services can be created
  • 11. © 2013TechEvent 27 April 2013 11 Features  Fast provisioning, patching and upgrade  PDB cloning or provisioning from “PDB Seed” template  Upgrade by unplugging and plugging to a higher oracle version allow quick PDB upgrades  Upgrading the CDB will upgrade all PDBs  Better database administration  RMAN Backup apply to the CDB as a whole or to individual PDBs  Protect the full CDB including all PDBs with data guard
  • 12. Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna What isolation level
  • 13. © 2013TechEvent 27 April 2013 13 What isolation level: list PDBs  Any users in one PDB will not see anything about the other PDB databases on the same instance  Select from x$con as sysdba will give the same result From sales PDB oracle@srv12c:~/ [CDBPRD]sqlplus system@sales Enter password: SQL>select name,con_id from v$pdbs; NAME CON_ID ------------------------------ ------ SALES 3
  • 14. © 2013TechEvent 27 April 2013 14 What isolation level: list PDBs  Same filter will apply on con_id for gv$pdbs view in RAC mode. From CDB oracle@srv12c:~/ [CDBPRD]sqlplus system Enter password: SQL>select name,con_id from v$pdbs; NAME CON_ID ------------------------------ ------ PDB$SEED 2 SALES 3 ALLRACES 4
  • 15. © 2013TechEvent 27 April 2013 15 What isolation level: change PDB Service is not changed if you change the container within your session. oracle@srv12c:~/ [CDBPRD]sqlplus system@sales Enter password: SQL>select SYS_CONTEXT('userenv','service_name') from dual; SYS_CONTEXT('USERENV','SERVICE_NAME') --------------------------------------------------------- Sales SQL>alter session set container=allraces; Session altered. SQL> select SYS_CONTEXT('userenv','service_name') from dual; SYS_CONTEXT('USERENV','SERVICE_NAME') --------------------------------------------------------- sales
  • 16. © 2013TechEvent 27 April 2013 16 What isolation level: list sessions From sales PDB oracle@srv12c:~/ [CDBPRD]sqlplus system@sales Enter password: SQL>select username,SERVICE_NAME from v$session where username is not null; USERNAME SERVICE_NAME ------------------------------ ---------------- SYSTEM sales Filter on con_id apply
  • 17. © 2013TechEvent 27 April 2013 17 What isolation level: list sessions From CDB oracle@srv12c:~/ [CDBPRD]sqlplus system Enter password: SQL>select username,SERVICE_NAME from v$session where username is not null; USERNAME SERVICE_NAME ------------------------------ ----------------- SYSTEM CDBPRD SYSTEM sales No filter on con_id apply
  • 18. © 2013TechEvent 27 April 2013 18 What isolation level: list users  Connected to CDB, you cannot see users defined into any PDB  Connected to a PDB, you can see global CDB users and local PDB users  COMMON=NO: for local PDB users  COMMON=YES: for global users  Other PDB users are not displayed  Apply even connected as sysdba
  • 19. © 2013TechEvent 27 April 2013 19 What isolation level: alter user  It’s impossible to change global CDB user password from one PDB even connect as sysdba From sales PDB oracle@srv12c:~/ [CDBPRD]sqlplus sys@sales as sysdba Enter password: SQL> password Changing password for SYS Old password: New password: Retype new password: ERROR: ORA-65040: operation not allowed from within a pluggable database Password unchanged SQL> alter user sys identified by "xxxxxxx"; alter user sys identified by "xxxxxxx" * ERROR at line 1: ORA-65066: The specified changes must apply to all containers
  • 20. © 2013TechEvent 27 April 2013 20 What isolation level: alter user  Any setting changes to a global user from a PDB is done locally to that PDB and does not affect the CDB and other PDBs alter user system default tablespace users;  Apply only to the PDB if connected to a PDB.
  • 21. © 2013TechEvent 27 April 2013 21 What isolation level: list objects  Any objects created from any users within a PDB remains local to that PDB and is not visible and accessible from outside that PDB  Content of CDB tables that can be accessed from PDB is filtered by internal mechanism using: INTERNAL_FUNCTION("CON_ID")
  • 22. © 2013TechEvent 27 April 2013 22 What isolation level: list objects select * from v$active_session_history Plan hash value: 2905781256 ------------------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | ------------------------------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | | | 3 (100)| | | 1 | VIEW | GV$ACTIVE_SESSION_HISTORY | 9722 | 12M| 3 (100)| 00:00:01 | | 2 | NESTED LOOPS | | 9722 | 4528K| 3 (100)| 00:00:01 | | 3 | FIXED TABLE FULL | X$KEWASH | 9722 | 218K| 1 (100)| 00:00:01 | |* 4 | FIXED TABLE FIXED INDEX| X$ASH (ind:1) | 1 | 454 | 0 (0)| | ------------------------------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 4 - filter(("S"."SAMPLE_ADDR"="A"."SAMPLE_ADDR" AND "S"."SAMPLE_ID"="A"."SAMPLE_ID" AND "S"."SAMPLE_TIME"="A"."SAMPLE_TIME" AND INTERNAL_FUNCTION("A"."CON_ID") AND "S"."NEED_AWR_SAMPLE"="A"."NEED_AWR_SAMPLE" AND "A"."INST_ID"=USERENV('INSTANCE')))
  • 23. © 2013TechEvent 27 April 2013 23 What isolation level: list objects  Number of tables in the dictionary with the CON_ID column  2415 internal tables where filter condition on CON_ID apply! oracle@srv12c:~/ [CDBPRD]sqlplus / as sysdba SQL>select count (distinct table_name) from dba_tab_columns; COUNT(DISTINCTTABLE_NAME) ------------------------- 8487 oracle@srv12c:~/ [CDBPRD]sqlplus / as sysdba SQL>select count (distinct table_name) from dba_tab_columns where column_name= 'CON_ID‘; COUNT(DISTINCTTABLE_NAME) ------------------------- 2415
  • 24. © 2013TechEvent 27 April 2013 24 What isolation level: parameter settings  Parameters setting at PDB level Session modifiable = NO and PDB modifiable = YES  sessions  resource_limit  resource_manager_plan  O7_DICTIONARY_ACCESSIBILITY  listener_networks  fixed_date  cell_offload_decryption  open_cursors  optimizer_secure_view_merging  max_string_size
  • 25. © 2013TechEvent 27 April 2013 25 What isolation level: cursor management  Cursors are managed at CDB level  If a statement from another PDB exist, a child cursor is created. Column con_id in v$sql has the correct value But service column has the parent cursor value thus we can not identify from which PDB the child was created Luckily stats per services in V$SERVICE_STATS are OK!  Adaptive cursor sharing apply at PDB level only as the two DATA dictionaries are different…
  • 26. © 2013TechEvent 27 April 2013 26 What isolation level: RMAN recovery  Recovery at PDB level using RMAN is possible  Can we do it without impacting other PDB?  Unable to recover complete lost of PDB without impacting the whole CDB    You cannot close a PDB if one datafile is missing   You can not restore system tablespace as it cannot be put offline as we cannot close the PDB  Do not lose the PDB system tablespace
  • 27. © 2013TechEvent 27 April 2013 27 What isolation level: RMAN recovery After losing system tablespace:  I was not able to close the PDB: error!  I was not able to do the restore online  I had to shutdown the CDB!  Mount the CDB  Do the RMAN restore and recovery  Open the CDB  Open the PDBs
  • 28. © 2013TechEvent 27 April 2013 28 What isolation level: resource management  A CDB resource plan allocates resources to its PDBs according to its set of resource plan directives.  There is a parent-child relationship between a CDB resource plan and its directives.  Each directive references one PDB, and two directives for the currently active plan cannot reference the same PDB.  The directives control allocation of the following resources to the PDBs:  CPU  Parallel execution servers
  • 29. © 2013TechEvent 27 April 2013 29 What isolation level: resource management Shares in a CDB Resource Plan Use CREATE_CDB_PLAN_DIRECTIVE procedure in the DBMS_RESOURCE_MANAGER package and specify a value for the SHARE parameter
  • 30. © 2013TechEvent 27 April 2013 30 What isolation level: resource management Utilization Limits for PDBs Use CREATE_CDB_PLAN_DIRECTIVE procedure and specify a value for the utilization_limit (CPU usage from 0-100) And parallel_server_limit from 0 to 100%
  • 31. © 2013TechEvent 27 April 2013 31 What isolation level: resource management Initial Default Directive Attributes for PDBs  When a PDB is plugged into a CDB and no directive is defined for it, the PDB uses the default directive for PDBs.  To change the default directive attribute values for PDBs using the UPDATE_CDB_DEFAULT_DIRECTIVE procedure in the DBMS_RESOURCE_MANAGER package
  • 32. © 2013TechEvent 27 April 2013 32 What isolation level: resource management PDB Resource Plan  To create a new PDB plan directive use: CREATE_PLAN_DIRECTIVE procedure  To change the default directive attribute values for PDBs use: UPDATE_PLAN_DIRECTIVE procedure
  • 33. © 2013TechEvent 27 April 2013 33 What isolation level: migrating schema to PDB 1. Create a new 12c instance as container 2. Create a new pluggable database 3. Define tnsname entry for the PDB 4. Define tnsname entry for the source DB 5. Create public database link into the PDB to source DB 6. Invoke impdp to import the schema into the PDB using network_link option impdp system@sales schemas=SH network_link=sales_link directory=LOG_FILE_DIR 7. Change application tnsname entry
  • 34. Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna Upgrade capabilities
  • 35. © 2013TechEvent 27 April 2013 35 Upgrade capabilities: 12c upgrade new features  Interactive upgrade capabilities  Interactively run fixup scripts during the pre-upgrade phase to resolve found issues  Post-upgrade fixup scripts are generated depending on the results of the upgrade process.  DBUA prompts to fix critical issues that are found  Parallel processing of the upgrade process  Upgrade scripts and processes can run in parallel, taking full advantage of CPU capacity and shortening the upgrade time
  • 36. © 2013TechEvent 27 April 2013 36 Upgrade capabilities: 12c upgrade new features  DBUA can be restarted in case of upgrade fail  Much more options for recovering from failures during upgrade and for restarting the upgrade from the point where the failure occurred  Enhanced summary reports Pre & Post upgrade  HTML reports before and after the upgrade.  These reports include component status, and allow drill down at component level
  • 37. © 2013TechEvent 27 April 2013 37 Upgrade capabilities: pluggable databases  Key benefits  upgrade or apply a patch to a CDB and the operation is implemented on all the pluggable databases within that CDB  Simply upgrade a PDB by moving it (unplugg/plugg) to a higher CDB release  You cannot upgrade a pre 12c database to become a container
  • 38. © 2013TechEvent 27 April 2013 38 Upgrade capabilities: upgrade process DBUA11.2.x.x 12c Degree 8
  • 39. Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna Conclusions
  • 40. © 2013TechEvent 27 April 2013 40 Conclusion  Cool features with some limitations that will be addressed in next releases  Good isolation level that can be enhanced with Resource Manager new features  DEV consolidation oriented  New Upgrades capabilities  Parallel processing  Restart in case on upgrade fail  One shot upgrade all PDBs by upgrading CDB  Automatic upgrade of lower version plugged PDBs
  • 41. Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna Thank you very much for your attention ?