SlideShare a Scribd company logo
1 of 63
Download to read offline
Database Consolidation using Oracle Multitenant
Pini Dibask, Product Manager for Database Solutions
October 1st, 2017
Confidential2
• Pini Dibask, Product Manager, Database Monitoring Solutions (Quest)
• Based in Israel
• Oracle DBA since 2006 (started with version 9i)
• Oracle Certified Professional DBA (OCP)
• Public Speaker: Oracle OpenWorld, IOUG Collaborate, DOAG, OUGN, AOUG
• Blogger: OracleDBPro.BlogSpot.com
Pini.Dibask@Quest.com
http://Linkedin.com/in/pinidibask
@pini_dibask
About Me
Confidential3
• Quest is now an independent company again!
• Simplifies IT management
• #1 independent software company for Database Tools
• Driven by innovation
“Spend less time on what you need to do, and more time on what you want to do!”
• Committed to providing great products and superior support
About
Confidential4
• Introduction to Database Consolidation
• Oracle Multitenant Concepts
• Ensuring QoS in Multitenant Environments
• RAC and Multitenant
• Performance Monitoring for Multitenant Environments
Agenda
Introduction to Database Consolidation
Confidential6
Server Consolidation
 Multiple databases reside on a single server
Database Consolidation - Prior to Oracle 12c
Confidential7
Database Consolidation
 Single database with multiple schemas
Database Consolidation - Prior to Oracle 12c (Cont’d)
Confidential8
 Name Collisions
 Same schema name or same public synonym name
 Security
 DBA can access data of both applications
 Upgrades
 You cannot patch/upgrade only one schema
 Point-In-Time Recovery
 Impossible to perform schema level point-in-time recovery
Database Consolidation with Schema Separation - Challenges
Multitenant Architecture
Confidential10
 Pluggable Database
 Self-contained Oracle database
 Root Container
 Oracle-supplied metadata
Oracle 12c – Multitenant Architecture
Confidential11
 One SGA
 One set of background processes
 One root container
 Multiple pluggable databases
 Up to 252 PDBs (12cR1)
 Up to 4096 PDBs (12cR2)
Oracle 12c – Multitenant Architecture
Only on Oracle
Cloud and
Oracle Exadata
Confidential12
 Pluggable Databases share the following files:
 Undo Tablespace
 Redo Logs
 Control Files
 (S)Pfile
Oracle 12c – Multitenant Architecture (Cont’d)
Local undo
introduced in
12cR2
Confidential13
Multitenant Architecture - Containers
s
CON_ID Description
0 Entire CDB/Non-CDB
1 Root container
2 Seed container
3-4098 User PDBs
Created by default -
Used as a template PDB
for cloning
Confidential14
Data Guard
 Data Guard operates at CDB-Level
 Maintenance at CDB-Level = Reduced DBA efforts
Manage Many as One
Confidential15
RMAN - Granular Backup & Restore Options
 Backup entire CDB at once or at PDB level
 Recover entire container at once or at PDB level
Multitenant Advantages - Manage Many as One
s
s
Confidential16
Moving PDB from one container to another is straightforward
Multitenant Advantages - Unplug/Plug
s
Confidential17
 Clone PDB from another PDB within the same CDB
 Requires source PDB to be OPEN READ ONLY (12cR1)
Multitenant Advantages - Fast Cloning
s
Hot Clone is
available in
12cR2
Confidential18
 Clone PDB from another PDB in remote CDB
 Requires source PDB to be OPEN READ ONLY (12cR1)
Multitenant Advantages - Fast Cloning
Hot Clone is
available in
12cR2
s
Confidential19
 Refreshable PDB – Allows refreshing contents of a cloned PDB
 Step 1 – takes a full clone. Doesn’t require any downtime due to hot clone feature
 Step 2 - refresh by applying redo logs (either on-demand or automatically scheduled)
 Refreshable PDB should be in a read-only mode
Multitenant Advantages - Easy Replication (12c Release 2)
s
Confidential20
Upgrades
 Upgrade or apply a patch at CDB-Level
https://blogs.oracle.com/UPGRADE/entry/upgrade_pdbs_everything_at_once1
 Unplug/plug PDB into another container database
https://blogs.oracle.com/UPGRADE/entry/upgrade_pdbs_one_at_a
Multitenant Advantages - Manage Many as One
Confidential21
CDB Level vs. PDB-Level
CDB-Level
• Oracle Software
• SGA
• Background Processes
• Data Guard
• Some Parameters
(IsPDB_Modifiable= 'FALSE')
• Control Files, Redo
• (S)Pfile, Password File
PDB-Level
• Point In-Time Recovery
• Some Parameters
(IsPDB_Modifiable= 'TRUE')
• Undo Tablespace (12cR2)
• Character Set (12cR2)
• Flashback Database (12cR2)
Confidential22
Non-CDB
• Same as before 12c
Oracle 12c – Deployment Options
DB CDB$ROOT CDB$ROOT
PDB1 PDB1 PDB2 PDB252
Single Tenant
• No additional license
• Available in SE/SE1/SE2
• One active PDB
Multitenant
• Option on top of Enterprise Edition
• Supports up to 4096 active PDBs
…
Confidential23
Why use Single Tenant instead of Non-CDB?
 Unplug/Plug
 Fast Cloning
 but most importantly …
