SlideShare a Scribd company logo
1 of 59
Database Consolidation using the
Oracle Multitenant Architecture
Pini Dibask,
Product Manager, Database Solutions
Dell Software Group
[UGF6588] Sunday, Sep 18th 2016
Dell Software Group2
About Me …
 Pini Dibask, Product Manager, Database Solutions (Dell Software)
 Oracle Database Technologist & Architect with 10 years of experience
 Oracle Certified Professional DBA (OCP)
 Blogger: OracleDBPro.BlogSpot.com
Email: Pini.Dibask@Software.Dell.com
LinkedIn: http://Linkedin.com/in/pinidibask
Google+: https://Plus.Google.com/+PiniDibask87
Twitter: @pini_dibask
Dell Software Group3
About Dell Software Database Tools Portfolio
Monitor
Replicate
Team Collaboration for
productive data
professionals
Manage
Protect
Dell Software Group4
Agenda
 Introduction to Database Consolidation
 Oracle Multitenant Concepts
 Ensuring QoS in Multitenant environment
 RAC and Multitenant
 Performance Monitoring for Multitenant environments
Dell - Restricted - Confidential
Introduction to
Database Consolidation
Dell Software Group6
Database Consolidation - Prior to Oracle 12c
Server Consolidation
 Multiple databases reside on a single server
Dell Software Group7
Database Consolidation - Prior to Oracle 12c
7
Database Consolidation
 Single database with multiple schemas
Dell Software Group8
Database Consolidation - Challenges
8
 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
Dell - Restricted - Confidential
Multitenant Architecture
Dell Software Group10
Database to Instance Relationship
 Pluggable Database
 Self-contained Oracle database
 Root Container
 Oracle-supplied metadata
Pluggable Databases (PDBs)
Dell Software Group11
11
 One set of background processes
 One SGA
 One root container
 Multiple Pluggable Databases
 Up to 252 PDBs
Oracle 12c - Multitenant Architecture
Dell Software Group12
Multitenant Architecture cont’d
 Pluggable Databases share the following files:
 Undo Tablespace
 Redo Logs
 Control Files
 (S)Pfile
 Temporary tablespace
Note: PDBs may create their own temporary tablespaces
Dell Software Group13
Multitenant Advantages - Manage Many as One
Data Guard
 Data Guard operates at CDB-Level
 Maintenance at CDB-Level = Reduced DBA efforts
 CDB-Level granularity for Switchover/Failover operations
Dell Software Group14
Multitenant Advantages - Manage Many as One
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
Dell Software Group15
Multitenant Advantages - Unplug/Plug
Moving PDB from one container to another is straightforward
s
Dell Software Group16
Multitenant Advantages - Fast Cloning
 Clone PDB from another PDB within the same CDB
 Requires source PDB to be OPEN READ ONLY
Note: “Hot Clone” will be available in 12.2
s
Dell Software Group17
 Clone PDB from another PDB in remote CDB
 Requires source PDB to be OPEN READ ONLY
Note: “Hot Clone” will be available in 12.2
Multitenant Advantages - Fast Cloning
s
Dell Software Group18
s
Multitenant Advantages - Manage Many as One
RMAN – Granular Backup & Restore Options
 Backup entire container as one or at PDB level
 Recover entire container as one or at PDB level
s
Dell Software Group19
CDB-Level vs. PDB-Level
CDB-Level
• Oracle Software
• SGA & Background Processes
• Character Set
• RMAN Scheduled Backups
• Data Guard
• Some Parameters
(IsPDB_Modifiable= 'FALSE')
• Control Files, Redo and Undo
• (S)Pfile, Password File
• Flashback Database
PDB-Level
• FLUSH SHARED_POOL
• FLUSH BUFFER_CACHE
• Point In-Time Recovery
• RMAN Ad hoc Backups
• Some Parameters
(IsPDB_Modifiable= 'TRUE')
Dell Software Group20
s
Multitenant Architecture - CDB_* Prefix
 CDB_* All objects in CDB across all PDBs
 DBA_* All objects in specific PDB
 ALL_* Objects accessible by current user
 USER_* Objects owned by current user
Dell Software Group21
s
Multitenant Architecture - Containers
CON_ID Description
0 Entire CDB/Non-CDB
1 Root container
2 Seed container
3-254 User PDBs
Created by default -
Used as a template
PDB for cloning
Dell Software Group22
Multitenant Architecture - Users
 Local User
 Identity known only in PDB-scope
 Common User
 Identity known in the root and in all PDBs
 C## Prefix (COMMON_USER_PREFIX parameter)
