SlideShare a Scribd company logo
1 of 7
Download to read offline
COLLABORATE 15 – IOUG Forum
Database
1 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant”
White Paper
Oracle RAC, Oracle Data Guard, and Pluggable Databases:
When MAA Meets Oracle Multitenant
Ludovico Caldara, Trivadis AG
ABSTRACT
This whitepaper describes how Pluggable Databases work in a Maximum Availability Architecture and how to deal with PDB
creation and services.
TARGET AUDIENCE
This whitepaper is targeted at database administrators and architects who want to know more about Oracle
Multitenant in HA environments.
EXECUTIVE SUMMARY
After reading this white-paper, you should know:
• about one of the most complex and effective solutions for database consolidation
• how to recognize the benefits of Oracle RAC in association with Multitenant
• how pluggable databases (PDBs) react in a Data Guard environment
• how to identify the main limitations and strengths of the whole architecture
COLLABORATE 15 – IOUG Forum
Database
2 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant”
White Paper
RAC AND MULTITENANT
WHY AND HOW
Oracle has released the Oracle Multitenant option upon the release of Oracle Database 12c. Since the beginning, Oracle has
marketed this option as “the” solution for consolidation and foundation for private cloud solutions.
However, 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:
This kind of consolidation may soon lead to CDB over provisioning, forcing customers to move PDBs to different CDBs and
to react to increasing resource consumption.
Moreover, there’s a problem of availability: when customers need to change static parameters, or need to patch or maintain the
software or hardware, having many PDBs consolidated on one standalone CDB can make downtime harder to schedule,
because different applications may need different maintenance windows.
Briefly said, implementing Multitenant on standalone instances does not resolve the silo paradigm, it just move the problem at
the CDB level rather than at the database level.
Having Oracle Real Application Clusters as backend solution can make the difference, because it provides both availability and
scalability.
COLLABORATE 15 – IOUG Forum
Database
3 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant”
White Paper
At availability level, the CDB runs on several instances: one instance failure does not affect the applications.
At scalability level, it’s possible to add new instances to accommodate more PDBs as soon as new resources are needed.
The many PDBs don’t compete for resources, because each PDB may be opened selectively on just a subset of instances,
making possible to spread the resource consumption over all the instances. Which instances are opened on which server, it
depends on the services defined at the cluster level.
DEALING WITH PDBS AND SERVICES
The pluggable databases, once created, are mounted by default. In the following example, a pluggable database named MAAZ is
mounted on both instances in a two-node RAC CDB.
SYS@CDBATL_2> select INST_ID, CON_ID, name, OPEN_MODE
2 from gv$pdbs where con_id!=2 order by name, inst_id;
INST_ID CON_ID NAME OPEN_MODE
---------- ---------- ------------------------------ ----------
1 3 MAAZ MOUNTED
2 3 MAAZ MOUNTED
But when a service exists for the PDB and it’s started, the start of the service will open the PDB:
$ srvctl add service -db CDBATL -service maazapp -serverpool CDBPOOL -cardinality
singleton -role primary -failovertype select -failovermethod basic -policy
automatic -failoverdelay 2 -failoverretry 180 -pdb maaz
$ srvctl start service -db CDBATL -service maazapp -instance CDBATL_1
COLLABORATE 15 – IOUG Forum
Database
4 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant”
White Paper
We can see that the srvctl commands have a new switch “-pdb” that let specify to which PDB we want to assign the newly
created service. In this case the service has been defined as singleton: the service runs on one instance only, and by
consequence the PDB is opened on that instance only:
INST_ID CON_ID NAME OPEN_MODE
---------- ---------- ------------------------------ ----------
1 3 MAAZ READ WRITE
2 3 MAAZ MOUNTED
By opposite, a stop of the service on an instance will not close the PDB: all sessions stay connected even if the service is
stopped. The DBAs need to close the PDB manually if he wants to clean up the instance.
It’s possible to open PDBs selectively on a specific number of instances by setting different services with different
cardinalities. This permits a complete separation of resources and a much higher scalability coupled with multitenant, because
every instance has its own redo thread, undo tablespace and especially its own buffer cache: one instance buffer cache will be
populated only with blocks belonging to the PDBs active on that instance.
Thanks to this separation of resources, it becomes evident that RAC is an important technology enabler that not only provides
higher availability to a Multitenant architecture, but also boosts the scalability: in case of resource starvation, it’s possible to
add one or more nodes to the cluster and rebalance the services/PDBs to the newly created instances.
The main limitation is the maximum number of services that can be specified: no more than 512 services can be created on a
single CDB; after that a new CDB is required. The number of services becomes an important factor for a successful
consolidation strategy in big environments.
Another important point is that if a node crashes, before the sessions can failover, the PDB need to be open: if the service is
singleton and no other instances have the PDB open, the sessions will need to wait for a new instance to be ready. Opening
critical PDBs on more than one instance can overcome this problem.
RAC, DATA GUARD AND MULTITENANT
WHY AND HOW
Oracle Multitenant in an Oracle Data Guard environment brings an essential benefit: because the redo threads are shared
amongst all PDBs, there’s the need of just one stand-by CDB where all the PDBs are replicated. This implies the existence of
only one Data Guard configuration and simplified maintenance, thus reducing enormously the administrative effort.
COLLABORATE 15 – IOUG Forum
Database
5 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant”
White Paper
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.
PDB CREATION AND CLONING IN A MAA ENVIRONMENT
Upon the creation of a new pluggable database from PDB$SEED (the “standard” creation), the datafiles of the PDB$SEED
database are copied and assigned to the newly created PDB. At the stand-by side, the Data Guard technology also copies the
PDB$SEED datafiles from the local (stand-by) seed database, making the creation process transparent and allowing the
recovery process to continue with the recovery of the new datafiles.
If the pluggable database is created by cloning an existent pluggable database (create pluggable database A from B;) the source
database is copied on both sides (primary and stand-by) only if the stand-by database is open read-only, implying the need of
Oracle Active Data Guard license.
COLLABORATE 15 – IOUG Forum
Database
6 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant”
White Paper
If Active Data Guard is not licensed, the documentation says that it’s necessary to copy the datafiles on the standby before the
clone:
If you plan to create a PDB as a clone from a different PDB, then copy the data files that belong to the source PDB over to the standby
database. (This step is not necessary in an Active Data Guard environment because the data files are copied automatically when the PDB
is created on the standby database.)
http://docs.oracle.com/database/121/SBYDB/create_ps.htm#SBYDB5260
But in a RAC environment, the datafiles are managed by ASM and there’s no way to copy the datafiles with the same path
specified in the controlfiles. A manual restore of the new PDB is required on the standby CDB after the cloning occurs.
Oracle has published a MOS Note: Making Use of the STANDBYS=NONE Feature with Oracle Multitenant (Doc ID 1916648.1)
that describes the best way to deal with pluggable database creation in a Data Guard environment, starting with release
12.1.0.2.
DEALING WITH PDBS AND SERVICES
In a Data Guard environment, the way to create new services doesn’t change. If we create a read-only service on the stand-by
database (Active Data Guard) we need to specify the correct role (physical_standby).
The only difference is that we need to specify the correct pluggable database with the –pdb switch:
COLLABORATE 15 – IOUG Forum
Database
7 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant”
White Paper
$ srvctl add service –db db_unique_name –service ro_service_name 
–serverpool server_pool –cardinality uniform –role physical_standby 
–failovertype select –failovermethod basic -policy automatic 
-failoverdelay 2 –failoverretry 180 -pdb pluggable_database
Again, it’s sensible to keep in mind that there’s an overall limit of 512 services in a CDB. In an Active Data Guard +
Multitenant environment we’ll have, for each PDB:
• 1 default service with the name of the PDB
• 1 read-write service (more than recommended!)
• 1 read-only service for the stand-by database
The maximum number of PDBs per CDB will then be 512/3=170 PDBs, way below the limit of 252 PDBs per CDB. The
more services we plan to create per PDB, the less PDB we’ll be able to consolidate in the same CDB.
The connection description also doesn’t change from a traditional MAA connection string, except that the SERVICE_NAME
must point to a service assigned to a specific PDB:
LUDOAPP = (DESCRIPTION_LIST=
(LOAD_BALANCE=off) (FAILOVER=on)
(DESCRIPTION = (CONNECT_TIMEOUT=5)
(TRANSPORT_CONNECT_TIMEOUT=3) (RETRY_COUNT=3)
(ADDRESS_LIST= (LOAD_BALANCE=on)
(ADDRESS = (PROTOCOL = TCP)(HOST = raca-scan)(PORT = 1521)))
(CONNECT_DATA = (SERVICE_NAME = LUDOAPP)) )
(DESCRIPTION = (CONNECT_TIMEOUT=5)
(TRANSPORT_CONNECT_TIMEOUT=3) (RETRY_COUNT=3)
(ADDRESS_LIST= (LOAD_BALANCE=on)
(ADDRESS = (PROTOCOL = TCP)(HOST = racb-scan)(PORT = 1521)))
(CONNECT_DATA = (SERVICE_NAME = LUDOAPP)) ) )
Always from a consolidation perspective, having a highly available OID for naming resolution is highly recommended.
MY CONCLUSION
Active Data Guard has become a more and more appealing option, but with the PDB cloning limitation on non-active
standbys, it’s not just a nice-to-have. ADG is the best solution to a concrete Data Guard+Multitenant limitation. A
consolidation with Multitenant requires ideally all three options (Multitenant, Real Application Cluster, Active Data Guard)
that are not easily affordable by customers, despite the multiple benefits that this solution provides.
From a consolidation perspective, the MAA+Multitenant architecture is the best choice in the direction of a cloud
infrastructure because it has all the requirements in term of consolidation density, scalability, availability and ease of
administration, so I would not hesitate to recommend it. Moreover, Oracle has recently announced the deprecation of the
non-CDB architecture: a move that make customers considering the new architecture as a durable choice.