(source: Oracle 12c Release 2 Documentation)
Oracle 12c – Deployment Options (Cont’d)
Confidential24
Oracle 12c – DBCA
Non-CDB Single Tenant / Multitenant
Ensuring High Level of QoS
with Multitenant Environments
Confidential26
 PDB-Level QoS challenge
 Allocation of resources among competing sessions
 Example: One session consumes too many resources
 CDB-Level QoS challenge
 Allocation of resources among competing PDBs
 Example: One PDB consumes too many resources
QoS Challenges – Multitenant Environments
Confidential27
Resource Manager Elements
 Resource Plan
 Resource Plan Directive
 Consumer Group
Oracle Resource Manager - The Basics (Pre 12c)
Resource Plan
“WEEKEND”
Directive 1
70% of CPU
Directive 2
20% of CPU
Directive 3
10% of CPU
Consumer Group
“WAREHOUSE”
Consumer Group
“OLTP”
Consumer Group
“OTHERS_GROUPS”
Confidential28
 PDB-Level Resource Plan
 Specifies how resources are allocated to consumer groups
 Prioritize resources between competing sessions
 CDB-Level Resource Plan
 Specifies how resources are allocated to PDBs
 Prioritize resources between competing PDBs
The Solution - Oracle Resource Manager
Confidential29
Oracle Resource Manager - 12c Multitenant
CDB Resource Plan Directive
 CPU Shares
 CPU Utilization Limit
Example:
Pluggable
Database
CPU
Shares
Guaranteed
CPU
CPU Limit
OLTP 3 3/4 = 75% 100%
DWH 1 1/4 = 25% 60%
CPU_COUNT
parameter is
available in Oracle
12c Release 2
Confidential30
Oracle Resource Manager - 12c Multitenant
 Obtain information about default CDB resource plan
 Obtain information about default PDB directive
s
s
Confidential31
Example of CDB-Level Resource Plan
Resource Plan
“Daytime_CDB_PLAN”
PDB
“OLTP”
PDB
“DWH”
Directive 2
Guaranteed CPU: 25%
Maximum CPU: 60%
Directive 1
Guaranteed CPU: 75%
Maximum CPU: 100%
Pluggable
Database
CPU
Shares
Guaranteed
CPU
CPU Limit
OLTP 3 3/4 = 75% 100%
DWH 1 1/4 = 25% 60%
Confidential32
s
Creating CDB Resource Plan
Pluggable
Database
CPU
Shares
Guaranteed
CPU
CPU
Limit
OLTP 3 3/4 = 75% 100%
DWH 1 1/4 = 25% 60%
Confidential33
s
Creating CDB Resource Plan (Cont’d)
Confidential34
Enabling/Disabling CDB Resource Plan
 Manually enabling resource plan
 Manually disabling resource plan
s
s
Confidential35
Enabling/Disabling CDB Resource Plan (Cont’d)
s
Automatically Enable/Disable CDB Resource Plan
Confidential36
PDB Level Memory Resource Management
 Not available in 12c Release 1
 12c Release 2 - Memory parameters can be set at PDB level
 SGA_TARGET
 DB_CACHE_SIZE
 DB_SHARED_POOL_SIZE
 PGA_AGGREGATE_LIMIT
 PGA_AGGREGATE_TARGET
 SGA_MIN_SIZE
New in 12c
Release 2
Confidential37
PDB Level I/O Resource Management
 Not available in 12c Release 1
 12c Release 2 Introduced the following new parameters:
 MAX_IOPS - limits number of I/O operations per second
 MAX_MBPS - limits megabytes for I/O operations per second
 Default : 0 (no limit)
 If Oracle waits due to I/O limit “resmgr: I/O rate limit” wait event will appear
 Cannot be set in a Non CDB
Confidential38
How Many Resources Actually Being Used by PDBs?
 Option #1 - DBA_HIST_RSRC_PDB_METRIC
 Displays historical resource manager metrics by PDB
 Option #2 - AWR_ROOT_RSRC_PDB_METRIC (underlying AWR table)
 Option #3 - AWR Reports
Confidential39
Maintenance Tasks in Oracle Multitenant
 ENABLE_AUTOMATIC_MAINTENANCE_PDB parameter
 Can be used to enable/disable running of maintenance tasks
 Default: true
 Can be set at either CDB or PDB levels
 AUTOTASK_MAX_ACTIVE_PDBS parameter
 Maximum number of PDBs that can schedule maintenance tasks concurrently
 Default: 2 (two PDBs and the CDB root can run tasks at the same time)
 Can be set at CDB level only
 Both parameters introduced in 12c Release 2