CDB$ROOT
PDB1 PDB2
ERP CRM DW HR
C##U1 C##U2
Dell Software Group23
Multitenant Architecture – Users cont’d
s
Dell Software Group24
PDBs’ state after instance startup
s
Mounted by default (!)
Only from 12.1.0.2
Dell Software Group25
Oracle 12c - Deployment Options
DB CDB$ROOT CDB$ROOT
PDB1 PDB1 PDB2 PDB252
Non-CDB
Same as before 12c
Single Tenant
• No additional license
• One active PDB
Multitenant
• Extra Cost Option
• Requires Enterprise Edition
• Supports up to 252 active PDBs
…
Dell Software Group26
Oracle 12c - Deployment Options cont’d
Why use Single Tenant instead of Non-CDB?
 Unplug/Plug
 Fast Cloning
 And most important …
Dell Software Group27
Oracle 12c – DBCA
Non-CDB Single Tenant / Multitenant
Dell - Restricted - Confidential
Ensuring high level of QoS
with Multitenant environments
Dell Software Group29
QoS Challenges - Multitenant environments
 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
Dell Software Group30
The Solution – Oracle Resource Manager
 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
Dell Software Group31
Oracle Resource Manager - The Basics
Resource Manager Elements
 Resource Plan
 Resource Plan Directive
 Consumer Group 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”
Dell Software Group32
Oracle Resource Manager - 12c Multitenant
CDB Resource Plan Directive
 CPU Shares
 CPU Utilization Limit
 Parallel Servers Limit
 Memory Limit (Will be available in 12.2)
Example
Pluggable
Database
CPU
Shares
Guaranteed
CPU
CPU Limit Parallel Servers
Limit
OLTP 3 3/4 = 75% 100% 100%
DWH 1 1/4 = 25% 60% 100%
Dell Software Group33
 Obtain information about default CDB resource plan
 Obtain information about default PDB directive
s
s
Oracle Resource Manager - 12c Multitenant
Dell Software Group34
CDB-Level Resource Plan Example
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 Parallel Servers
Limit
OLTP 3 3/4 = 75% 100% 100%
DWH 1 1/4 = 25% 60% 100%
Dell Software Group35
Creating CDB Resource Plan
s
Pluggable
Database
CPU
Shares
Guaranteed
CPU
CPU
Limit
OLTP 3 3/4 = 75% 100%
DWH 1 1/4 = 25% 60%
Dell Software Group36
Creating CDB Resource Plan cont’d
s
Dell Software Group37
 Manually enabling resource plan
 Manually disabling resource plan
Enabling/Disabling CDB Resource Plan
s
s
Dell Software Group38
s
Automatically Enable/Disable CDB Resource Plan
Enabling/Disabling CDB Resource Plan cont’d
Resource Plan Name
Dell - Restricted - Confidential
RAC & Multitenant
Dell Software Group40
Why RAC & Multitenant?
 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
Dell Software Group41
s
RAC & Multitenant
 Multitenant fully supports RAC
 PDBs can be opened on specific instances
Dell Software Group42
Services
Single SGA per
CDB Instance
Node1
CDB Instance 1
Node2
CDB Instance 2
Multitenant Container Database (CDB)
RAC & Multitenant
PDBs workload distributed across RAC instances
Dell Software Group43
RAC & Multitenant
Services
Single SGA per
CDB Instance
Node1
CDB Instance 1
Node2
CDB Instance 2
Node3
CDB Instance 3
Multitenant Container Database (CDB)
PDBs workload distributed across RAC instances
Dell Software Group44
s
RAC & Multitenant
Preferred Instance Available Instance
Dell Software Group45
s
Shutting down the
preferred instance
PDB automatically starts
in the other instance
RAC & Multitenant
PDB opened only in
Preferred instance
Dell - Restricted - Confidential
Performance Monitoring
for Multitenant Environments
Dell Software Group47
Workload Analysis - Multitenant Environments
Dell Software Group48
Workload Analysis - RAC & Multitenant
Dell Software Group49
Multi Dimensional Analysis
Dell Software Group50
Multi Dimensional Analysis
Dell Software Group51
Multi Dimensional Analysis
Dell Software Group52
Multitenant & AWR
 Snapshots are taken at CDB-Level
 AWR tables reside in CDB$ROOT container
Dell Software Group53
Multitenant & AWR cont’d
s
Dell Software Group54
Multitenant & AWR cont’d
 AWR reports are available at CDB & PDB levels
 DBA_HIST_* views are visible at PDB level
 Unplug PDB does not contain AWR information
s
Data available in PDB via object-link
to the CDB$ROOT container
Dell - Restricted - Confidential
Summary
Dell Software Group56
Summary
 Multitenant architecture can simplify Database consolidation
 Cloud deployments (DBaaS) - Great use case for Multitenant
 Non-CDB deprecation -> Faster Multitenant adoption period
 Monitor PDBs workload distribution over time
 Overcome QoS challenges with Services & DBRM
Dell Software Group57
References
57
 Introduction to the Multitenant Architecture (Oracle Documentation)
