SlideShare ist ein Scribd-Unternehmen logo
1 von 70
Downloaden Sie, um offline zu lesen
Winning Performance Challenges
in Oracle Multitenant
Product Manager for Database Monitoring
September 18th , 2018
Pini Dibask
East Coast
Oracle User
Conference
2018
Confidential2
• Pini Dibask, Product Manager for Database Monitoring, Quest Software
• Oracle ACE
• Oracle Certified Professional DBA (OCP)
• Public Speaker at Oracle OpenWorld, IOUG Collaborate, RMOUG, DOAG, OUGN, AOUG
• Blogger: OracleDBPro.BlogSpot.com
Pini.Dibask@Quest.com
http://Linkedin.com/in/pinidibask
@pini_dibask
About the Speaker
Confidential3
Where Am I From?
 Israel, Tel Aviv
Confidential4
Who is Quest Software?
9 0 % o f
F o r t u n e 1 0 0
using our
software
1 , 5 0 0
engineers building
quality products
4 M
c o m m u n i t y
m e m b e r s
sharing best practices
3 , 5 0 0
employees focused
on customers
Quest is a global software provider trusted by
100,000 customers and 6,000 partners in 100
countries.
We help IT organizations spend less time on
administration and more time on innovation.
6 , 0 0 0
partners selling
our software
Confidential5
 Toad database development &
management tools
 Foglight & Spotlight
database performance
monitoring solutions
 SharePlex for heterogeneous
database replication
Quest Database Tools
Confidential6
 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
01
Confidential8
Server Consolidation
 Multiple databases reside on a single server
Database Consolidation - Prior to Oracle 12c
Confidential9
Database Consolidation
 Single database with multiple schemas
Database Consolidation - Prior to Oracle 12c (Cont’d)
Confidential10
 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
02
Confidential12
 Pluggable Database
 Self-contained Oracle database
 Root Container
 Oracle-supplied metadata
Oracle 12c – Multitenant Architecture
Confidential13
 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
Confidential14
 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
Confidential15
Data Guard
 Data Guard operates at CDB-Level
 Maintenance at CDB-Level = Reduced DBA efforts
Manage Many as One
Confidential16
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
Confidential17
Moving PDB from one container to another is straightforward
Multitenant Advantages - Unplug/Plug
s
Confidential18
 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
Confidential19
 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
Confidential20
 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
This feature is not a
replacement for
Data Guard
Confidential21
Upgrades
 Upgrade or apply a patch at CDB-Level (Everything at Once)
https://mikedietrichde.com/2014/08/06/upgrade-pdbs-everything-at-once-full-cdb-upgrade/
Multitenant Advantages - Manage Many as One
Confidential22
Upgrades
 Unplug/plug PDB into another container database (Once at a Time)
https://mikedietrichde.com/2014/08/05/upgrade-pdbs-one-at-a-time-unplugplug/
Multitenant Advantages - Manage Many as One
Confidential23
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)
Confidential24
Non-CDB
• Same as before 12c
Oracle Multitenant 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 252 active PDBs
…
Confidential25
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)
Confidential26
DBCA – Non CDB vs. Container
Non-CDB Single Tenant / Multitenant
Ensuring High Level
of QoS in Multitenant
Environments
03
Confidential28
 CDB-Level QoS challenge
 Allocation of resources among competing PDBs
 Example: One PDB consumes too many resources
QoS Challenges – Multitenant Environments
Confidential29
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”
Confidential30
 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
Confidential31
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
Confidential32
Oracle Resource Manager - 12c Multitenant
 Obtain information about default CDB resource plan
 Obtain information about default PDB directive
s
s
Confidential33
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%
Confidential34
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%
Confidential35
s
Creating CDB Resource Plan (Cont’d)
Confidential36
Enabling/Disabling CDB Resource Plan
 Manually enabling resource plan
 Manually disabling resource plan