RAC & Multitenant
Confidential41
 Single Instance & Multitenant challenges
 Not Scalable = Limited Consolidation Solution
 Instance Down Downtime for all PDBs
 RAC makes Multitenant better
 Scalable = True consolidation solution
 Available = Instance Down  PDBs continue running on other nodes
Why RAC & Multitenant?
Confidential42
 Multitenant fully supports RAC
 PDBs can be opened on specific instances
RAC & Multitenant
s
Confidential43
PDBs workload distributed across RAC instances
RAC & Multitenant
Services
Single SGA per
CDB Instance
Node1
CDB Instance 1
Node2
CDB Instance 2
Multitenant Container Database (CDB)
Confidential44
PDBs workload distributed across RAC instances
RAC & Multitenant
Services
Single SGA per
CDB Instance
Node1
CDB Instance 1
Node2
CDB Instance 2
Node3
CDB Instance 3
Multitenant Container Database (CDB)
Confidential45
RAC & Multitenant
s
Preferred Instance Available Instance
Confidential46
RAC & Multitenant
s
PDB opened only in
Preferred instance
PDB automatically starts in
the other instance
Shutting down the
preferred instance
Performance Monitoring for
Multitenant Environments
Confidential48
 Snapshots taken only at CDB-Level
 AWR data reside in cdb$root container
Multitenant & AWR – Oracle 12c Release 1
Confidential49
Multitenant & AWR – Oracle 12c Release 1 (Cont’d)
s
Confidential50
 AWR reports are available only at CDB level
 AWR Management Operations only at CDB level
 AWR data retention
 Snapshot schedule
 Taking manual snapshots
 Purging snapshot data
 Unplugged PDB does not contain AWR information
Multitenant & AWR – Oracle 12c Release 1 (Cont’d)
Confidential51
Multitenant & AWR – Oracle 12c Release 1 (Cont’d)
Confidential52
 Snapshots can be taken either at CDB or PDB level
 Snapshot data reside in SYSAUX tablespace of each PDB
 It is possible to create a report at PDB-level AWR report
 AWR management operations at either CDB or PDB level
 New Parameter : AWR_PDB_AUTOFLUSH_ENABLED
 Specifies whether to enable automatic AWR snapshots for PDBs
 Default : false (automatic AWR snapshots are disabled for PDBs)
 Can be set at CDB or PDB level
Multitenant & AWR – Oracle 12c Release 2
Confidential53
Multitenant & AWR – Oracle 12c Release 2 (Cont’d)
Confidential54
Workload Analysis using OEM ASH Analytics
Only with
Enterprise Edition +
Diagnostics Pack
Confidential55
Workload Analysis using Foglight for Oracle
Confidential56
Workload Analysis using Foglight for Oracle
Confidential57
Workload Analysis using Foglight for Oracle
Confidential58
 Introduction to the Multitenant: Architecture (Documentation)
http://docs.oracle.com/database/122/CNCPT/introduction-to-the-multitenant-architecture.htm#CNCPT89234
 Oracle Multitenant (White Paper)
http://www.oracle.com/technetwork/database/multitenant-wp-12c-1949736.pdf
 Oracle Multitenant: New Features in Oracle Database 12c Release 12 (White Paper)
http://www.oracle.com/technetwork/database/multitenant/overview/multitenant-wp-12c-2078248.pdf
 Mike Dietrich Blog
https://blogs.oracle.com/UPGRADE/
Note: All diagrams and illustrations are used by permission of Oracle
References
Q&A
• Are you being asked to evaluate or move mission-critical business operations to Cloud-
based solutions?
• Join #IOUGCloudJourney to understand what the Cloud means for your organization and
your career.
• Throughout the next year we will provide videos, webinars, user stories and other
resources to help make this transition a smooth one for you and your organization.
• Learn how to adapt your processes to optimize Cloud usage and plan for future engagements or
expansion.
• Use our 12-18 month skill set roadmap to prepare for your job today, and your career tomorrow.
Visit www.ioug.org/journey-to-the-cloud to get started - no login required
Save the Date
COLLABORATE 18 registration will open on Wednesday, November 8.
Call for Speakers
Submit your session presentation! The Call for Speakers is open until Friday,
October 20
collaborate.ioug.org
Got Lunch Plans Today?
Learn about User Groups in your area, hear Lightning Talks
and get some Pizza from 11:30-3:30
Registration Required:
http://ora.cl/pO1yL
(that’s a little p, big O, one, little y, big L)
Thank You!

More Related Content

What's hot

IOUG Collaborate 18 - ASM Concepts, Architecture and Best Practices
IOUG Collaborate 18 - ASM Concepts, Architecture and Best PracticesIOUG Collaborate 18 - ASM Concepts, Architecture and Best Practices
IOUG Collaborate 18 - ASM Concepts, Architecture and Best PracticesPini Dibask
 