https://docs.oracle.com/database/121/CNCPT/cdbovrvw.htm#CNCPT89234
 Managing Resources with Resource Manager (Oracle Documentation)
https://docs.oracle.com/database/121/ADMIN/dbrm.htm#ADMIN027
 DBMS_RESOURCE_MANAGER (Oracle Documentation)
https://docs.oracle.com/database/121/ARPLS/d_resmgr.htm#ARPLS050
 Introduction to a Multitenant Environment (Video by Tom Kyte)
https://www.youtube.com/watch?v=2MrouEW9j88
 Oracle Multitenant (White Paper)
http://www.oracle.com/technetwork/database/multitenant-wp-12c-1949736.pdf
Note: All diagrams and illustrations are used by permission of Oracle
Dell - Restricted - Confidential
Questions?
Dell - Restricted - Confidential
Thank You!

More Related Content

What's hot

Oracle 12c Multitenant architecture
Oracle 12c Multitenant architectureOracle 12c Multitenant architecture
Oracle 12c Multitenant architecturenaderattia
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on ExadataAnil Nair
 
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 1Satishbabu Gunukula
 
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 architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture pptDeepak Shetty
 
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
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewMarkus Michalewicz
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudMarkus Michalewicz
 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningBobby Curtis
 
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsHow to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsSandesh Rao
 
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
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insightsKirill Loifman
 
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 VersionMarkus Michalewicz
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19cMaria Colgan
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONMarkus Michalewicz
 
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...Sandesh Rao
 
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesMarkus Michalewicz
 
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 - slidesMohamed Farouk
 

What's hot (20)

Oracle Data Guard
Oracle Data GuardOracle Data Guard
Oracle Data Guard
 
Oracle 12c Multitenant architecture
Oracle 12c Multitenant architectureOracle 12c Multitenant architecture
Oracle 12c Multitenant architecture
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
 
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
 
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 architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture ppt
 
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
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance Tuning
 
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsHow to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
 
Oracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesOracle 12c and its pluggable databases
Oracle 12c and its pluggable databases
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 
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
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
 
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
 
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
 

Viewers also liked

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
 
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
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databasesomnidba
 
Simplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cSimplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cMaris Elsins
 
eScience, Education and Knowledge Management
eScience, Education and Knowledge ManagementeScience, Education and Knowledge Management
eScience, Education and Knowledge ManagementLeo Plugge
 
Duncan Allen :: Supporting Healthcare Systems Interoperability
Duncan Allen :: Supporting Healthcare Systems InteroperabilityDuncan Allen :: Supporting Healthcare Systems Interoperability
Duncan Allen :: Supporting Healthcare Systems Interoperabilitygeorge.james
 
Building Vibrant Communities - Erfolgreiche Einführung von Enterprise 2.0
Building Vibrant Communities - Erfolgreiche Einführung von Enterprise 2.0Building Vibrant Communities - Erfolgreiche Einführung von Enterprise 2.0
Building Vibrant Communities - Erfolgreiche Einführung von Enterprise 2.0Peter H. Reiser
 
Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...
Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...
Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...HFG Project
 
Dhis2 android user_man
Dhis2 android user_manDhis2 android user_man
Dhis2 android user_manEliot Kalenga
 
Introduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerIntroduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerZohar Elkayam
 
Methodology Of Enterprise Applications Capacity Planning
Methodology Of Enterprise Applications Capacity PlanningMethodology Of Enterprise Applications Capacity Planning
Methodology Of Enterprise Applications Capacity PlanningLeonid Grinshpan, Ph.D.
 
PEPFAR’s DATIM4U and Associated Interoperability Components
PEPFAR’s DATIM4U and Associated Interoperability ComponentsPEPFAR’s DATIM4U and Associated Interoperability Components
PEPFAR’s DATIM4U and Associated Interoperability ComponentsMEASURE Evaluation
 
Responsive Design and Information Architecture with Oracle Web Center Content...
Responsive Design and Information Architecture with Oracle Web Center Content...Responsive Design and Information Architecture with Oracle Web Center Content...
Responsive Design and Information Architecture with Oracle Web Center Content...Dmitri Khanine
 
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...vasuballa
 
Health Information System: Interoperability and Integration to Maximize Effec...
Health Information System: Interoperability and Integration to Maximize Effec...Health Information System: Interoperability and Integration to Maximize Effec...
Health Information System: Interoperability and Integration to Maximize Effec...MEASURE Evaluation
 
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]vasuballa
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi TenantRed Stack Tech
 
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...vasuballa
 
Exadata x4 for_sap
Exadata x4 for_sapExadata x4 for_sap
Exadata x4 for_sapFran Navarro
 

Viewers also liked (20)

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)
 
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
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databases
 
Simplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cSimplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12c
 