s
s
Confidential37
Enabling/Disabling CDB Resource Plan (Cont’d)
s
Automatically Enable/Disable CDB Resource Plan
Confidential38
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
Confidential39
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
Confidential40
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
Confidential41
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
 Can be set at CDB level only
 Default: 2 (two PDBs and the CDB root can run tasks at the same time)
 Both parameters introduced in 12c Release 2
RAC & Multitenant
04
Confidential43
 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?
Confidential44
 Multitenant fully supports RAC
 PDBs can be opened on specific instances
RAC & Multitenant
s
Confidential45
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)
Confidential46
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)
Confidential47
RAC & Multitenant
s
Preferred Instance Available Instance
Confidential48
RAC & Multitenant
s
PDB opened only in
Preferred instance
PDB automatically starts in
the other instance
Shutting down the
preferred instance
Performance
Monitoring
05
Confidential50
 AWR Snapshots taken only at CDB-Level
 AWR data reside in cdb$root container
Multitenant & AWR – Oracle 12c Release 1
Confidential51
Multitenant & AWR – Oracle 12c Release 1 (Cont’d)
s
Confidential52
 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)
Confidential53
Multitenant & AWR – Oracle 12c Release 1 (Cont’d)
Confidential54
 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
Confidential55
Multitenant & AWR – Oracle 12c Release 2 (Cont’d)
What do these three things have in common?
They all provide a clearer perspective -
You can’t fix what you can’t see!
What if you could…
Gain complete visibility into the health
and performance of your cross-
platform database environments
Confidential58
Workload Analysis using OEM ASH Analytics
Only with
Enterprise Edition +
Diagnostics Pack
Confidential59
Foglight for Databases: Cross Platform Visibility
Confidential60
Workload Analysis using Foglight for Oracle
Confidential61
Workload Analysis using Foglight for Oracle
Confidential62
Workload Analysis using Foglight for Oracle
Confidential63
Quickly identifying Blocking locks issues
Confidential64
Quickly identifying Blocking locks issues
Confidential65
Quickly identifying Blocking locks issues
Confidential66
Quickly identifying Blocking locks issues
Confidential67
Quickly identifying Blocking locks issues
Confidential68
 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://mikedietrichde.com/
Note: All diagrams and illustrations are used by permission of Oracle
References
Questions?
Thank you

Weitere ähnliche Inhalte

Was ist angesagt?

Oracle Fusion SCM Demo
Oracle Fusion SCM DemoOracle Fusion SCM Demo
Oracle Fusion SCM DemoClick4learning
 
Oracle R12 – Multiple Organization Setup Steps
Oracle R12 – Multiple Organization Setup StepsOracle R12 – Multiple Organization Setup Steps
Oracle R12 – Multiple Organization Setup StepsBoopathy CS
 
R12 New Features In Order Management
R12 New Features In Order ManagementR12 New Features In Order Management
R12 New Features In Order Managementravisagaram
 
02 Writing Executable Statments
02 Writing Executable Statments02 Writing Executable Statments
02 Writing Executable Statmentsrehaniltifat
 
Create Directory Under ASM Diskgroup
Create Directory Under ASM DiskgroupCreate Directory Under ASM Diskgroup
Create Directory Under ASM DiskgroupArun Sharma
 
Top 10 Oracle SQL tuning tips
Top 10 Oracle SQL tuning tipsTop 10 Oracle SQL tuning tips
Top 10 Oracle SQL tuning tipsNirav Shah
 
How to Find Patterns in Your Data with SQL
How to Find Patterns in Your Data with SQLHow to Find Patterns in Your Data with SQL
How to Find Patterns in Your Data with SQLChris Saxon
 
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DBHow a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DBCarlos Sierra
 
Hr profile option
Hr profile optionHr profile option
Hr profile optionFeras Ahmad
 
Uploading Data Using Oracle Web ADI
Uploading Data Using Oracle Web ADIUploading Data Using Oracle Web ADI
Uploading Data Using Oracle Web ADIRapidValue
 
R12 subinventory transfer and inter org transfers
R12 subinventory transfer and inter org transfersR12 subinventory transfer and inter org transfers
R12 subinventory transfer and inter org transfersshravan kumar chelika
 