RMOUG 18 - Oracle Database Locking Mechanism Demystified
RMOUG 18 - Oracle Database Locking Mechanism DemystifiedRMOUG 18 - Oracle Database Locking Mechanism Demystified
RMOUG 18 - Oracle Database Locking Mechanism DemystifiedPini Dibask
 
Winning performance challenges in oracle standard editions
Winning performance challenges in oracle standard editionsWinning performance challenges in oracle standard editions
Winning performance challenges in oracle standard editionsPini Dibask
 
Winning performance challenges in oracle standard editions
Winning performance challenges in oracle standard editionsWinning performance challenges in oracle standard editions
Winning performance challenges in oracle standard editionsPini Dibask
 
How DBAs can garner the power of the Oracle Public Cloud?
How DBAs can garner the  power of the Oracle Public  Cloud?How DBAs can garner the  power of the Oracle Public  Cloud?
How DBAs can garner the power of the Oracle Public Cloud?Gustavo Rene Antunez
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantPini Dibask
 
Oracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesOracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesSatishbabu Gunukula
 
Oracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesOracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesGustavo Rene Antunez
 
Fast, Flexible Application Development with Oracle Database Cloud Service
Fast, Flexible Application Development with Oracle Database Cloud ServiceFast, Flexible Application Development with Oracle Database Cloud Service
Fast, Flexible Application Development with Oracle Database Cloud ServiceGustavo Rene Antunez
 
12 Things about Oracle WebLogic Server 12c
12 Things	 about Oracle WebLogic Server 12c12 Things	 about Oracle WebLogic Server 12c
12 Things about Oracle WebLogic Server 12cGuatemala User Group
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle MultitenantJitendra Singh
 
How many ways to monitor oracle golden gate-Collaborate 14
How many ways to monitor oracle golden gate-Collaborate 14How many ways to monitor oracle golden gate-Collaborate 14
How many ways to monitor oracle golden gate-Collaborate 14Bobby Curtis
 
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
 
My First 100 days with a MySQL DBMS
My First 100 days with a MySQL DBMSMy First 100 days with a MySQL DBMS
My First 100 days with a MySQL DBMSGustavo Rene Antunez
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACSatishbabu Gunukula
 
Doag data replication with oracle golden gate: Looking behind the scenes
Doag data replication with oracle golden gate: Looking behind the scenesDoag data replication with oracle golden gate: Looking behind the scenes
Doag data replication with oracle golden gate: Looking behind the scenesTrivadis
 
Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesOracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesDeiby Gómez
 

What's hot (20)

IOUG Collaborate 18 - ASM Concepts, Architecture and Best Practices
IOUG Collaborate 18 - ASM Concepts, Architecture and Best PracticesIOUG Collaborate 18 - ASM Concepts, Architecture and Best Practices
IOUG Collaborate 18 - ASM Concepts, Architecture and Best Practices
 
RMOUG 18 - Oracle Database Locking Mechanism Demystified
RMOUG 18 - Oracle Database Locking Mechanism DemystifiedRMOUG 18 - Oracle Database Locking Mechanism Demystified
RMOUG 18 - Oracle Database Locking Mechanism Demystified
 
Winning performance challenges in oracle standard editions
Winning performance challenges in oracle standard editionsWinning performance challenges in oracle standard editions
Winning performance challenges in oracle standard editions
 
Winning performance challenges in oracle standard editions
Winning performance challenges in oracle standard editionsWinning performance challenges in oracle standard editions
Winning performance challenges in oracle standard editions
 
How DBAs can garner the power of the Oracle Public Cloud?
How DBAs can garner the  power of the Oracle Public  Cloud?How DBAs can garner the  power of the Oracle Public  Cloud?
How DBAs can garner the power of the Oracle Public Cloud?
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle Multitenant
 
Oracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesOracle golden gate 12c New Features
Oracle golden gate 12c New Features
 
Oracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesOracle 12c and its pluggable databases
Oracle 12c and its pluggable databases
 
Oracle GoldenGate for Oracle DBAs
Oracle GoldenGate for Oracle DBAsOracle GoldenGate for Oracle DBAs
Oracle GoldenGate for Oracle DBAs
 
Fast, Flexible Application Development with Oracle Database Cloud Service
Fast, Flexible Application Development with Oracle Database Cloud ServiceFast, Flexible Application Development with Oracle Database Cloud Service
Fast, Flexible Application Development with Oracle Database Cloud Service
 
12 Things about Oracle WebLogic Server 12c
12 Things	 about Oracle WebLogic Server 12c12 Things	 about Oracle WebLogic Server 12c
12 Things about Oracle WebLogic Server 12c
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
 
How many ways to monitor oracle golden gate-Collaborate 14
How many ways to monitor oracle golden gate-Collaborate 14How many ways to monitor oracle golden gate-Collaborate 14
How many ways to monitor oracle golden gate-Collaborate 14
 
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)
 
My First 100 days with a MySQL DBMS
My First 100 days with a MySQL DBMSMy First 100 days with a MySQL DBMS
My First 100 days with a MySQL DBMS
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RAC
 