eScience, Education and Knowledge Management
eScience, Education and Knowledge ManagementeScience, Education and Knowledge Management
eScience, Education and Knowledge Management
 
Duncan Allen :: Supporting Healthcare Systems Interoperability
Duncan Allen :: Supporting Healthcare Systems InteroperabilityDuncan Allen :: Supporting Healthcare Systems Interoperability
Duncan Allen :: Supporting Healthcare Systems Interoperability
 
Building Vibrant Communities - Erfolgreiche Einführung von Enterprise 2.0
Building Vibrant Communities - Erfolgreiche Einführung von Enterprise 2.0Building Vibrant Communities - Erfolgreiche Einführung von Enterprise 2.0
Building Vibrant Communities - Erfolgreiche Einführung von Enterprise 2.0
 
Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...
Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...
Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...
 
Dhis2 android user_man
Dhis2 android user_manDhis2 android user_man
Dhis2 android user_man
 
Introduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerIntroduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard Broker
 
Methodology Of Enterprise Applications Capacity Planning
Methodology Of Enterprise Applications Capacity PlanningMethodology Of Enterprise Applications Capacity Planning
Methodology Of Enterprise Applications Capacity Planning
 
PEPFAR’s DATIM4U and Associated Interoperability Components
PEPFAR’s DATIM4U and Associated Interoperability ComponentsPEPFAR’s DATIM4U and Associated Interoperability Components
PEPFAR’s DATIM4U and Associated Interoperability Components
 
Responsive Design and Information Architecture with Oracle Web Center Content...
Responsive Design and Information Architecture with Oracle Web Center Content...Responsive Design and Information Architecture with Oracle Web Center Content...
Responsive Design and Information Architecture with Oracle Web Center Content...
 
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
 
Health Information System: Interoperability and Integration to Maximize Effec...
Health Information System: Interoperability and Integration to Maximize Effec...Health Information System: Interoperability and Integration to Maximize Effec...
Health Information System: Interoperability and Integration to Maximize Effec...
 
IEEE Presentation
IEEE PresentationIEEE Presentation
IEEE Presentation
 
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi Tenant
 
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
 
Exadata x4 for_sap
Exadata x4 for_sapExadata x4 for_sap
Exadata x4 for_sap
 

Similar to Database Consolidation using Oracle Multitenant Architecture

Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantPini Dibask
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantPini Dibask
 
OOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architectureOOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architecturePini 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 MultitenantPini Dibask
 
Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...Pini Dibask
 
Winning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantWinning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantPini Dibask
 
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 MultitenantPini Dibask
 
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
 
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
 
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
 
oracle upgrade 2015_509_Swonger_ppt.pptx
oracle upgrade 2015_509_Swonger_ppt.pptxoracle upgrade 2015_509_Swonger_ppt.pptx
oracle upgrade 2015_509_Swonger_ppt.pptxssuser670564
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudipasalapudi123
 
Security Multitenant
Security MultitenantSecurity Multitenant
Security MultitenantArush Jain
 
Oracle Database 12c para la comunidad GeneXus - Engineered for clouds
Oracle Database 12c para la comunidad GeneXus - Engineered for cloudsOracle Database 12c para la comunidad GeneXus - Engineered for clouds
Oracle Database 12c para la comunidad GeneXus - Engineered for cloudsGeneXus
 
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
 
2-day-dba-oracle.pptx
2-day-dba-oracle.pptx2-day-dba-oracle.pptx
2-day-dba-oracle.pptxRocky572078
 
Gloc gangler 2018._v4
Gloc gangler 2018._v4Gloc gangler 2018._v4
Gloc gangler 2018._v4Secure-24
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
State of Containers and the Convergence of HPC and BigData
State of Containers and the Convergence of HPC and BigDataState of Containers and the Convergence of HPC and BigData
State of Containers and the Convergence of HPC and BigDatainside-BigData.com
 

Similar to Database Consolidation using Oracle Multitenant Architecture (20)

Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle Multitenant
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle Multitenant
 
OOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architectureOOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architecture
 
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
 
Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...
 
Winning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantWinning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenant
 
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
 
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
 
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
 
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
 
oracle upgrade 2015_509_Swonger_ppt.pptx
oracle upgrade 2015_509_Swonger_ppt.pptxoracle upgrade 2015_509_Swonger_ppt.pptx
oracle upgrade 2015_509_Swonger_ppt.pptx
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudi
 
Security Multitenant
Security MultitenantSecurity Multitenant
Security Multitenant
 
Oracle Database 12c para la comunidad GeneXus - Engineered for clouds
Oracle Database 12c para la comunidad GeneXus - Engineered for cloudsOracle Database 12c para la comunidad GeneXus - Engineered for clouds
Oracle Database 12c para la comunidad GeneXus - Engineered for clouds
 
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
 