More Related Content

What's hot

Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodLudovico Caldara
 
Always on in sql server 2017
Always on in sql server 2017Always on in sql server 2017
Always on in sql server 2017Gianluca Hotz
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentationVimlendu Kumar
 
Advanced rac troubleshooting
Advanced rac troubleshootingAdvanced rac troubleshooting
Advanced rac troubleshootingRiyaj Shamsudeen
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cSatishbabu Gunukula
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACMarkus Michalewicz
 
Chasing the optimizer
Chasing the optimizerChasing the optimizer
Chasing the optimizerMauro Pagano
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsZohar Elkayam
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuningYogiji Creations
 
Asyncifying WebAssembly for the modern Web
Asyncifying WebAssembly for the modern WebAsyncifying WebAssembly for the modern Web
Asyncifying WebAssembly for the modern WebIngvar Stepanyan
 
Oracle on kubernetes 101 - Dec/2021
Oracle on kubernetes 101 - Dec/2021Oracle on kubernetes 101 - Dec/2021
Oracle on kubernetes 101 - Dec/2021Nelson Calero
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different hostOsama Mustafa
 
[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화
[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화
[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화OpenStack Korea Community
 
re:Invent 2022 DAT326 Deep dive into Amazon Aurora and its innovations
re:Invent 2022  DAT326 Deep dive into Amazon Aurora and its innovationsre:Invent 2022  DAT326 Deep dive into Amazon Aurora and its innovations
re:Invent 2022 DAT326 Deep dive into Amazon Aurora and its innovationsGrant McAlister
 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningMichel Schildmeijer
 

What's hot (20)

Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The Hood
 
Always on in sql server 2017
Always on in sql server 2017Always on in sql server 2017
Always on in sql server 2017
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentation
 
Advanced rac troubleshooting
Advanced rac troubleshootingAdvanced rac troubleshooting
Advanced rac troubleshooting
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
Chasing the optimizer
Chasing the optimizerChasing the optimizer
Chasing the optimizer
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion Edition
 
Oracle RAC 12c Overview
Oracle RAC 12c OverviewOracle RAC 12c Overview
Oracle RAC 12c Overview
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
 
Asyncifying WebAssembly for the modern Web
Asyncifying WebAssembly for the modern WebAsyncifying WebAssembly for the modern Web
Asyncifying WebAssembly for the modern Web
 
Aurora Deep Dive | AWS Floor28
Aurora Deep Dive | AWS Floor28Aurora Deep Dive | AWS Floor28
Aurora Deep Dive | AWS Floor28
 
Redo internals ppt
Redo internals pptRedo internals ppt
Redo internals ppt
 
Oracle on kubernetes 101 - Dec/2021
Oracle on kubernetes 101 - Dec/2021Oracle on kubernetes 101 - Dec/2021
Oracle on kubernetes 101 - Dec/2021
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different host
 
[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화
[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화
[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화
 
re:Invent 2022 DAT326 Deep dive into Amazon Aurora and its innovations
re:Invent 2022  DAT326 Deep dive into Amazon Aurora and its innovationsre:Invent 2022  DAT326 Deep dive into Amazon Aurora and its innovations
re:Invent 2022 DAT326 Deep dive into Amazon Aurora and its innovations
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuning
 

Similar to Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant (Paper)

Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databasesomnidba
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationFrancisco Alvarez
 
Consolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficienciesConsolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficienciesDLT Solutions
 
Security Multitenant
Security MultitenantSecurity Multitenant
Security MultitenantArush Jain
 
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
 
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
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudipasalapudi123
 
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
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESLudovico Caldara
 
Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9Mohamed Sadek
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantPini Dibask
 
A lab tutorial about How you can get started and automate DB12c Multitenant l...
A lab tutorial about How you can get started and automate DB12c Multitenant l...A lab tutorial about How you can get started and automate DB12c Multitenant l...
A lab tutorial about How you can get started and automate DB12c Multitenant l...Hari Srinivasan
 
EOUG95 - Client Server Very Large Databases - Paper
EOUG95 - Client Server Very Large Databases - PaperEOUG95 - Client Server Very Large Databases - Paper
EOUG95 - Client Server Very Large Databases - PaperDavid Walker
 
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 Database 12c "New features"
Oracle Database 12c "New features" Oracle Database 12c "New features"
Oracle Database 12c "New features" Anar Godjaev
 
plug-into-cloud-wp-12c-1896100
plug-into-cloud-wp-12c-1896100plug-into-cloud-wp-12c-1896100
plug-into-cloud-wp-12c-1896100Prithvi Rajkumar
 

Similar to Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant (Paper) (20)

Presentation day1oracle 12c
Presentation day1oracle 12cPresentation day1oracle 12c
Presentation day1oracle 12c
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databases
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? Presentation
 
Consolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficienciesConsolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficiencies
 
Oracle 12c - Multitenant Feature
Oracle 12c - Multitenant FeatureOracle 12c - Multitenant Feature
Oracle 12c - Multitenant Feature
 
Security Multitenant
Security MultitenantSecurity Multitenant
Security Multitenant
 
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
 
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
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudi
 
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
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
 
Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle Multitenant
 
A lab tutorial about How you can get started and automate DB12c Multitenant l...
A lab tutorial about How you can get started and automate DB12c Multitenant l...A lab tutorial about How you can get started and automate DB12c Multitenant l...
A lab tutorial about How you can get started and automate DB12c Multitenant l...
 
EOUG95 - Client Server Very Large Databases - Paper
EOUG95 - Client Server Very Large Databases - PaperEOUG95 - Client Server Very Large Databases - Paper
EOUG95 - Client Server Very Large Databases - Paper
 
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 Database 12c "New features"
Oracle Database 12c "New features" Oracle Database 12c "New features"
Oracle Database 12c "New features"
 
plug-into-cloud-wp-12c-1896100
plug-into-cloud-wp-12c-1896100plug-into-cloud-wp-12c-1896100
plug-into-cloud-wp-12c-1896100
 

More from Ludovico Caldara

Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesLudovico Caldara
 
Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Ludovico Caldara
 
Oracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityOracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityLudovico Caldara
 
Let your DBAs get some REST(api)
Let your DBAs get some REST(api)Let your DBAs get some REST(api)
Let your DBAs get some REST(api)Ludovico Caldara
 
Effective Oracle Home Management - UKOUG_Tech18
Effective Oracle Home Management  - UKOUG_Tech18Effective Oracle Home Management  - UKOUG_Tech18
Effective Oracle Home Management - UKOUG_Tech18Ludovico Caldara
 
Effective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model eraEffective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model eraLudovico Caldara
 
Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Ludovico Caldara
 
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...Ludovico Caldara
 
Get the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionGet the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionLudovico Caldara
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionLudovico Caldara
 
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMBADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMBLudovico Caldara
 
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.Ludovico Caldara
 
Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)Ludovico Caldara
 
Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Ludovico Caldara
 
Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Ludovico Caldara
 
Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Ludovico Caldara
 
Oracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical OverviewOracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical OverviewLudovico Caldara
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Ludovico Caldara
 

More from Ludovico Caldara (20)

Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
 
Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?
 
Oracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityOracle Drivers configuration for High Availability
Oracle Drivers configuration for High Availability
 
Long live to CMAN!
Long live to CMAN!Long live to CMAN!
Long live to CMAN!
 
Let your DBAs get some REST(api)
Let your DBAs get some REST(api)Let your DBAs get some REST(api)
Let your DBAs get some REST(api)
 
Effective Oracle Home Management - UKOUG_Tech18
Effective Oracle Home Management  - UKOUG_Tech18Effective Oracle Home Management  - UKOUG_Tech18
Effective Oracle Home Management - UKOUG_Tech18
 
Effective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model eraEffective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model era
 
Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?
 
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
 
Get the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionGet the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW version
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG version
 
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMBADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
 
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
 
Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)
 
Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.
 
Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!
 
Rapid Home Provisioning
Rapid Home ProvisioningRapid Home Provisioning
Rapid Home Provisioning
 
Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?
 
Oracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical OverviewOracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical Overview
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
 

Recently uploaded

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
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
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
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
 

Recently uploaded (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
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
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
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
 
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)
 

Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant (Paper)

  • 1. COLLABORATE 15 – IOUG Forum Database 1 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant” White Paper Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant Ludovico Caldara, Trivadis AG ABSTRACT This whitepaper describes how Pluggable Databases work in a Maximum Availability Architecture and how to deal with PDB creation and services. TARGET AUDIENCE This whitepaper is targeted at database administrators and architects who want to know more about Oracle Multitenant in HA environments. EXECUTIVE SUMMARY After reading this white-paper, you should know: • about one of the most complex and effective solutions for database consolidation • how to recognize the benefits of Oracle RAC in association with Multitenant • how pluggable databases (PDBs) react in a Data Guard environment • how to identify the main limitations and strengths of the whole architecture
  • 2. COLLABORATE 15 – IOUG Forum Database 2 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant” White Paper RAC AND MULTITENANT WHY AND HOW Oracle has released the Oracle Multitenant option upon the release of Oracle Database 12c. Since the beginning, Oracle has marketed this option as “the” solution for consolidation and foundation for private cloud solutions. However, 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: This kind of consolidation may soon lead to CDB over provisioning, forcing customers to move PDBs to different CDBs and to react to increasing resource consumption. Moreover, there’s a problem of availability: when customers need to change static parameters, or need to patch or maintain the software or hardware, having many PDBs consolidated on one standalone CDB can make downtime harder to schedule, because different applications may need different maintenance windows. Briefly said, implementing Multitenant on standalone instances does not resolve the silo paradigm, it just move the problem at the CDB level rather than at the database level. Having Oracle Real Application Clusters as backend solution can make the difference, because it provides both availability and scalability.
  • 3. COLLABORATE 15 – IOUG Forum Database 3 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant” White Paper At availability level, the CDB runs on several instances: one instance failure does not affect the applications. At scalability level, it’s possible to add new instances to accommodate more PDBs as soon as new resources are needed. The many PDBs don’t compete for resources, because each PDB may be opened selectively on just a subset of instances, making possible to spread the resource consumption over all the instances. Which instances are opened on which server, it depends on the services defined at the cluster level. DEALING WITH PDBS AND SERVICES The pluggable databases, once created, are mounted by default. In the following example, a pluggable database named MAAZ is mounted on both instances in a two-node RAC CDB. SYS@CDBATL_2> select INST_ID, CON_ID, name, OPEN_MODE 2 from gv$pdbs where con_id!=2 order by name, inst_id; INST_ID CON_ID NAME OPEN_MODE ---------- ---------- ------------------------------ ---------- 1 3 MAAZ MOUNTED 2 3 MAAZ MOUNTED But when a service exists for the PDB and it’s started, the start of the service will open the PDB: $ srvctl add service -db CDBATL -service maazapp -serverpool CDBPOOL -cardinality singleton -role primary -failovertype select -failovermethod basic -policy automatic -failoverdelay 2 -failoverretry 180 -pdb maaz $ srvctl start service -db CDBATL -service maazapp -instance CDBATL_1
  • 4. COLLABORATE 15 – IOUG Forum Database 4 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant” White Paper We can see that the srvctl commands have a new switch “-pdb” that let specify to which PDB we want to assign the newly created service. In this case the service has been defined as singleton: the service runs on one instance only, and by consequence the PDB is opened on that instance only: INST_ID CON_ID NAME OPEN_MODE ---------- ---------- ------------------------------ ---------- 1 3 MAAZ READ WRITE 2 3 MAAZ MOUNTED By opposite, a stop of the service on an instance will not close the PDB: all sessions stay connected even if the service is stopped. The DBAs need to close the PDB manually if he wants to clean up the instance. It’s possible to open PDBs selectively on a specific number of instances by setting different services with different cardinalities. This permits a complete separation of resources and a much higher scalability coupled with multitenant, because every instance has its own redo thread, undo tablespace and especially its own buffer cache: one instance buffer cache will be populated only with blocks belonging to the PDBs active on that instance. Thanks to this separation of resources, it becomes evident that RAC is an important technology enabler that not only provides higher availability to a Multitenant architecture, but also boosts the scalability: in case of resource starvation, it’s possible to add one or more nodes to the cluster and rebalance the services/PDBs to the newly created instances. The main limitation is the maximum number of services that can be specified: no more than 512 services can be created on a single CDB; after that a new CDB is required. The number of services becomes an important factor for a successful consolidation strategy in big environments. Another important point is that if a node crashes, before the sessions can failover, the PDB need to be open: if the service is singleton and no other instances have the PDB open, the sessions will need to wait for a new instance to be ready. Opening critical PDBs on more than one instance can overcome this problem. RAC, DATA GUARD AND MULTITENANT WHY AND HOW Oracle Multitenant in an Oracle Data Guard environment brings an essential benefit: because the redo threads are shared amongst all PDBs, there’s the need of just one stand-by CDB where all the PDBs are replicated. This implies the existence of only one Data Guard configuration and simplified maintenance, thus reducing enormously the administrative effort.
  • 5. COLLABORATE 15 – IOUG Forum Database 5 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant” White Paper 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. PDB CREATION AND CLONING IN A MAA ENVIRONMENT Upon the creation of a new pluggable database from PDB$SEED (the “standard” creation), the datafiles of the PDB$SEED database are copied and assigned to the newly created PDB. At the stand-by side, the Data Guard technology also copies the PDB$SEED datafiles from the local (stand-by) seed database, making the creation process transparent and allowing the recovery process to continue with the recovery of the new datafiles. If the pluggable database is created by cloning an existent pluggable database (create pluggable database A from B;) the source database is copied on both sides (primary and stand-by) only if the stand-by database is open read-only, implying the need of Oracle Active Data Guard license.
  • 6. COLLABORATE 15 – IOUG Forum Database 6 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant” White Paper If Active Data Guard is not licensed, the documentation says that it’s necessary to copy the datafiles on the standby before the clone: If you plan to create a PDB as a clone from a different PDB, then copy the data files that belong to the source PDB over to the standby database. (This step is not necessary in an Active Data Guard environment because the data files are copied automatically when the PDB is created on the standby database.) http://docs.oracle.com/database/121/SBYDB/create_ps.htm#SBYDB5260 But in a RAC environment, the datafiles are managed by ASM and there’s no way to copy the datafiles with the same path specified in the controlfiles. A manual restore of the new PDB is required on the standby CDB after the cloning occurs. Oracle has published a MOS Note: Making Use of the STANDBYS=NONE Feature with Oracle Multitenant (Doc ID 1916648.1) that describes the best way to deal with pluggable database creation in a Data Guard environment, starting with release 12.1.0.2. DEALING WITH PDBS AND SERVICES In a Data Guard environment, the way to create new services doesn’t change. If we create a read-only service on the stand-by database (Active Data Guard) we need to specify the correct role (physical_standby). The only difference is that we need to specify the correct pluggable database with the –pdb switch:
  • 7. COLLABORATE 15 – IOUG Forum Database 7 | P a g e “Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant” White Paper $ srvctl add service –db db_unique_name –service ro_service_name –serverpool server_pool –cardinality uniform –role physical_standby –failovertype select –failovermethod basic -policy automatic -failoverdelay 2 –failoverretry 180 -pdb pluggable_database Again, it’s sensible to keep in mind that there’s an overall limit of 512 services in a CDB. In an Active Data Guard + Multitenant environment we’ll have, for each PDB: • 1 default service with the name of the PDB • 1 read-write service (more than recommended!) • 1 read-only service for the stand-by database The maximum number of PDBs per CDB will then be 512/3=170 PDBs, way below the limit of 252 PDBs per CDB. The more services we plan to create per PDB, the less PDB we’ll be able to consolidate in the same CDB. The connection description also doesn’t change from a traditional MAA connection string, except that the SERVICE_NAME must point to a service assigned to a specific PDB: LUDOAPP = (DESCRIPTION_LIST= (LOAD_BALANCE=off) (FAILOVER=on) (DESCRIPTION = (CONNECT_TIMEOUT=5) (TRANSPORT_CONNECT_TIMEOUT=3) (RETRY_COUNT=3) (ADDRESS_LIST= (LOAD_BALANCE=on) (ADDRESS = (PROTOCOL = TCP)(HOST = raca-scan)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = LUDOAPP)) ) (DESCRIPTION = (CONNECT_TIMEOUT=5) (TRANSPORT_CONNECT_TIMEOUT=3) (RETRY_COUNT=3) (ADDRESS_LIST= (LOAD_BALANCE=on) (ADDRESS = (PROTOCOL = TCP)(HOST = racb-scan)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = LUDOAPP)) ) ) Always from a consolidation perspective, having a highly available OID for naming resolution is highly recommended. MY CONCLUSION Active Data Guard has become a more and more appealing option, but with the PDB cloning limitation on non-active standbys, it’s not just a nice-to-have. ADG is the best solution to a concrete Data Guard+Multitenant limitation. A consolidation with Multitenant requires ideally all three options (Multitenant, Real Application Cluster, Active Data Guard) that are not easily affordable by customers, despite the multiple benefits that this solution provides. From a consolidation perspective, the MAA+Multitenant architecture is the best choice in the direction of a cloud infrastructure because it has all the requirements in term of consolidation density, scalability, availability and ease of administration, so I would not hesitate to recommend it. Moreover, Oracle has recently announced the deprecation of the non-CDB architecture: a move that make customers considering the new architecture as a durable choice.