Oracle 12c - Multitenant Feature
Oracle 12c - Multitenant FeatureOracle 12c - Multitenant Feature
Oracle 12c - Multitenant Feature
 
Oracle 12c
Oracle 12cOracle 12c
Oracle 12c
 
Doag data replication with oracle golden gate: Looking behind the scenes
Doag data replication with oracle golden gate: Looking behind the scenesDoag data replication with oracle golden gate: Looking behind the scenes
Doag data replication with oracle golden gate: Looking behind the scenes
 
Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesOracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New Features
 

Similar to OOW 17 - database consolidation using the oracle multitenant architecture

Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitecturePini Dibask
 
Vijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-featuresVijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-featuresmkorremans
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insightsKirill Loifman
 
2-day-dba-oracle.pptx
2-day-dba-oracle.pptx2-day-dba-oracle.pptx
2-day-dba-oracle.pptxRocky572078
 
Exploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your CloudExploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your Clouddyahalom
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
Simplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cSimplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cMaris Elsins
 
Exploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cExploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cZohar Elkayam
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudipasalapudi123
 
New Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cNew Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cMarkus Flechtner
 
Gloc gangler 2018._v4
Gloc gangler 2018._v4Gloc gangler 2018._v4
Gloc gangler 2018._v4Secure-24
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi TenantRed Stack Tech
 
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 2Markus 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 2Markus Flechtner
 
Database as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance PlatformDatabase as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance PlatformMaris Elsins
 
SOUG PDB Security, Isolation and DB Nest 20c
SOUG PDB Security, Isolation and DB Nest 20cSOUG PDB Security, Isolation and DB Nest 20c
SOUG PDB Security, Isolation and DB Nest 20cStefan Oehrli
 
TechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New FeaturesTechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New FeaturesTrivadis
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationFrancisco Alvarez
 
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...Alex Gorbachev
 
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 EditionsFranck Pachot
 

Similar to OOW 17 - database consolidation using the oracle multitenant architecture (20)

Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant Architecture
 
Vijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-featuresVijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-features
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 
2-day-dba-oracle.pptx
2-day-dba-oracle.pptx2-day-dba-oracle.pptx
2-day-dba-oracle.pptx
 
Exploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your CloudExploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your Cloud
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
Simplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cSimplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12c
 
Exploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cExploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12c
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudi
 
New Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cNew Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21c
 
Gloc gangler 2018._v4
Gloc gangler 2018._v4Gloc gangler 2018._v4
Gloc gangler 2018._v4
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi Tenant
 
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
 
Database as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance PlatformDatabase as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance Platform
 
SOUG PDB Security, Isolation and DB Nest 20c
SOUG PDB Security, Isolation and DB Nest 20cSOUG PDB Security, Isolation and DB Nest 20c
SOUG PDB Security, Isolation and DB Nest 20c
 
TechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New FeaturesTechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New Features
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? Presentation
 
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
 
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
 

More from Pini Dibask

Oracle Data Guard for Beginners
Oracle Data Guard for BeginnersOracle Data Guard for Beginners
Oracle Data Guard for BeginnersPini Dibask
 
Oracle database locking mechanism demystified (AOUG)
Oracle database locking mechanism demystified (AOUG)Oracle database locking mechanism demystified (AOUG)
Oracle database locking mechanism demystified (AOUG)Pini Dibask
 
Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)
Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)
Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)Pini Dibask
 
DOAG - Oracle Database Locking Mechanism Demystified
DOAG - Oracle Database Locking Mechanism Demystified DOAG - Oracle Database Locking Mechanism Demystified
DOAG - Oracle Database Locking Mechanism Demystified Pini Dibask
 
Ensuring Data Protection Using Oracle Flashback Features - Presentation
Ensuring Data Protection Using Oracle Flashback Features - PresentationEnsuring Data Protection Using Oracle Flashback Features - Presentation
Ensuring Data Protection Using Oracle Flashback Features - PresentationPini Dibask
 
Best New Features of Oracle Database 12c
Best New Features of Oracle Database 12cBest New Features of Oracle Database 12c
Best New Features of Oracle Database 12cPini Dibask
 
Ensuring Data Protection Using Oracle Flashback Features
Ensuring Data Protection Using Oracle Flashback FeaturesEnsuring Data Protection Using Oracle Flashback Features
Ensuring Data Protection Using Oracle Flashback FeaturesPini Dibask
 

More from Pini Dibask (7)

Oracle Data Guard for Beginners
Oracle Data Guard for BeginnersOracle Data Guard for Beginners
Oracle Data Guard for Beginners
 
Oracle database locking mechanism demystified (AOUG)
Oracle database locking mechanism demystified (AOUG)Oracle database locking mechanism demystified (AOUG)
Oracle database locking mechanism demystified (AOUG)
 
Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)
Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)
Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)
 