2-day-dba-oracle.pptx
2-day-dba-oracle.pptx2-day-dba-oracle.pptx
2-day-dba-oracle.pptx
 
Cdb part i
Cdb part iCdb part i
Cdb part i
 
Gloc gangler 2018._v4
Gloc gangler 2018._v4Gloc gangler 2018._v4
Gloc gangler 2018._v4
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
State of Containers and the Convergence of HPC and BigData
State of Containers and the Convergence of HPC and BigDataState of Containers and the Convergence of HPC and BigData
State of Containers and the Convergence of HPC and BigData
 

More from Pini 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
 
Oracle Data Guard for Beginners
Oracle Data Guard for BeginnersOracle Data Guard for Beginners
Oracle Data Guard for BeginnersPini Dibask
 
IOUG Collaborate 18 - Get the Oracle Performance Diagnostics Capabilities You...
IOUG Collaborate 18 - Get the Oracle Performance Diagnostics Capabilities You...IOUG Collaborate 18 - Get the Oracle Performance Diagnostics Capabilities You...
IOUG Collaborate 18 - Get the Oracle Performance Diagnostics Capabilities You...Pini Dibask
 
IOUG Collaborate 18 - Data Guard for Beginners
IOUG Collaborate 18 - Data Guard for BeginnersIOUG Collaborate 18 - Data Guard for Beginners
IOUG Collaborate 18 - Data Guard for BeginnersPini Dibask
 
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
 
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
 
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
 
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 (11)

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
 
Oracle Data Guard for Beginners
Oracle Data Guard for BeginnersOracle Data Guard for Beginners
Oracle Data Guard for Beginners
 
IOUG Collaborate 18 - Get the Oracle Performance Diagnostics Capabilities You...
IOUG Collaborate 18 - Get the Oracle Performance Diagnostics Capabilities You...IOUG Collaborate 18 - Get the Oracle Performance Diagnostics Capabilities You...
IOUG Collaborate 18 - Get the Oracle Performance Diagnostics Capabilities You...
 
IOUG Collaborate 18 - Data Guard for Beginners
IOUG Collaborate 18 - Data Guard for BeginnersIOUG Collaborate 18 - Data Guard for Beginners
IOUG Collaborate 18 - Data Guard for Beginners
 
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
 
Oracle database locking mechanism demystified (AOUG)
Oracle database locking mechanism demystified (AOUG)Oracle database locking mechanism demystified (AOUG)
Oracle database locking mechanism demystified (AOUG)
 
DOAG - Oracle Database Locking Mechanism Demystified
DOAG - Oracle Database Locking Mechanism Demystified DOAG - Oracle Database Locking Mechanism Demystified
DOAG - Oracle Database Locking Mechanism Demystified
 
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
 