EBS-technical_upgrade_best_practices 12.1 or 12.2
EBS-technical_upgrade_best_practices 12.1 or 12.2EBS-technical_upgrade_best_practices 12.1 or 12.2
EBS-technical_upgrade_best_practices 12.1 or 12.2Berry Clemens
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Aaron Shilo
 
Chasing the optimizer
Chasing the optimizerChasing the optimizer
Chasing the optimizerMauro Pagano
 
Substitute Receipt (Oracle-Purchasing R12.2.0)
Substitute Receipt (Oracle-Purchasing R12.2.0)Substitute Receipt (Oracle-Purchasing R12.2.0)
Substitute Receipt (Oracle-Purchasing R12.2.0)FAHAD ULLAH
 
Ap invoice line level approval - R12
Ap invoice line level approval - R12  Ap invoice line level approval - R12
Ap invoice line level approval - R12 Anand Mallarapu
 

Was ist angesagt? (20)

Oracle Fusion SCM Demo
Oracle Fusion SCM DemoOracle Fusion SCM Demo
Oracle Fusion SCM Demo
 
Oracle R12 – Multiple Organization Setup Steps
Oracle R12 – Multiple Organization Setup StepsOracle R12 – Multiple Organization Setup Steps
Oracle R12 – Multiple Organization Setup Steps
 
R12 New Features In Order Management
R12 New Features In Order ManagementR12 New Features In Order Management
R12 New Features In Order Management
 
02 Writing Executable Statments
02 Writing Executable Statments02 Writing Executable Statments
02 Writing Executable Statments
 
Create Directory Under ASM Diskgroup
Create Directory Under ASM DiskgroupCreate Directory Under ASM Diskgroup
Create Directory Under ASM Diskgroup
 
Top 10 Oracle SQL tuning tips
Top 10 Oracle SQL tuning tipsTop 10 Oracle SQL tuning tips
Top 10 Oracle SQL tuning tips
 
How to Find Patterns in Your Data with SQL
How to Find Patterns in Your Data with SQLHow to Find Patterns in Your Data with SQL
How to Find Patterns in Your Data with SQL
 
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DBHow a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
 
Hr profile option
Hr profile optionHr profile option
Hr profile option
 
Curso de MySQL 5.7
Curso de MySQL 5.7Curso de MySQL 5.7
Curso de MySQL 5.7
 
Uploading Data Using Oracle Web ADI
Uploading Data Using Oracle Web ADIUploading Data Using Oracle Web ADI
Uploading Data Using Oracle Web ADI
 
Oracle HRMS Proration
Oracle HRMS ProrationOracle HRMS Proration
Oracle HRMS Proration
 
R12 subinventory transfer and inter org transfers
R12 subinventory transfer and inter org transfersR12 subinventory transfer and inter org transfers
R12 subinventory transfer and inter org transfers
 
EBS-technical_upgrade_best_practices 12.1 or 12.2
EBS-technical_upgrade_best_practices 12.1 or 12.2EBS-technical_upgrade_best_practices 12.1 or 12.2
EBS-technical_upgrade_best_practices 12.1 or 12.2
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
 
Process scheduling
Process schedulingProcess scheduling
Process scheduling
 
Etl testing
Etl testingEtl testing
Etl testing
 
Chasing the optimizer
Chasing the optimizerChasing the optimizer
Chasing the optimizer
 
Substitute Receipt (Oracle-Purchasing R12.2.0)
Substitute Receipt (Oracle-Purchasing R12.2.0)Substitute Receipt (Oracle-Purchasing R12.2.0)
Substitute Receipt (Oracle-Purchasing R12.2.0)
 
Ap invoice line level approval - R12
Ap invoice line level approval - R12  Ap invoice line level approval - R12
Ap invoice line level approval - R12
 

Ähnlich wie Winning performance challenges in oracle multitenant

RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantRMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle 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
 
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
 
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
 
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
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantPini Dibask
 
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
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudipasalapudi123
 