DOAG - Oracle Database Locking Mechanism Demystified
DOAG - Oracle Database Locking Mechanism Demystified DOAG - Oracle Database Locking Mechanism Demystified
DOAG - Oracle Database Locking Mechanism Demystified
 
Ensuring Data Protection Using Oracle Flashback Features - Presentation
Ensuring Data Protection Using Oracle Flashback Features - PresentationEnsuring Data Protection Using Oracle Flashback Features - Presentation
Ensuring Data Protection Using Oracle Flashback Features - Presentation
 
Best New Features of Oracle Database 12c
Best New Features of Oracle Database 12cBest New Features of Oracle Database 12c
Best New Features of Oracle Database 12c
 
Ensuring Data Protection Using Oracle Flashback Features
Ensuring Data Protection Using Oracle Flashback FeaturesEnsuring Data Protection Using Oracle Flashback Features
Ensuring Data Protection Using Oracle Flashback Features
 

Recently uploaded

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 

Recently uploaded (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

OOW 17 - database consolidation using the oracle multitenant architecture

  • 1. Database Consolidation using Oracle Multitenant Pini Dibask, Product Manager for Database Solutions October 1st, 2017
  • 2. Confidential2 • Pini Dibask, Product Manager, Database Monitoring Solutions (Quest) • Based in Israel • Oracle DBA since 2006 (started with version 9i) • Oracle Certified Professional DBA (OCP) • Public Speaker: Oracle OpenWorld, IOUG Collaborate, DOAG, OUGN, AOUG • Blogger: OracleDBPro.BlogSpot.com Pini.Dibask@Quest.com http://Linkedin.com/in/pinidibask @pini_dibask About Me
  • 3. Confidential3 • Quest is now an independent company again! • Simplifies IT management • #1 independent software company for Database Tools • Driven by innovation “Spend less time on what you need to do, and more time on what you want to do!” • Committed to providing great products and superior support About
  • 4. Confidential4 • Introduction to Database Consolidation • Oracle Multitenant Concepts • Ensuring QoS in Multitenant Environments • RAC and Multitenant • Performance Monitoring for Multitenant Environments Agenda
  • 5. Introduction to Database Consolidation
  • 6. Confidential6 Server Consolidation  Multiple databases reside on a single server Database Consolidation - Prior to Oracle 12c
  • 7. Confidential7 Database Consolidation  Single database with multiple schemas Database Consolidation - Prior to Oracle 12c (Cont’d)
  • 8. Confidential8  Name Collisions  Same schema name or same public synonym name  Security  DBA can access data of both applications  Upgrades  You cannot patch/upgrade only one schema  Point-In-Time Recovery  Impossible to perform schema level point-in-time recovery Database Consolidation with Schema Separation - Challenges
  • 10. Confidential10  Pluggable Database  Self-contained Oracle database  Root Container  Oracle-supplied metadata Oracle 12c – Multitenant Architecture
  • 11. Confidential11  One SGA  One set of background processes  One root container  Multiple pluggable databases  Up to 252 PDBs (12cR1)  Up to 4096 PDBs (12cR2) Oracle 12c – Multitenant Architecture Only on Oracle Cloud and Oracle Exadata
  • 12. Confidential12  Pluggable Databases share the following files:  Undo Tablespace  Redo Logs  Control Files  (S)Pfile Oracle 12c – Multitenant Architecture (Cont’d) Local undo introduced in 12cR2
  • 13. Confidential13 Multitenant Architecture - Containers s CON_ID Description 0 Entire CDB/Non-CDB 1 Root container 2 Seed container 3-4098 User PDBs Created by default - Used as a template PDB for cloning
  • 14. Confidential14 Data Guard  Data Guard operates at CDB-Level  Maintenance at CDB-Level = Reduced DBA efforts Manage Many as One
  • 15. Confidential15 RMAN - Granular Backup & Restore Options  Backup entire CDB at once or at PDB level  Recover entire container at once or at PDB level Multitenant Advantages - Manage Many as One s s
  • 16. Confidential16 Moving PDB from one container to another is straightforward Multitenant Advantages - Unplug/Plug s
  • 17. Confidential17  Clone PDB from another PDB within the same CDB  Requires source PDB to be OPEN READ ONLY (12cR1) Multitenant Advantages - Fast Cloning s Hot Clone is available in 12cR2
  • 18. Confidential18  Clone PDB from another PDB in remote CDB  Requires source PDB to be OPEN READ ONLY (12cR1) Multitenant Advantages - Fast Cloning Hot Clone is available in 12cR2 s
  • 19. Confidential19  Refreshable PDB – Allows refreshing contents of a cloned PDB  Step 1 – takes a full clone. Doesn’t require any downtime due to hot clone feature  Step 2 - refresh by applying redo logs (either on-demand or automatically scheduled)  Refreshable PDB should be in a read-only mode Multitenant Advantages - Easy Replication (12c Release 2) s
  • 20. Confidential20 Upgrades  Upgrade or apply a patch at CDB-Level https://blogs.oracle.com/UPGRADE/entry/upgrade_pdbs_everything_at_once1  Unplug/plug PDB into another container database https://blogs.oracle.com/UPGRADE/entry/upgrade_pdbs_one_at_a Multitenant Advantages - Manage Many as One
  • 21. Confidential21 CDB Level vs. PDB-Level CDB-Level • Oracle Software • SGA • Background Processes • Data Guard • Some Parameters (IsPDB_Modifiable= 'FALSE') • Control Files, Redo • (S)Pfile, Password File PDB-Level • Point In-Time Recovery • Some Parameters (IsPDB_Modifiable= 'TRUE') • Undo Tablespace (12cR2) • Character Set (12cR2) • Flashback Database (12cR2)
  • 22. Confidential22 Non-CDB • Same as before 12c Oracle 12c – Deployment Options DB CDB$ROOT CDB$ROOT PDB1 PDB1 PDB2 PDB252 Single Tenant • No additional license • Available in SE/SE1/SE2 • One active PDB Multitenant • Option on top of Enterprise Edition • Supports up to 4096 active PDBs …
  • 23. Confidential23 Why use Single Tenant instead of Non-CDB?  Unplug/Plug  Fast Cloning  but most importantly … (source: Oracle 12c Release 2 Documentation) Oracle 12c – Deployment Options (Cont’d)
  • 24. Confidential24 Oracle 12c – DBCA Non-CDB Single Tenant / Multitenant
  • 25. Ensuring High Level of QoS with Multitenant Environments
  • 26. Confidential26  PDB-Level QoS challenge  Allocation of resources among competing sessions  Example: One session consumes too many resources  CDB-Level QoS challenge  Allocation of resources among competing PDBs  Example: One PDB consumes too many resources QoS Challenges – Multitenant Environments
  • 27. Confidential27 Resource Manager Elements  Resource Plan  Resource Plan Directive  Consumer Group Oracle Resource Manager - The Basics (Pre 12c) Resource Plan “WEEKEND” Directive 1 70% of CPU Directive 2 20% of CPU Directive 3 10% of CPU Consumer Group “WAREHOUSE” Consumer Group “OLTP” Consumer Group “OTHERS_GROUPS”
  • 28. Confidential28  PDB-Level Resource Plan  Specifies how resources are allocated to consumer groups  Prioritize resources between competing sessions  CDB-Level Resource Plan  Specifies how resources are allocated to PDBs  Prioritize resources between competing PDBs The Solution - Oracle Resource Manager
  • 29. Confidential29 Oracle Resource Manager - 12c Multitenant CDB Resource Plan Directive  CPU Shares  CPU Utilization Limit Example: Pluggable Database CPU Shares Guaranteed CPU CPU Limit OLTP 3 3/4 = 75% 100% DWH 1 1/4 = 25% 60% CPU_COUNT parameter is available in Oracle 12c Release 2
  • 30. Confidential30 Oracle Resource Manager - 12c Multitenant  Obtain information about default CDB resource plan  Obtain information about default PDB directive s s
  • 31. Confidential31 Example of CDB-Level Resource Plan Resource Plan “Daytime_CDB_PLAN” PDB “OLTP” PDB “DWH” Directive 2 Guaranteed CPU: 25% Maximum CPU: 60% Directive 1 Guaranteed CPU: 75% Maximum CPU: 100% Pluggable Database CPU Shares Guaranteed CPU CPU Limit OLTP 3 3/4 = 75% 100% DWH 1 1/4 = 25% 60%
  • 32. Confidential32 s Creating CDB Resource Plan Pluggable Database CPU Shares Guaranteed CPU CPU Limit OLTP 3 3/4 = 75% 100% DWH 1 1/4 = 25% 60%
  • 34. Confidential34 Enabling/Disabling CDB Resource Plan  Manually enabling resource plan  Manually disabling resource plan s s
  • 35. Confidential35 Enabling/Disabling CDB Resource Plan (Cont’d) s Automatically Enable/Disable CDB Resource Plan
  • 36. Confidential36 PDB Level Memory Resource Management  Not available in 12c Release 1  12c Release 2 - Memory parameters can be set at PDB level  SGA_TARGET  DB_CACHE_SIZE  DB_SHARED_POOL_SIZE  PGA_AGGREGATE_LIMIT  PGA_AGGREGATE_TARGET  SGA_MIN_SIZE New in 12c Release 2
  • 37. Confidential37 PDB Level I/O Resource Management  Not available in 12c Release 1  12c Release 2 Introduced the following new parameters:  MAX_IOPS - limits number of I/O operations per second  MAX_MBPS - limits megabytes for I/O operations per second  Default : 0 (no limit)  If Oracle waits due to I/O limit “resmgr: I/O rate limit” wait event will appear  Cannot be set in a Non CDB
  • 38. Confidential38 How Many Resources Actually Being Used by PDBs?  Option #1 - DBA_HIST_RSRC_PDB_METRIC  Displays historical resource manager metrics by PDB  Option #2 - AWR_ROOT_RSRC_PDB_METRIC (underlying AWR table)  Option #3 - AWR Reports
  • 39. Confidential39 Maintenance Tasks in Oracle Multitenant  ENABLE_AUTOMATIC_MAINTENANCE_PDB parameter  Can be used to enable/disable running of maintenance tasks  Default: true  Can be set at either CDB or PDB levels  AUTOTASK_MAX_ACTIVE_PDBS parameter  Maximum number of PDBs that can schedule maintenance tasks concurrently  Default: 2 (two PDBs and the CDB root can run tasks at the same time)  Can be set at CDB level only  Both parameters introduced in 12c Release 2
  • 41. Confidential41  Single Instance & Multitenant challenges  Not Scalable = Limited Consolidation Solution  Instance Down Downtime for all PDBs  RAC makes Multitenant better  Scalable = True consolidation solution  Available = Instance Down  PDBs continue running on other nodes Why RAC & Multitenant?
  • 42. Confidential42  Multitenant fully supports RAC  PDBs can be opened on specific instances RAC & Multitenant s
  • 43. Confidential43 PDBs workload distributed across RAC instances RAC & Multitenant Services Single SGA per CDB Instance Node1 CDB Instance 1 Node2 CDB Instance 2 Multitenant Container Database (CDB)
  • 44. Confidential44 PDBs workload distributed across RAC instances RAC & Multitenant Services Single SGA per CDB Instance Node1 CDB Instance 1 Node2 CDB Instance 2 Node3 CDB Instance 3 Multitenant Container Database (CDB)
  • 45. Confidential45 RAC & Multitenant s Preferred Instance Available Instance
  • 46. Confidential46 RAC & Multitenant s PDB opened only in Preferred instance PDB automatically starts in the other instance Shutting down the preferred instance
  • 48. Confidential48  Snapshots taken only at CDB-Level  AWR data reside in cdb$root container Multitenant & AWR – Oracle 12c Release 1
  • 49. Confidential49 Multitenant & AWR – Oracle 12c Release 1 (Cont’d) s
  • 50. Confidential50  AWR reports are available only at CDB level  AWR Management Operations only at CDB level  AWR data retention  Snapshot schedule  Taking manual snapshots  Purging snapshot data  Unplugged PDB does not contain AWR information Multitenant & AWR – Oracle 12c Release 1 (Cont’d)
  • 51. Confidential51 Multitenant & AWR – Oracle 12c Release 1 (Cont’d)
  • 52. Confidential52  Snapshots can be taken either at CDB or PDB level  Snapshot data reside in SYSAUX tablespace of each PDB  It is possible to create a report at PDB-level AWR report  AWR management operations at either CDB or PDB level  New Parameter : AWR_PDB_AUTOFLUSH_ENABLED  Specifies whether to enable automatic AWR snapshots for PDBs  Default : false (automatic AWR snapshots are disabled for PDBs)  Can be set at CDB or PDB level Multitenant & AWR – Oracle 12c Release 2
  • 53. Confidential53 Multitenant & AWR – Oracle 12c Release 2 (Cont’d)
  • 54. Confidential54 Workload Analysis using OEM ASH Analytics Only with Enterprise Edition + Diagnostics Pack
  • 58. Confidential58  Introduction to the Multitenant: Architecture (Documentation) http://docs.oracle.com/database/122/CNCPT/introduction-to-the-multitenant-architecture.htm#CNCPT89234  Oracle Multitenant (White Paper) http://www.oracle.com/technetwork/database/multitenant-wp-12c-1949736.pdf  Oracle Multitenant: New Features in Oracle Database 12c Release 12 (White Paper) http://www.oracle.com/technetwork/database/multitenant/overview/multitenant-wp-12c-2078248.pdf  Mike Dietrich Blog https://blogs.oracle.com/UPGRADE/ Note: All diagrams and illustrations are used by permission of Oracle References
  • 59. Q&A
  • 60. • Are you being asked to evaluate or move mission-critical business operations to Cloud- based solutions? • Join #IOUGCloudJourney to understand what the Cloud means for your organization and your career. • Throughout the next year we will provide videos, webinars, user stories and other resources to help make this transition a smooth one for you and your organization. • Learn how to adapt your processes to optimize Cloud usage and plan for future engagements or expansion. • Use our 12-18 month skill set roadmap to prepare for your job today, and your career tomorrow. Visit www.ioug.org/journey-to-the-cloud to get started - no login required
  • 61. Save the Date COLLABORATE 18 registration will open on Wednesday, November 8. Call for Speakers Submit your session presentation! The Call for Speakers is open until Friday, October 20 collaborate.ioug.org
  • 62. Got Lunch Plans Today? Learn about User Groups in your area, hear Lightning Talks and get some Pizza from 11:30-3:30 Registration Required: http://ora.cl/pO1yL (that’s a little p, big O, one, little y, big L)