Database Consolidation using Oracle Multitenant Architecture

  • 1. Database Consolidation using the Oracle Multitenant Architecture Pini Dibask, Product Manager, Database Solutions Dell Software Group [UGF6588] Sunday, Sep 18th 2016
  • 2. Dell Software Group2 About Me …  Pini Dibask, Product Manager, Database Solutions (Dell Software)  Oracle Database Technologist & Architect with 10 years of experience  Oracle Certified Professional DBA (OCP)  Blogger: OracleDBPro.BlogSpot.com Email: Pini.Dibask@Software.Dell.com LinkedIn: http://Linkedin.com/in/pinidibask Google+: https://Plus.Google.com/+PiniDibask87 Twitter: @pini_dibask
  • 3. Dell Software Group3 About Dell Software Database Tools Portfolio Monitor Replicate Team Collaboration for productive data professionals Manage Protect
  • 4. Dell Software Group4 Agenda  Introduction to Database Consolidation  Oracle Multitenant Concepts  Ensuring QoS in Multitenant environment  RAC and Multitenant  Performance Monitoring for Multitenant environments
  • 5. Dell - Restricted - Confidential Introduction to Database Consolidation
  • 6. Dell Software Group6 Database Consolidation - Prior to Oracle 12c Server Consolidation  Multiple databases reside on a single server
  • 7. Dell Software Group7 Database Consolidation - Prior to Oracle 12c 7 Database Consolidation  Single database with multiple schemas
  • 8. Dell Software Group8 Database Consolidation - Challenges 8  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
  • 9. Dell - Restricted - Confidential Multitenant Architecture
  • 10. Dell Software Group10 Database to Instance Relationship  Pluggable Database  Self-contained Oracle database  Root Container  Oracle-supplied metadata Pluggable Databases (PDBs)
  • 11. Dell Software Group11 11  One set of background processes  One SGA  One root container  Multiple Pluggable Databases  Up to 252 PDBs Oracle 12c - Multitenant Architecture
  • 12. Dell Software Group12 Multitenant Architecture cont’d  Pluggable Databases share the following files:  Undo Tablespace  Redo Logs  Control Files  (S)Pfile  Temporary tablespace Note: PDBs may create their own temporary tablespaces
  • 13. Dell Software Group13 Multitenant Advantages - Manage Many as One Data Guard  Data Guard operates at CDB-Level  Maintenance at CDB-Level = Reduced DBA efforts  CDB-Level granularity for Switchover/Failover operations
  • 14. Dell Software Group14 Multitenant Advantages - Manage Many as One 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
  • 15. Dell Software Group15 Multitenant Advantages - Unplug/Plug Moving PDB from one container to another is straightforward s
  • 16. Dell Software Group16 Multitenant Advantages - Fast Cloning  Clone PDB from another PDB within the same CDB  Requires source PDB to be OPEN READ ONLY Note: “Hot Clone” will be available in 12.2 s
  • 17. Dell Software Group17  Clone PDB from another PDB in remote CDB  Requires source PDB to be OPEN READ ONLY Note: “Hot Clone” will be available in 12.2 Multitenant Advantages - Fast Cloning s
  • 18. Dell Software Group18 s Multitenant Advantages - Manage Many as One RMAN – Granular Backup & Restore Options  Backup entire container as one or at PDB level  Recover entire container as one or at PDB level s
  • 19. Dell Software Group19 CDB-Level vs. PDB-Level CDB-Level • Oracle Software • SGA & Background Processes • Character Set • RMAN Scheduled Backups • Data Guard • Some Parameters (IsPDB_Modifiable= 'FALSE') • Control Files, Redo and Undo • (S)Pfile, Password File • Flashback Database PDB-Level • FLUSH SHARED_POOL • FLUSH BUFFER_CACHE • Point In-Time Recovery • RMAN Ad hoc Backups • Some Parameters (IsPDB_Modifiable= 'TRUE')
  • 20. Dell Software Group20 s Multitenant Architecture - CDB_* Prefix  CDB_* All objects in CDB across all PDBs  DBA_* All objects in specific PDB  ALL_* Objects accessible by current user  USER_* Objects owned by current user
  • 21. Dell Software Group21 s Multitenant Architecture - Containers CON_ID Description 0 Entire CDB/Non-CDB 1 Root container 2 Seed container 3-254 User PDBs Created by default - Used as a template PDB for cloning
  • 22. Dell Software Group22 Multitenant Architecture - Users  Local User  Identity known only in PDB-scope  Common User  Identity known in the root and in all PDBs  C## Prefix (COMMON_USER_PREFIX parameter) CDB$ROOT PDB1 PDB2 ERP CRM DW HR C##U1 C##U2
  • 23. Dell Software Group23 Multitenant Architecture – Users cont’d s
  • 24. Dell Software Group24 PDBs’ state after instance startup s Mounted by default (!) Only from 12.1.0.2
  • 25. Dell Software Group25 Oracle 12c - Deployment Options DB CDB$ROOT CDB$ROOT PDB1 PDB1 PDB2 PDB252 Non-CDB Same as before 12c Single Tenant • No additional license • One active PDB Multitenant • Extra Cost Option • Requires Enterprise Edition • Supports up to 252 active PDBs …
  • 26. Dell Software Group26 Oracle 12c - Deployment Options cont’d Why use Single Tenant instead of Non-CDB?  Unplug/Plug  Fast Cloning  And most important …
  • 27. Dell Software Group27 Oracle 12c – DBCA Non-CDB Single Tenant / Multitenant
  • 28. Dell - Restricted - Confidential Ensuring high level of QoS with Multitenant environments
  • 29. Dell Software Group29 QoS Challenges - Multitenant environments  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
  • 30. Dell Software Group30 The Solution – Oracle Resource Manager  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
  • 31. Dell Software Group31 Oracle Resource Manager - The Basics Resource Manager Elements  Resource Plan  Resource Plan Directive  Consumer Group 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”
  • 32. Dell Software Group32 Oracle Resource Manager - 12c Multitenant CDB Resource Plan Directive  CPU Shares  CPU Utilization Limit  Parallel Servers Limit  Memory Limit (Will be available in 12.2) Example Pluggable Database CPU Shares Guaranteed CPU CPU Limit Parallel Servers Limit OLTP 3 3/4 = 75% 100% 100% DWH 1 1/4 = 25% 60% 100%
  • 33. Dell Software Group33  Obtain information about default CDB resource plan  Obtain information about default PDB directive s s Oracle Resource Manager - 12c Multitenant
  • 34. Dell Software Group34 CDB-Level Resource Plan Example 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 Parallel Servers Limit OLTP 3 3/4 = 75% 100% 100% DWH 1 1/4 = 25% 60% 100%
  • 35. Dell Software Group35 Creating CDB Resource Plan s Pluggable Database CPU Shares Guaranteed CPU CPU Limit OLTP 3 3/4 = 75% 100% DWH 1 1/4 = 25% 60%
  • 36. Dell Software Group36 Creating CDB Resource Plan cont’d s
  • 37. Dell Software Group37  Manually enabling resource plan  Manually disabling resource plan Enabling/Disabling CDB Resource Plan s s
  • 38. Dell Software Group38 s Automatically Enable/Disable CDB Resource Plan Enabling/Disabling CDB Resource Plan cont’d Resource Plan Name
  • 39. Dell - Restricted - Confidential RAC & Multitenant
  • 40. Dell Software Group40 Why RAC & Multitenant?  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
  • 41. Dell Software Group41 s RAC & Multitenant  Multitenant fully supports RAC  PDBs can be opened on specific instances
  • 42. Dell Software Group42 Services Single SGA per CDB Instance Node1 CDB Instance 1 Node2 CDB Instance 2 Multitenant Container Database (CDB) RAC & Multitenant PDBs workload distributed across RAC instances
  • 43. Dell Software Group43 RAC & Multitenant Services Single SGA per CDB Instance Node1 CDB Instance 1 Node2 CDB Instance 2 Node3 CDB Instance 3 Multitenant Container Database (CDB) PDBs workload distributed across RAC instances
  • 44. Dell Software Group44 s RAC & Multitenant Preferred Instance Available Instance
  • 45. Dell Software Group45 s Shutting down the preferred instance PDB automatically starts in the other instance RAC & Multitenant PDB opened only in Preferred instance
  • 46. Dell - Restricted - Confidential Performance Monitoring for Multitenant Environments
  • 47. Dell Software Group47 Workload Analysis - Multitenant Environments
  • 48. Dell Software Group48 Workload Analysis - RAC & Multitenant
  • 49. Dell Software Group49 Multi Dimensional Analysis
  • 50. Dell Software Group50 Multi Dimensional Analysis
  • 51. Dell Software Group51 Multi Dimensional Analysis
  • 52. Dell Software Group52 Multitenant & AWR  Snapshots are taken at CDB-Level  AWR tables reside in CDB$ROOT container
  • 54. Dell Software Group54 Multitenant & AWR cont’d  AWR reports are available at CDB & PDB levels  DBA_HIST_* views are visible at PDB level  Unplug PDB does not contain AWR information s Data available in PDB via object-link to the CDB$ROOT container
  • 55. Dell - Restricted - Confidential Summary
  • 56. Dell Software Group56 Summary  Multitenant architecture can simplify Database consolidation  Cloud deployments (DBaaS) - Great use case for Multitenant  Non-CDB deprecation -> Faster Multitenant adoption period  Monitor PDBs workload distribution over time  Overcome QoS challenges with Services & DBRM
  • 57. Dell Software Group57 References 57  Introduction to the Multitenant Architecture (Oracle Documentation) https://docs.oracle.com/database/121/CNCPT/cdbovrvw.htm#CNCPT89234  Managing Resources with Resource Manager (Oracle Documentation) https://docs.oracle.com/database/121/ADMIN/dbrm.htm#ADMIN027  DBMS_RESOURCE_MANAGER (Oracle Documentation) https://docs.oracle.com/database/121/ARPLS/d_resmgr.htm#ARPLS050  Introduction to a Multitenant Environment (Video by Tom Kyte) https://www.youtube.com/watch?v=2MrouEW9j88  Oracle Multitenant (White Paper) http://www.oracle.com/technetwork/database/multitenant-wp-12c-1949736.pdf Note: All diagrams and illustrations are used by permission of Oracle
  • 58. Dell - Restricted - Confidential Questions?
  • 59. Dell - Restricted - Confidential Thank You!

