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

TFA Collector - what can one do with it
TFA Collector - what can one do with it TFA Collector - what can one do with it
TFA Collector - what can one do with it Sandesh Rao
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudMarkus Michalewicz
 
What's new in Scala 2.13?
What's new in Scala 2.13?What's new in Scala 2.13?
What's new in Scala 2.13?Hermann Hueck
 
Kafka Tutorial - Introduction to Apache Kafka (Part 1)
Kafka Tutorial - Introduction to Apache Kafka (Part 1)Kafka Tutorial - Introduction to Apache Kafka (Part 1)
Kafka Tutorial - Introduction to Apache Kafka (Part 1)Jean-Paul Azar
 
Advanced Streaming Analytics with Apache Flink and Apache Kafka, Stephan Ewen
Advanced Streaming Analytics with Apache Flink and Apache Kafka, Stephan EwenAdvanced Streaming Analytics with Apache Flink and Apache Kafka, Stephan Ewen
Advanced Streaming Analytics with Apache Flink and Apache Kafka, Stephan Ewenconfluent
 
Disaster Recovery Plans for Apache Kafka
Disaster Recovery Plans for Apache KafkaDisaster Recovery Plans for Apache Kafka
Disaster Recovery Plans for Apache Kafkaconfluent
 
Sga internals
Sga internalsSga internals
Sga internalssergkosko
 
Survey of High Performance NoSQL Systems
Survey of High Performance NoSQL SystemsSurvey of High Performance NoSQL Systems
Survey of High Performance NoSQL SystemsScyllaDB
 
Micronaut: A new way to build microservices
Micronaut: A new way to build microservicesMicronaut: A new way to build microservices
Micronaut: A new way to build microservicesLuram Archanjo
 
Advanced rac troubleshooting
Advanced rac troubleshootingAdvanced rac troubleshooting
Advanced rac troubleshootingRiyaj Shamsudeen
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONMarkus Michalewicz
 
MoP(MQTT on Pulsar) - a Powerful Tool for Apache Pulsar in IoT - Pulsar Summi...
MoP(MQTT on Pulsar) - a Powerful Tool for Apache Pulsar in IoT - Pulsar Summi...MoP(MQTT on Pulsar) - a Powerful Tool for Apache Pulsar in IoT - Pulsar Summi...
MoP(MQTT on Pulsar) - a Powerful Tool for Apache Pulsar in IoT - Pulsar Summi...StreamNative
 
Oracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesOracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesMarkus Michalewicz
 
Tradeoffs in Distributed Systems Design: Is Kafka The Best? (Ben Stopford and...
Tradeoffs in Distributed Systems Design: Is Kafka The Best? (Ben Stopford and...Tradeoffs in Distributed Systems Design: Is Kafka The Best? (Ben Stopford and...
Tradeoffs in Distributed Systems Design: Is Kafka The Best? (Ben Stopford and...HostedbyConfluent
 
Resilience4j with Spring Boot
Resilience4j with Spring BootResilience4j with Spring Boot
Resilience4j with Spring BootKnoldus Inc.
 
Introduction to Kafka Cruise Control
Introduction to Kafka Cruise ControlIntroduction to Kafka Cruise Control
Introduction to Kafka Cruise ControlJiangjie Qin
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application clusterSatishbabu Gunukula
 
Securing Kafka
Securing Kafka Securing Kafka
Securing Kafka confluent
 

What's hot (20)

TFA Collector - what can one do with it
TFA Collector - what can one do with it TFA Collector - what can one do with it
TFA Collector - what can one do with it
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
 
Using galera replication to create geo distributed clusters on the wan
Using galera replication to create geo distributed clusters on the wanUsing galera replication to create geo distributed clusters on the wan
Using galera replication to create geo distributed clusters on the wan
 
What's new in Scala 2.13?
What's new in Scala 2.13?What's new in Scala 2.13?
What's new in Scala 2.13?
 
Kafka Tutorial - Introduction to Apache Kafka (Part 1)
Kafka Tutorial - Introduction to Apache Kafka (Part 1)Kafka Tutorial - Introduction to Apache Kafka (Part 1)
Kafka Tutorial - Introduction to Apache Kafka (Part 1)
 
Advanced Streaming Analytics with Apache Flink and Apache Kafka, Stephan Ewen
Advanced Streaming Analytics with Apache Flink and Apache Kafka, Stephan EwenAdvanced Streaming Analytics with Apache Flink and Apache Kafka, Stephan Ewen
Advanced Streaming Analytics with Apache Flink and Apache Kafka, Stephan Ewen
 
Disaster Recovery Plans for Apache Kafka
Disaster Recovery Plans for Apache KafkaDisaster Recovery Plans for Apache Kafka
Disaster Recovery Plans for Apache Kafka
 
Sga internals
Sga internalsSga internals
Sga internals
 
Survey of High Performance NoSQL Systems
Survey of High Performance NoSQL SystemsSurvey of High Performance NoSQL Systems
Survey of High Performance NoSQL Systems
 
Micronaut: A new way to build microservices
Micronaut: A new way to build microservicesMicronaut: A new way to build microservices
Micronaut: A new way to build microservices
 
Advanced rac troubleshooting
Advanced rac troubleshootingAdvanced rac troubleshooting
Advanced rac troubleshooting
 
Apache Kafka
Apache Kafka Apache Kafka
Apache Kafka
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
MoP(MQTT on Pulsar) - a Powerful Tool for Apache Pulsar in IoT - Pulsar Summi...
MoP(MQTT on Pulsar) - a Powerful Tool for Apache Pulsar in IoT - Pulsar Summi...MoP(MQTT on Pulsar) - a Powerful Tool for Apache Pulsar in IoT - Pulsar Summi...
MoP(MQTT on Pulsar) - a Powerful Tool for Apache Pulsar in IoT - Pulsar Summi...
 
Oracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesOracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer Examples
 
Tradeoffs in Distributed Systems Design: Is Kafka The Best? (Ben Stopford and...
Tradeoffs in Distributed Systems Design: Is Kafka The Best? (Ben Stopford and...Tradeoffs in Distributed Systems Design: Is Kafka The Best? (Ben Stopford and...
Tradeoffs in Distributed Systems Design: Is Kafka The Best? (Ben Stopford and...
 
Resilience4j with Spring Boot
Resilience4j with Spring BootResilience4j with Spring Boot
Resilience4j with Spring Boot
 
Introduction to Kafka Cruise Control
Introduction to Kafka Cruise ControlIntroduction to Kafka Cruise Control
Introduction to Kafka Cruise Control
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 
Securing Kafka
Securing Kafka Securing Kafka
Securing Kafka
 

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

Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insightsKirill Loifman
 
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 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
 

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

Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 
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
 
Oracle Database 12c : Multitenant
Oracle Database 12c : MultitenantOracle Database 12c : Multitenant
Oracle Database 12c : 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 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"
 

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
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodLudovico 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
 

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
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The Hood
 
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
 

Recently uploaded

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Recently uploaded (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure 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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

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.