Taming the PDB: Resource Management and Lockdown Profiles
Taming the PDB: Resource Management and Lockdown ProfilesTaming the PDB: Resource Management and Lockdown Profiles
Taming the PDB: Resource Management and Lockdown ProfilesMarkus Flechtner
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle MultitenantJitendra Singh
 
Gloc gangler 2018._v4
Gloc gangler 2018._v4Gloc gangler 2018._v4
Gloc gangler 2018._v4Secure-24
 
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
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginnersPini Dibask
 
Oracle Data Guard for Beginners
Oracle Data Guard for BeginnersOracle Data Guard for Beginners
Oracle Data Guard for BeginnersPini 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
 
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
 
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)Kristofferson A
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insightsKirill Loifman
 
TechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New FeaturesTechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New FeaturesTrivadis
 

Ähnlich wie Winning performance challenges in oracle multitenant (20)

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
 
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
 
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
 
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...
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle Multitenant
 
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
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudi
 
Taming the PDB: Resource Management and Lockdown Profiles
Taming the PDB: Resource Management and Lockdown ProfilesTaming the PDB: Resource Management and Lockdown Profiles
Taming the PDB: Resource Management and Lockdown Profiles
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
 
Gloc gangler 2018._v4
Gloc gangler 2018._v4Gloc gangler 2018._v4
Gloc gangler 2018._v4
 
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
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginners
 
Oracle Data Guard for Beginners
Oracle Data Guard for BeginnersOracle Data Guard for Beginners
Oracle Data Guard for Beginners
 
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
 
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
 
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 
TechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New FeaturesTechEvent 18c Multitenant New Features
TechEvent 18c Multitenant New Features
 

Mehr von 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
 
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 - 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
 
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
 

Mehr von 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
 
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 - 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)
 
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
 

Kürzlich hochgeladen

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 

Kürzlich hochgeladen (20)

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 