Editor's Notes

  1. We will start this session by reviewing common database consolidation approaches in earlier versions, and then we will see what Oracle 12c multitenant is and how it can simplify consolidation challenges. The next topics will be more advanced and they will cover how to ensure QoS in Multitenant environments using Resource Manager, and specific things to take into account with RAC, Data Guard and Multitenant. We will end the session with some few tips on how to monitor your 12c Multitenant environments. We will also have a Q&A session at the end
  2. Database consolidation is a big challenge that many organizations are faced with. There are various popular approaches for database consolidation in the pre 12c era
  3. A common approach in the past was to take different databases from different machines, and consolidate them into one machine. In this example we can see separate 3 machines with a single database on each. We could have consolidate them into a single machine. This approach allows us to consolidate servers which is good from IT resources management, but we didn’t consolidate databases. We would still have to manage different databases. 3 different databases to backup, 3 different databases to upgrade, 3 databases to monitor, etc.
  4. A better approach would be to consolidate many different databases into a single database, where each database has its own schema for example. Now, we need to manage only one Oracle Database. The problem with this approach is that there are several challenges when doing database consolidation, let’s review some of them.
  5. Now, let’s review the Oracle 12c Multitenant Architecture and see how it simplifies Database Consolidation.
  6. In the past, you could configure either a single instance or RAC, but in both cases there was only one database, so there was 1:1 relationship between database to instance in case of a single instance, but 1:N relationship between database to instance in case of RAC. In Oracle 12c with the multitenant option you can have many different pluggable databases in a single instance environment or a RAC environment In a multitenant architecture, these is one instance with many pluggable databases. Each Pluggable Database is a self-contained, independent Database with its own schemas, data, etc. Pluggable Database is a “regular” Database from the application standpoint. In addition, there is one root container which stores Oracle-metadata that is shared across all the PDBs like PL/SQL packages, for example, the DBMS_SYSTEM package. All the PDBs can be plugged into the root container.
  7. Redo logs are shared in a container database, you don’t need to create a separate Data Guard environment for each PDB One Standby DB where all the PDBs are replicated to One Data Guard Configuration means simplified maintenance which reduces the administrative efforts The side effect of this architecture is that the granularity of the switchover and failover operations is at CDB level, meaning that all the PDBs in a CDB will have the same role of their CDB: all primary or all stand-by. From a consolidation perspective is important to choose which PDBs need to be consolidated on which CDBs so that you can preserve some flexibility for the most critical PDBs.
  8. Some parameter are modifiable at CDB level and some at PDB level. CDB-Level example: SGA_TARGET UNDO_RETENTION and UNDO_TABLESPACE PDB-LEVEL example: STATISTICS_LEVEL
  9. The first reason is that it allows you the to upgrade (for example from 12.1.0.1 - to 12.1.0.2) via unplug/plug, which could be faster than a "full upgrade“ in some cases ++++++ You can clone from a PDB in a single tenant configuration CDB into a different CDB ++++++ As you can see, the Non-CDB architecture is deprecated starting from 12.1.0.2 and in the future it may be desupported, so eventually there will only be one architecture and if you don't pay for the Multitenant option you'll have to run in single tenant configuration in the future, so why not getting used to it now?
  10. Oracle 12c introduced new QoS challenges when it comes to the new Multitenant architecture. For example, One or more PDBs consume too many resources. Another example is that a single PDB has an inconsistent performance because the other PDBs are competing for system resources at various times
  11. The Resource Plan Specifies how resources are allocated to the different consumer groups by using plan directives. Consumer group is a collection of user sessions grouped together by a common attribute, such as username, program, service, and so on. In this example we can see that: The 1st plan directive allocates 70% of CPU to the WAREHOUSE consumer group The 2nd plan directive allocates 20% of CPU to the OLTP consumer group The last plan directive allocates 10% of CPU to all the other sessions
  12. CPU Shares – The proportion of the CPU resources guaranteed to the PDB CPU Utilization Limit – % of the CDB available CPU that is available for the PDB Parallel Servers Limit – % of the CDB available parallel servers that are available for the PDB
  13. The first step in creating the Resource plan is to create a Pending Area, which is a temporary work area for Resource Management configuration. changes in the pending area are not visible until the pending area is submitted. Click Now we create the 1st CDB Plan directive which allocates 3 CPU shares, and allows maximum 100% CPU resources to the OLTP pluggable database Click The next step is to create the 2nd CDB Plan directive which allocates 1 CPU share, and allows maximum 60% CPU resources to the DWH pluggable database Click In the last step we will validate the pending area and submit it
  14. consolidating many pluggable databases on standalone instances has some limitations. First of all, the scalability of the server. once the Oracle CDB Instance fills up the entire host resources, customers need to continue the consolidation on newly created CDBs, on different servers. That CDB cannot be used to consolidate additional pluggable databases. In addition, it is challenging to ensure availability because every instance downtime means that all the Pluggable Database in that CDB will also not be available. Imagine that you need to change a static parameter, or patch the database, or every other downtime scenario that could be either planned or unplanned, will effectively cause downtime for all PDBs. +++++ That’s why a true consolidation solution should include both RAC and Multitenant, because with RAC, you can scale out and add additional nodes if you want to consolidate more PDBs into the Container, and in terms of availability, if instance goes does then it will not impact the Pluggable Database availability since it can still be running on the other nodes.
  15. In this example we clone a new pdb named “PDBTEST” from an existing PDB name “PROD”. ++++ As you can see, the pluggable database is MOUNTED across all RAC nodes ++++ Now we create a new Administrator-managed service named “svc_pdbtest” that has instance O121RAC2 as preferred and O121RAC1 as available
  16. If we will start the service, it will automatically open the PDB in the preferred instance ++++ Shutting down the preferred instance will cause the PDB to be started on the available instance.
  17. Whether you plan to use private cloud or public cloud, Oracle can now implement multitenancy in the database, not the application. This handles many critical requirements from your cloud Database when using consolidation such as Data Isolation and Data Security.