Winning performance challenges in oracle multitenant

  • 1. Winning Performance Challenges in Oracle Multitenant Product Manager for Database Monitoring September 18th , 2018 Pini Dibask East Coast Oracle User Conference 2018
  • 2. Confidential2 • Pini Dibask, Product Manager for Database Monitoring, Quest Software • Oracle ACE • Oracle Certified Professional DBA (OCP) • Public Speaker at Oracle OpenWorld, IOUG Collaborate, RMOUG, DOAG, OUGN, AOUG • Blogger: OracleDBPro.BlogSpot.com Pini.Dibask@Quest.com http://Linkedin.com/in/pinidibask @pini_dibask About the Speaker
  • 3. Confidential3 Where Am I From?  Israel, Tel Aviv
  • 4. Confidential4 Who is Quest Software? 9 0 % o f F o r t u n e 1 0 0 using our software 1 , 5 0 0 engineers building quality products 4 M c o m m u n i t y m e m b e r s sharing best practices 3 , 5 0 0 employees focused on customers Quest is a global software provider trusted by 100,000 customers and 6,000 partners in 100 countries. We help IT organizations spend less time on administration and more time on innovation. 6 , 0 0 0 partners selling our software
  • 5. Confidential5  Toad database development & management tools  Foglight & Spotlight database performance monitoring solutions  SharePlex for heterogeneous database replication Quest Database Tools
  • 6. Confidential6  Introduction to Database Consolidation  Oracle Multitenant Concepts  Ensuring QoS in Multitenant Environments  RAC and Multitenant  Performance Monitoring for Multitenant Environments Agenda
  • 8. Confidential8 Server Consolidation  Multiple databases reside on a single server Database Consolidation - Prior to Oracle 12c
  • 9. Confidential9 Database Consolidation  Single database with multiple schemas Database Consolidation - Prior to Oracle 12c (Cont’d)
  • 10. Confidential10  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
  • 12. Confidential12  Pluggable Database  Self-contained Oracle database  Root Container  Oracle-supplied metadata Oracle 12c – Multitenant Architecture
  • 13. Confidential13  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
  • 14. Confidential14  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
  • 15. Confidential15 Data Guard  Data Guard operates at CDB-Level  Maintenance at CDB-Level = Reduced DBA efforts Manage Many as One
  • 16. Confidential16 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
  • 17. Confidential17 Moving PDB from one container to another is straightforward Multitenant Advantages - Unplug/Plug s
  • 18. Confidential18  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
  • 19. Confidential19  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
  • 20. Confidential20  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 This feature is not a replacement for Data Guard
  • 21. Confidential21 Upgrades  Upgrade or apply a patch at CDB-Level (Everything at Once) https://mikedietrichde.com/2014/08/06/upgrade-pdbs-everything-at-once-full-cdb-upgrade/ Multitenant Advantages - Manage Many as One
  • 22. Confidential22 Upgrades  Unplug/plug PDB into another container database (Once at a Time) https://mikedietrichde.com/2014/08/05/upgrade-pdbs-one-at-a-time-unplugplug/ Multitenant Advantages - Manage Many as One
  • 23. Confidential23 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)
  • 24. Confidential24 Non-CDB • Same as before 12c Oracle Multitenant 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 252 active PDBs …
  • 25. Confidential25 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)
  • 26. Confidential26 DBCA – Non CDB vs. Container Non-CDB Single Tenant / Multitenant
  • 27. Ensuring High Level of QoS in Multitenant Environments 03
  • 28. Confidential28  CDB-Level QoS challenge  Allocation of resources among competing PDBs  Example: One PDB consumes too many resources QoS Challenges – Multitenant Environments
  • 29. Confidential29 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”
  • 30. Confidential30  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
  • 31. Confidential31 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
  • 32. Confidential32 Oracle Resource Manager - 12c Multitenant  Obtain information about default CDB resource plan  Obtain information about default PDB directive s s
  • 33. Confidential33 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%
  • 34. Confidential34 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%
  • 36. Confidential36 Enabling/Disabling CDB Resource Plan  Manually enabling resource plan  Manually disabling resource plan s s
  • 37. Confidential37 Enabling/Disabling CDB Resource Plan (Cont’d) s Automatically Enable/Disable CDB Resource Plan
  • 38. Confidential38 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
  • 39. Confidential39 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
  • 40. Confidential40 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
  • 41. Confidential41 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  Can be set at CDB level only  Default: 2 (two PDBs and the CDB root can run tasks at the same time)  Both parameters introduced in 12c Release 2
  • 43. Confidential43  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?
  • 44. Confidential44  Multitenant fully supports RAC  PDBs can be opened on specific instances RAC & Multitenant s
  • 45. Confidential45 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)
  • 46. Confidential46 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)
  • 47. Confidential47 RAC & Multitenant s Preferred Instance Available Instance
  • 48. Confidential48 RAC & Multitenant s PDB opened only in Preferred instance PDB automatically starts in the other instance Shutting down the preferred instance
  • 50. Confidential50  AWR Snapshots taken only at CDB-Level  AWR data reside in cdb$root container Multitenant & AWR – Oracle 12c Release 1
  • 51. Confidential51 Multitenant & AWR – Oracle 12c Release 1 (Cont’d) s
  • 52. Confidential52  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)
  • 53. Confidential53 Multitenant & AWR – Oracle 12c Release 1 (Cont’d)
  • 54. Confidential54  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
  • 55. Confidential55 Multitenant & AWR – Oracle 12c Release 2 (Cont’d)
  • 56. What do these three things have in common?
  • 57. They all provide a clearer perspective - You can’t fix what you can’t see! What if you could… Gain complete visibility into the health and performance of your cross- platform database environments
  • 58. Confidential58 Workload Analysis using OEM ASH Analytics Only with Enterprise Edition + Diagnostics Pack
  • 59. Confidential59 Foglight for Databases: Cross Platform Visibility
  • 68. Confidential68  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://mikedietrichde.com/ Note: All diagrams and illustrations are used by permission of Oracle References