SlideShare a Scribd company logo
1 of 66
Download to read offline
2013 © Trivadis 
BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN 
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant 
Ludovico CALDARA Oracle ACE, Senior Consultant Trivadis AG
2013 © Trivadis 
About Ludovico Caldara 
28.09.2014 
When MAA Meets Multitenant 
2 
■14 Years DBA (started with 7.3.4) 
▪I do it everywhere (also on Windows) 
■RAC ATTACK Ninja & co-writer 
■RAC SIG Board member 
■OCP (11g, 12c, MySQL) & OCE 
■Italian living in Switzerland 
■http://www.ludovicocaldara.net 
■@ludodba 
■ludovicocaldara
2013 © Trivadis 
Trivadis is a market leader in IT consulting, system integration, solution engineering and the provision of IT services focusing on and technologies in Switzerland, Germany and Austria. We offer our services in the following strategic business fields: Trivadis Services takes over the interacting operation of your IT systems. 
Our company 
O P E R A T I O N 
28.09.2014 
When MAA Meets Multitenant 
3
2013 © Trivadis 
With over 600 specialists and IT experts in your region 
4 
11 Trivadis branches and more than 600 employees 
200 Service Level Agreements 
Over 4,000 training participants 
Research and development budget: CHF 5.0 / EUR 4 million 
Financially self-supporting and sustainably profitable 
Experience from more than 1,900 projects per year at over 800 customers 
Hamburg 
Düsseldorf 
Frankfurt 
Freiburg 
Munich 
Vienna 
Basle 
Zurich 
Bern 
Lausanne 
4 
Stuttgart 
28.09.2014 
When MAA Meets Multitenant 
4
2013 © Trivadis 
AGENDA 
1.RAC and Multitenant 
Why and how 
Dealing with PDBs and services 
Demo 
2.RAC, DG and MULTITENANT 
Why and how 
Dealing with PDBs and services 
Demo 
28.09.2014 
When MAA Meets Multitenant 
5
2013 © Trivadis 
28.09.2014 
When MAA Meets Multitenant 
Part I 
6
2013 © Trivadis 
28.09.2014 
When MAA Meets Multitenant 
RAC and Multitenant 
Why and How 
7
2013 © Trivadis 
Multitenant on a single instance: is it worth? 
28.09.2014 
When MAA Meets Multitenant 
8 
Consolidate on one CDB, one server
2013 © Trivadis 
Multitenant on a single instance: is it worth? 
28.09.2014 
When MAA Meets Multitenant 
9 
Consolidate on one CDB, one server 
The server fills up? Prepare another server and CDB!
2013 © Trivadis 
Multitenant on a single instance: is it worth? 
28.09.2014 
When MAA Meets Multitenant 
10 
Consolidate on one CDB, one server 
The server fills up? Prepare another server and CDB! 
Create new PDBs on the new server
2013 © Trivadis 
Multitenant on a single instance: is it worth? 
28.09.2014 
When MAA Meets Multitenant 
11 
Consolidate on one CDB, one server 
The server fills up? Prepare another server and CDB! 
Create new PDBs on the new server, REPEAT!
2013 © Trivadis 
Multitenant on a single instance: is it worth? 
28.09.2014 
When MAA Meets Multitenant 
12 
Consolidate on one CDB, one server 
The server fills up? Prepare another server and CDB! 
Create new PDBs on the new server, REPEAT! 
A PDB increases? Need to make room for the new workload
2013 © Trivadis 
Multitenant on a single instance: is it worth? 
28.09.2014 
When MAA Meets Multitenant 
13 
Is that consolidation?
2013 © Trivadis 
Multitenant on a single instance: is it worth? 
28.09.2014 
When MAA Meets Multitenant 
14 
Is that consolidation? What if you have to change static parameters?
2013 © Trivadis 
Multitenant on a single instance: is it worth? 
28.09.2014 
When MAA Meets Multitenant 
15 
Is that consolidation? What if you have to change static parameters? 
Bouncing your single-instance CDB takes offline all your PDBs
2013 © Trivadis 
Multitenant on a single instance: is it worth? 
28.09.2014 
When MAA Meets Multitenant 
16 
Is that consolidation? What if you have to change static parameters? 
Bouncing your single-instance CDB takes offline all your PDBs 
You would never stop all your services and reboot the instance, right? 
Well, on a single-instance you have to do it!
2013 © Trivadis 
RAC empowers Multitenant 
28.09.2014 
When MAA Meets Multitenant 
17 
With RAC+MT, the Container Database itself is a RAC Database
2013 © Trivadis 
RAC empowers Multitenant 
28.09.2014 
When MAA Meets Multitenant 
18 
With RAC+MT, the Container Database itself is a RAC Database 
The PDBs are still available in case of instance crash
2013 © Trivadis 
RAC empowers Multitenant 
28.09.2014 
When MAA Meets Multitenant 
19 
With RAC+MT, the Container Database itself is a RAC Database 
The PDBs are still available in case of instance crash 
Instances can be bounced one at a time without affecting the CDB
2013 © Trivadis 
RAC empowers Multitenant 
28.09.2014 
When MAA Meets Multitenant 
20 
The CDB can accommodate new PDBs by adding new servers/instances
2013 © Trivadis 
RAC empowers Multitenant 
28.09.2014 
When MAA Meets Multitenant 
21 
The CDB can accommodate new PDBs by adding new servers/instances 
The workload is distributed across instances. How?
2013 © Trivadis 
28.09.2014 
When MAA Meets Multitenant 
RAC and Multitenant Dealing with PDBs and Services 
22
2013 © Trivadis 
The services are the key! 
28.09.2014 
When MAA Meets Multitenant 
23 
The PDBs are mounted by default. Starting the service makes the cluster open the PDB! 
Services on CDBRAC_1 
Services on CDBRAC_2 
Cache on instance CDBRAC_2 
Cache on instance CDBRAC_1
2013 © Trivadis 
The services are the key! 
28.09.2014 
When MAA Meets Multitenant 
24 
Singleton services open the PDBs only on the nodes they run on. 
Only the blocks of accessed PDBs will populate one instance’s cache. 
Services on CDBRAC_1 
Services on CDBRAC_2 
Cache on instance CDBRAC_2 
Cache on instance CDBRAC_1
2013 © Trivadis 
The services are the key! 
28.09.2014 
When MAA Meets Multitenant 
25 
Access big PDBs from more than one instance 
Either declare the service UNIFORM or create a new one for the same PDB 
Services on CDBRAC_1 
Services on CDBRAC_2 
Cache on instance CDBRAC_2 
Cache on instance CDBRAC_1
2013 © Trivadis 
The services are the key! 
28.09.2014 
When MAA Meets Multitenant 
26 
Need more room/power? 
Services on CDBRAC_1 
Services on CDBRAC_2 
Cache on instance CDBRAC_2 
Cache on instance CDBRAC_1
2013 © Trivadis 
The services are the key! 
28.09.2014 
When MAA Meets Multitenant 
27 
Need more room/power? 
Add an instance and modify/relocate some services 
Services on CDBRAC_1 
Services on CDBRAC_3 
Cache on CDBRAC_3 
Cache on CDBRAC_1 
Services on CDBRAC_2 
Cache on CDBRAC_2
2013 © Trivadis 
The services are the key! 
28.09.2014 
When MAA Meets Multitenant 
28 
Need more room/power? 
Add an instance and modify/relocate some services 
No need of unplugging/plugging PDBs! They’re in the same CDB! 
Services on CDBRAC_1 
Cache on CDBRAC_3 
Cache on CDBRAC_1 
Cache on CDBRAC_2 
Services on CDBRAC_3 
Services on CDBRAC_2
2013 © Trivadis 
The services are the key! 
28.09.2014 
When MAA Meets Multitenant 
29 
If you stop a service 
Services on CDBRAC_1 
Services on CDBRAC_3 
Services on CDBRAC_2 
Cache on CDBRAC_3 
Cache on CDBRAC_1 
Cache on CDBRAC_2
2013 © Trivadis 
The services are the key! 
28.09.2014 
When MAA Meets Multitenant 
30 
If you stop a service 
The PDB is still open but not accessible 
Cache on CDBRAC_3 
Cache on CDBRAC_1 
Cache on CDBRAC_2 
Services on CDBRAC_1 
Services on CDBRAC_3 
Services on CDBRAC_2
2013 © Trivadis 
The services are the key! 
28.09.2014 
When MAA Meets Multitenant 
31 
If you stop a service 
The PDB is still open but not accessible 
Its blocks are aged out from the buffer cache using the LRU mechanism 
Services on CDBRAC_1 
Services on CDBRAC_3 
Services on CDBRAC_2 
Cache on CDBRAC_3 
Cache on CDBRAC_1 
Cache on CDBRAC_2
2013 © Trivadis 
Service Failover 
28.09.2014 
When MAA Meets Multitenant 
32 
After instance crash, a singleton service fails over 
Services on CDBRAC_1 
Services on CDBRAC_2 
Cache on instance CDBRAC_2 
Cache on instance CDBRAC_1
2013 © Trivadis 
Service Failover 
28.09.2014 
When MAA Meets Multitenant 
33 
After instance crash, a singleton service fails over 
Services on CDBRAC_1 
Services on CDBRAC_2 
Cache on instance CDBRAC_2 
Cache on instance CDBRAC_1
2013 © Trivadis 
Srvctl syntax for services and PDBs 
srvctl add service –db db_unique_name  –service service_name –serverpool server_pool  –cardinality uniform –role primary  –failovertype select –failovermethod basic  -policy automatic -failoverdelay 2  –failoverretry 180 -pdb pluggable_database 
srvctl modify service … -pdb pluggable_database 
There’s an overall limit of 512 services per CDB, be careful! 
28.09.2014 
When MAA Meets Multitenant 
34
2013 © Trivadis 
Many PDBs, many services, many changes 
Important: Oracle recommends that you limit configuration changes to the minimum requirement and that you not perform other service operations while the online service modification is in progress. http://docs.oracle.com/database/121/RACAD/srvctladmin.htm#RACAD005 
28.09.2014 
When MAA Meets Multitenant 
35
2013 © Trivadis 
RAC and Multitenant: Little demo? 
28.09.2014 
When MAA Meets Multitenant 
36 
CDBATL_2 raca01 
CDBATL_1 
raca02 
CDBATL 
MAAZ
2013 © Trivadis 
28.09.2014 
When MAA Meets Multitenant 
Part II 
37
2013 © Trivadis 
28.09.2014 
When MAA Meets Multitenant 
RAC, DG and Multitenant 
Why and How 
38
2013 © Trivadis 
RAC, Data Guard & Multitenant, why? 
28.09.2014 
When MAA Meets Multitenant 
39 
The reasons of having a Data Guard architecture are the same…
2013 © Trivadis 
RAC, Data Guard & Multitenant, why? 
28.09.2014 
When MAA Meets Multitenant 
40 
The reasons of having a Data Guard architecture are the same…
2013 © Trivadis 
Multitenant comes with a great benefit… 
28.09.2014 
When MAA Meets Multitenant 
41 
Single configuration, simplified administration 
CDBATL_1 
CDBATL_2 
CDBATL 
MAAZ 
LGWR 
LGWR 
LNS 
LNS 
RFS 
RFS 
CDBGVA_1 
CDBGVA_2 
CDBGVA 
MAAZ 
MRP0
2013 © Trivadis 
Multitenant comes with a great benefit… 
28.09.2014 
When MAA Meets Multitenant 
42 
Single configuration, simplified administration 
CDBATL_1 
CDBATL_2 
CDBATL 
MAAZ 
LUDO 
LGWR 
LGWR 
LNS 
LNS 
RFS 
RFS 
CDBGVA_1 
CDBGVA_2 
CDBGVA 
MAAZ 
MRP0
2013 © Trivadis 
Multitenant comes with a great benefit… 
28.09.2014 
When MAA Meets Multitenant 
43 
Single configuration, simplified administration 
CDBATL_1 
CDBATL_2 
CDBATL 
MAAZ 
LUDO 
LGWR 
LGWR 
LNS 
LNS 
RFS 
RFS 
CDBGVA_1 
CDBGVA_2 
CDBGVA 
MAAZ 
LUDO 
MRP0
2013 © Trivadis 
… or limitation? 
28.09.2014 
When MAA Meets Multitenant 
44 
Cannot have different PDBs with different roles 
CDBATL_1 
CDBATL_2 
CDBATL 
MAAZ 
LUDO 
LGWR 
LGWR 
LNS 
LNS 
RFS 
RFS 
CDBGVA_1 
CDBGVA_2 
CDBGVA 
MAAZ 
LUDO 
MRP0
2013 © Trivadis 
How? 
28.09.2014 
When MAA Meets Multitenant 
45 
ONE CDB = ONE Data Guard configuration
2013 © Trivadis 
How? 
28.09.2014 
When MAA Meets Multitenant 
46 
ONE CDB = ONE Data Guard configuration 
All Data Guard commands (alter database or broker commands) are executed while connected to the CDB$ROOT 
CDBATL_1 
CDBATL_2 
CDBATL (CDB$ROOT) 
MAAZ 
LUDO
2013 © Trivadis 
PDB Creation from PDB$SEED 
28.09.2014 
When MAA Meets Multitenant 
47 
SQL> create pluggable database MAAZ; 
CDBATL_1 
CDBATL_2 
CDBATL 
LGWR 
LGWR 
LNS 
LNS 
RFS 
RFS 
CDBATL_1 
CDBATL_2 
CDBATL 
MRP0 
SEED 
SEED
2013 © Trivadis 
PDB Creation from PDB$SEED 
28.09.2014 
When MAA Meets Multitenant 
48 
SQL> create pluggable database MAAZ; 
CDBATL_1 
CDBATL_2 
CDBATL 
LGWR 
LGWR 
LNS 
LNS 
RFS 
RFS 
CDBATL_1 
CDBATL_2 
CDBATL 
MRP0 
SEED 
SEED 
MAAZ
2013 © Trivadis 
PDB Creation from PDB$SEED 
28.09.2014 
When MAA Meets Multitenant 
49 
SQL> create pluggable database MAAZ; 
CDBATL_1 
CDBATL_2 
CDBATL 
LGWR 
LGWR 
LNS 
LNS 
RFS 
RFS 
CDBATL_1 
CDBATL_2 
CDBATL 
MRP0 
SEED 
SEED 
MAAZ 
MAAZ 
Recovery created pluggable database MAAZ 
Recovery copied files for tablespace SYSTEM 
Recovery successfully copied file +DATA/CDBGVA/…/DATAFILE/system.435.856973955 from +DATA/CDBGVA/…/DATAFILE/system.280.855055053 
Successfully added datafile 24 to media recovery
2013 © Trivadis 
PDB Creation from PDB$SEED 
28.09.2014 
When MAA Meets Multitenant 
50 
SQL> create pluggable database MAAZ; 
CDBATL_1 
CDBATL_2 
CDBATL 
LGWR 
LGWR 
LNS 
LNS 
RFS 
RFS 
CDBATL_1 
CDBATL_2 
CDBATL 
MRP0 
SEED 
SEED 
MAAZ 
MAAZ 
Recovery created pluggable database MAAZ Recovery copied files for tablespace SYSTEM Recovery successfully copied file +DATA/CDBGVA/…/DATAFILE/system.435.856973955 from +DATA/CDBGVA/…/DATAFILE/system.280.855055053 Successfully added datafile 24 to media recovery 
MOUNTED OR OPEN READ ONLY
2013 © Trivadis 
PDB Creation from other PDB 
28.09.2014 
When MAA Meets Multitenant 
51 
SQL> create pluggable database LUDO FROM MAAZ; 
CDBATL_1 
CDBATL_2 
CDBATL 
LGWR 
LGWR 
LNS 
LNS 
RFS 
RFS 
CDBATL_1 
CDBATL_2 
CDBATL 
MRP0 
MAAZ 
MAAZ
2013 © Trivadis 
PDB Creation from other PDB 
28.09.2014 
When MAA Meets Multitenant 
52 
SQL> create pluggable database LUDO FROM MAAZ; 
CDBATL_1 
CDBATL_2 
CDBATL 
LGWR 
LGWR 
LNS 
LNS 
RFS 
RFS 
CDBATL_1 
CDBATL_2 
CDBATL 
MRP0 
MAAZ 
MAAZ 
LUDO
2013 © Trivadis 
PDB Creation from other PDB 
28.09.2014 
When MAA Meets Multitenant 
53 
SQL> create pluggable database LUDO FROM MAAZ; 
CDBATL_1 
CDBATL_2 
CDBATL 
LGWR 
LGWR 
LNS 
LNS 
RFS 
RFS 
CDBATL_1 
CDBATL_2 
CDBATL 
MRP0 
MAAZ 
MAAZ 
LUDO 
LUDO 
Recovery created pluggable database LUDO Recovery copied files for tablespace SYSTEM Recovery successfully copied file +DATA/CDBGVA/…/DATAFILE/system.362.85568186 from +DATA/CDBGVA/…/DATAFILE/system.435.856973955 Successfully added datafile 26 to media recovery
2013 © Trivadis 
PDB Creation from other PDB 
28.09.2014 
When MAA Meets Multitenant 
54 
SQL> create pluggable database LUDO FROM MAAZ; 
CDBATL_1 
CDBATL_2 
CDBATL 
LGWR 
LGWR 
LNS 
LNS 
RFS 
RFS 
CDBATL_1 
CDBATL_2 
CDBATL 
MRP0 
MAAZ 
MAAZ 
LUDO 
LUDO 
Recovery created pluggable database LUDO Recovery copied files for tablespace SYSTEM Recovery successfully copied file +DATA/CDBGVA/…/DATAFILE/system.362.85568186 from +DATA/CDBGVA/…/DATAFILE/system.435.856973955 Successfully added datafile 26 to media recovery 
ONLY IF OPEN READ ONLY
2013 © Trivadis 
PDB Creation from other PDB 
28.09.2014 
When MAA Meets Multitenant 
55 
SQL> create pluggable database LUDO FROM MAAZ; 
CDBATL_1 
CDBATL_2 
CDBATL 
LGWR 
LGWR 
LNS 
LNS 
RFS 
RFS 
CDBATL_1 
CDBATL_2 
CDBATL 
MRP0 
MAAZ 
MAAZ 
LUDO 
LUDO 
Recovery created pluggable database LUDO 
Recovery copied files for tablespace SYSTEM 
Recovery successfully copied file +DATA/CDBGVA/…/DATAFILE/system.362.85568186 from +DATA/CDBGVA/…/DATAFILE/system.435.856973955 
Successfully added datafile 26 to media recovery 
ONLY IF OPEN READ ONLY 
ACTIVE DATAGUARD!!!
2013 © Trivadis 
PDB Creation from other PDB WITHOUT ADG 
28.09.2014 
When MAA Meets Multitenant 
56 
Documentation says: copy the datafiles on the standby before the clone
2013 © Trivadis 
PDB Creation from other PDB WITHOUT ADG 
28.09.2014 
When MAA Meets Multitenant 
57 
Documentation says: copy the datafiles on the standby before the clone 
But RAC => ASM => OMF => Cannot guess the file names!! 
Need to workout a solution so that you don’t mess your OMF with aliases
2013 © Trivadis 
PDB Creation from other PDB WITHOUT ADG 
28.09.2014 
When MAA Meets Multitenant 
58 
Documentation says: copy the datafiles on the standby before the clone 
But RAC => ASM => OMF => Cannot guess the file names!! 
Need to workout a solution so that you don’t mess your OMF with aliases 
There are different solutions, too complex to cover here. I’ll just show the easiest one.
2013 © Trivadis 
PDB Creation from other PDB WITHOUT ADG * 
28.09.2014 
When MAA Meets Multitenant 
59 
SQL> create pluggable database LUDO from MAAZ standbys=NONE; 
Backup/Restore PDB from Primary to Standby over the network 
Stop Recovery 
Alter pluggable database LUDO enable recovery; 
Start Recovery 
* Not the official way, but much easier IMHO with ASM
2013 © Trivadis 
Restore PDB from Primary to Standby 
28.09.2014 
When MAA Meets Multitenant 
60 
PRIMARY RMAN> backup as copy pluggable database LUDO format '/tmp/ludo%f.dbf'; $ scp /tmp/ludo*.dbf racb01:/tmp 
STANDBY RMAN> catalog start with ‘/tmp/ludo’ RMAN> set newname for pluggable database LUDO to new; RMAN> restore pluggable database LUDO; RMAN> switch pluggable database LUDO to copy;
2013 © Trivadis 
28.09.2014 
When MAA Meets Multitenant 
RAC, DG and Multitenant Dealing with PDBs and services 
61
2013 © Trivadis 
Srvctl syntax for services and PDBs with ADG 
srvctl add service –db db_unique_name  –service ro_service_name –serverpool server_pool  –cardinality uniform –role pyhsical_standby  –failovertype select –failovermethod basic  -policy automatic -failoverdelay 2  –failoverretry 180 -pdb pluggable_database 
Create the same service on the Primary first, so it exists and can run on the standby 
Many services per PDB: don’t forget the 512 service limit per CDB!! 
28.09.2014 
When MAA Meets Multitenant 
62
2013 © Trivadis 
Connection descriptor for MAA 
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)) ) ) 
28.09.2014 
When MAA Meets Multitenant 
63
2013 © Trivadis 
RAC, DG and Multitenant: Little demo? 
28.09.2014 
When MAA Meets Multitenant 
64 
raca01 
raca02 
racb01 
racb02 
CDBATL 
Data Guard 
CDBGVA
2013 © Trivadis 
BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN 
?????????
2013 © Trivadis 
BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN 
Thank you! 
Ludovico Caldara Oracle ACE, Senior Consultant Trivadis AG ludovico.caldara@trivadis.com @ludodba

More Related Content

What's hot

Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant Architecture
Pini Dibask
 

What's hot (20)

Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
 
Oracle 12c Multitenant architecture
Oracle 12c Multitenant architectureOracle 12c Multitenant architecture
Oracle 12c Multitenant architecture
 
Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant Architecture
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
 
Oracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - PresentationOracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - Presentation
 
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
 
High Availability for Oracle SE2
High Availability for Oracle SE2High Availability for Oracle SE2
High Availability for Oracle SE2
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginners
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
 
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
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
 
Oracle Database 12c : Multitenant
Oracle Database 12c : MultitenantOracle Database 12c : Multitenant
Oracle Database 12c : Multitenant
 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & How
 
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuning
 
Oracle GoldenGate 18c - REST API Examples
Oracle GoldenGate 18c - REST API ExamplesOracle GoldenGate 18c - REST API Examples
Oracle GoldenGate 18c - REST API Examples
 
Exploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cExploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12c
 
Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
 

Viewers also liked

3 storage innovations for improving performance, efficiency, and manageability
3 storage innovations for improving performance, efficiency, and manageability3 storage innovations for improving performance, efficiency, and manageability
3 storage innovations for improving performance, efficiency, and manageability
Dr. Wilfred Lin (Ph.D.)
 

Viewers also liked (20)

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 ...
 
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 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
 
Boost your Oracle RAC manageability with Policy-Managed Databases
Boost your Oracle RAC manageability with Policy-Managed DatabasesBoost your Oracle RAC manageability with Policy-Managed Databases
Boost your Oracle RAC manageability with Policy-Managed Databases
 
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
 
Rapid Home Provisioning
Rapid Home ProvisioningRapid Home Provisioning
Rapid Home Provisioning
 
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!
 
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databasesRACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
 
Oracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewOracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - Overview
 
Oracle Multitenant meets Oracle RAC 12c OOW13 [CON8706]
Oracle Multitenant meets Oracle RAC 12c OOW13 [CON8706]Oracle Multitenant meets Oracle RAC 12c OOW13 [CON8706]
Oracle Multitenant meets Oracle RAC 12c OOW13 [CON8706]
 
3 storage innovations for improving performance, efficiency, and manageability
3 storage innovations for improving performance, efficiency, and manageability3 storage innovations for improving performance, efficiency, and manageability
3 storage innovations for improving performance, efficiency, and manageability
 
Oracle it runs zfs storage appliance
Oracle it runs zfs storage applianceOracle it runs zfs storage appliance
Oracle it runs zfs storage appliance
 
B7 api management_enabling_digital_transformation
B7 api management_enabling_digital_transformationB7 api management_enabling_digital_transformation
B7 api management_enabling_digital_transformation
 
B4 making dev_ops_really_work
B4 making dev_ops_really_workB4 making dev_ops_really_work
B4 making dev_ops_really_work
 
C2 five journeys_to_the_cloud
C2 five journeys_to_the_cloudC2 five journeys_to_the_cloud
C2 five journeys_to_the_cloud
 
C7 engineered data_protection_for_oracle_databases
C7 engineered data_protection_for_oracle_databasesC7 engineered data_protection_for_oracle_databases
C7 engineered data_protection_for_oracle_databases
 
C6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloud
C6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloudC6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloud
C6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloud
 
B6 improve operational_efficiency_through_process_and_document_collaboration
B6 improve operational_efficiency_through_process_and_document_collaborationB6 improve operational_efficiency_through_process_and_document_collaboration
B6 improve operational_efficiency_through_process_and_document_collaboration
 
B3 getting started_with_cloud_native_development
B3 getting started_with_cloud_native_developmentB3 getting started_with_cloud_native_development
B3 getting started_with_cloud_native_development
 
A5 cloud security_now_a_reason_to_move_to_the_cloud
A5 cloud security_now_a_reason_to_move_to_the_cloudA5 cloud security_now_a_reason_to_move_to_the_cloud
A5 cloud security_now_a_reason_to_move_to_the_cloud
 

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

Picking the Right Clustering for MySQL - Cloud-only Services or Flexible Tung...
Picking the Right Clustering for MySQL - Cloud-only Services or Flexible Tung...Picking the Right Clustering for MySQL - Cloud-only Services or Flexible Tung...
Picking the Right Clustering for MySQL - Cloud-only Services or Flexible Tung...
Continuent
 
presentation_these_141215
presentation_these_141215presentation_these_141215
presentation_these_141215
Patrick Raad
 

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

Picking the Right Clustering for MySQL - Cloud-only Services or Flexible Tung...
Picking the Right Clustering for MySQL - Cloud-only Services or Flexible Tung...Picking the Right Clustering for MySQL - Cloud-only Services or Flexible Tung...
Picking the Right Clustering for MySQL - Cloud-only Services or Flexible Tung...
 
Microservices & Containers - Docker Bangalore Meetup #12
Microservices & Containers - Docker Bangalore Meetup #12Microservices & Containers - Docker Bangalore Meetup #12
Microservices & Containers - Docker Bangalore Meetup #12
 
NATS: Control Flow for Distributed Systems
NATS: Control Flow for Distributed SystemsNATS: Control Flow for Distributed Systems
NATS: Control Flow for Distributed Systems
 
Using NATS for Control Flow in Distributed Systems
Using NATS for Control Flow in Distributed SystemsUsing NATS for Control Flow in Distributed Systems
Using NATS for Control Flow in Distributed Systems
 
We are Net3 Technology
We are Net3 TechnologyWe are Net3 Technology
We are Net3 Technology
 
Performance tuning - A key to successful cassandra migration
Performance tuning - A key to successful cassandra migrationPerformance tuning - A key to successful cassandra migration
Performance tuning - A key to successful cassandra migration
 
Harnessing the Power of Master/Slave Clusters to Operate Data-Driven Business...
Harnessing the Power of Master/Slave Clusters to Operate Data-Driven Business...Harnessing the Power of Master/Slave Clusters to Operate Data-Driven Business...
Harnessing the Power of Master/Slave Clusters to Operate Data-Driven Business...
 
presentation_these_141215
presentation_these_141215presentation_these_141215
presentation_these_141215
 
Infosys Ltd: Performance Tuning - A Key to Successful Cassandra Migration
Infosys Ltd: Performance Tuning - A Key to Successful Cassandra MigrationInfosys Ltd: Performance Tuning - A Key to Successful Cassandra Migration
Infosys Ltd: Performance Tuning - A Key to Successful Cassandra Migration
 
The environments of SAP Cloud Platform
The environments of SAP Cloud PlatformThe environments of SAP Cloud Platform
The environments of SAP Cloud Platform
 
Managing (Schema) Migrations in Cassandra
Managing (Schema) Migrations in CassandraManaging (Schema) Migrations in Cassandra
Managing (Schema) Migrations in Cassandra
 
Geographically Distributed Multi-Master MySQL Clusters
Geographically Distributed Multi-Master MySQL ClustersGeographically Distributed Multi-Master MySQL Clusters
Geographically Distributed Multi-Master MySQL Clusters
 
Monitoring CloudStack in context with Converged Infrastructure by Mike Turnlund
Monitoring CloudStack in context with Converged Infrastructure by Mike TurnlundMonitoring CloudStack in context with Converged Infrastructure by Mike Turnlund
Monitoring CloudStack in context with Converged Infrastructure by Mike Turnlund
 
Running your Spring Apps in the Cloud Javaone 2014
Running your Spring Apps in the Cloud Javaone 2014Running your Spring Apps in the Cloud Javaone 2014
Running your Spring Apps in the Cloud Javaone 2014
 
Bhopal mule soft_meetup#2_18sept2021_cloudhubdr_strategy_bestpractices
Bhopal mule soft_meetup#2_18sept2021_cloudhubdr_strategy_bestpracticesBhopal mule soft_meetup#2_18sept2021_cloudhubdr_strategy_bestpractices
Bhopal mule soft_meetup#2_18sept2021_cloudhubdr_strategy_bestpractices
 
Storage Multi-Tenancy For Cloud Service Providers
Storage Multi-Tenancy For Cloud Service ProvidersStorage Multi-Tenancy For Cloud Service Providers
Storage Multi-Tenancy For Cloud Service Providers
 
Session 1: Einführung in Windows Azure
Session 1: Einführung in Windows AzureSession 1: Einführung in Windows Azure
Session 1: Einführung in Windows Azure
 
Security drp on cloud
Security   drp on cloudSecurity   drp on cloud
Security drp on cloud
 
Concevoir et déployer vos applications a base de microservices sur Cloud Foundry
Concevoir et déployer vos applications a base de microservices sur Cloud FoundryConcevoir et déployer vos applications a base de microservices sur Cloud Foundry
Concevoir et déployer vos applications a base de microservices sur Cloud Foundry
 
Tungsten Use Case: Modernizing Medicine, a SaaS solution running on Amazon AWS
Tungsten Use Case: Modernizing Medicine, a SaaS solution running on Amazon AWSTungsten Use Case: Modernizing Medicine, a SaaS solution running on Amazon AWS
Tungsten Use Case: Modernizing Medicine, a SaaS solution running on Amazon AWS
 

More from Ludovico Caldara

More from Ludovico Caldara (17)

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.
 
Galera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HAGalera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HA
 

Recently uploaded

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
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

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
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
[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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (#OOW14 Version)

  • 1. 2013 © Trivadis BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant Ludovico CALDARA Oracle ACE, Senior Consultant Trivadis AG
  • 2. 2013 © Trivadis About Ludovico Caldara 28.09.2014 When MAA Meets Multitenant 2 ■14 Years DBA (started with 7.3.4) ▪I do it everywhere (also on Windows) ■RAC ATTACK Ninja & co-writer ■RAC SIG Board member ■OCP (11g, 12c, MySQL) & OCE ■Italian living in Switzerland ■http://www.ludovicocaldara.net ■@ludodba ■ludovicocaldara
  • 3. 2013 © Trivadis Trivadis is a market leader in IT consulting, system integration, solution engineering and the provision of IT services focusing on and technologies in Switzerland, Germany and Austria. We offer our services in the following strategic business fields: Trivadis Services takes over the interacting operation of your IT systems. Our company O P E R A T I O N 28.09.2014 When MAA Meets Multitenant 3
  • 4. 2013 © Trivadis With over 600 specialists and IT experts in your region 4 11 Trivadis branches and more than 600 employees 200 Service Level Agreements Over 4,000 training participants Research and development budget: CHF 5.0 / EUR 4 million Financially self-supporting and sustainably profitable Experience from more than 1,900 projects per year at over 800 customers Hamburg Düsseldorf Frankfurt Freiburg Munich Vienna Basle Zurich Bern Lausanne 4 Stuttgart 28.09.2014 When MAA Meets Multitenant 4
  • 5. 2013 © Trivadis AGENDA 1.RAC and Multitenant Why and how Dealing with PDBs and services Demo 2.RAC, DG and MULTITENANT Why and how Dealing with PDBs and services Demo 28.09.2014 When MAA Meets Multitenant 5
  • 6. 2013 © Trivadis 28.09.2014 When MAA Meets Multitenant Part I 6
  • 7. 2013 © Trivadis 28.09.2014 When MAA Meets Multitenant RAC and Multitenant Why and How 7
  • 8. 2013 © Trivadis Multitenant on a single instance: is it worth? 28.09.2014 When MAA Meets Multitenant 8 Consolidate on one CDB, one server
  • 9. 2013 © Trivadis Multitenant on a single instance: is it worth? 28.09.2014 When MAA Meets Multitenant 9 Consolidate on one CDB, one server The server fills up? Prepare another server and CDB!
  • 10. 2013 © Trivadis Multitenant on a single instance: is it worth? 28.09.2014 When MAA Meets Multitenant 10 Consolidate on one CDB, one server The server fills up? Prepare another server and CDB! Create new PDBs on the new server
  • 11. 2013 © Trivadis Multitenant on a single instance: is it worth? 28.09.2014 When MAA Meets Multitenant 11 Consolidate on one CDB, one server The server fills up? Prepare another server and CDB! Create new PDBs on the new server, REPEAT!
  • 12. 2013 © Trivadis Multitenant on a single instance: is it worth? 28.09.2014 When MAA Meets Multitenant 12 Consolidate on one CDB, one server The server fills up? Prepare another server and CDB! Create new PDBs on the new server, REPEAT! A PDB increases? Need to make room for the new workload
  • 13. 2013 © Trivadis Multitenant on a single instance: is it worth? 28.09.2014 When MAA Meets Multitenant 13 Is that consolidation?
  • 14. 2013 © Trivadis Multitenant on a single instance: is it worth? 28.09.2014 When MAA Meets Multitenant 14 Is that consolidation? What if you have to change static parameters?
  • 15. 2013 © Trivadis Multitenant on a single instance: is it worth? 28.09.2014 When MAA Meets Multitenant 15 Is that consolidation? What if you have to change static parameters? Bouncing your single-instance CDB takes offline all your PDBs
  • 16. 2013 © Trivadis Multitenant on a single instance: is it worth? 28.09.2014 When MAA Meets Multitenant 16 Is that consolidation? What if you have to change static parameters? Bouncing your single-instance CDB takes offline all your PDBs You would never stop all your services and reboot the instance, right? Well, on a single-instance you have to do it!
  • 17. 2013 © Trivadis RAC empowers Multitenant 28.09.2014 When MAA Meets Multitenant 17 With RAC+MT, the Container Database itself is a RAC Database
  • 18. 2013 © Trivadis RAC empowers Multitenant 28.09.2014 When MAA Meets Multitenant 18 With RAC+MT, the Container Database itself is a RAC Database The PDBs are still available in case of instance crash
  • 19. 2013 © Trivadis RAC empowers Multitenant 28.09.2014 When MAA Meets Multitenant 19 With RAC+MT, the Container Database itself is a RAC Database The PDBs are still available in case of instance crash Instances can be bounced one at a time without affecting the CDB
  • 20. 2013 © Trivadis RAC empowers Multitenant 28.09.2014 When MAA Meets Multitenant 20 The CDB can accommodate new PDBs by adding new servers/instances
  • 21. 2013 © Trivadis RAC empowers Multitenant 28.09.2014 When MAA Meets Multitenant 21 The CDB can accommodate new PDBs by adding new servers/instances The workload is distributed across instances. How?
  • 22. 2013 © Trivadis 28.09.2014 When MAA Meets Multitenant RAC and Multitenant Dealing with PDBs and Services 22
  • 23. 2013 © Trivadis The services are the key! 28.09.2014 When MAA Meets Multitenant 23 The PDBs are mounted by default. Starting the service makes the cluster open the PDB! Services on CDBRAC_1 Services on CDBRAC_2 Cache on instance CDBRAC_2 Cache on instance CDBRAC_1
  • 24. 2013 © Trivadis The services are the key! 28.09.2014 When MAA Meets Multitenant 24 Singleton services open the PDBs only on the nodes they run on. Only the blocks of accessed PDBs will populate one instance’s cache. Services on CDBRAC_1 Services on CDBRAC_2 Cache on instance CDBRAC_2 Cache on instance CDBRAC_1
  • 25. 2013 © Trivadis The services are the key! 28.09.2014 When MAA Meets Multitenant 25 Access big PDBs from more than one instance Either declare the service UNIFORM or create a new one for the same PDB Services on CDBRAC_1 Services on CDBRAC_2 Cache on instance CDBRAC_2 Cache on instance CDBRAC_1
  • 26. 2013 © Trivadis The services are the key! 28.09.2014 When MAA Meets Multitenant 26 Need more room/power? Services on CDBRAC_1 Services on CDBRAC_2 Cache on instance CDBRAC_2 Cache on instance CDBRAC_1
  • 27. 2013 © Trivadis The services are the key! 28.09.2014 When MAA Meets Multitenant 27 Need more room/power? Add an instance and modify/relocate some services Services on CDBRAC_1 Services on CDBRAC_3 Cache on CDBRAC_3 Cache on CDBRAC_1 Services on CDBRAC_2 Cache on CDBRAC_2
  • 28. 2013 © Trivadis The services are the key! 28.09.2014 When MAA Meets Multitenant 28 Need more room/power? Add an instance and modify/relocate some services No need of unplugging/plugging PDBs! They’re in the same CDB! Services on CDBRAC_1 Cache on CDBRAC_3 Cache on CDBRAC_1 Cache on CDBRAC_2 Services on CDBRAC_3 Services on CDBRAC_2
  • 29. 2013 © Trivadis The services are the key! 28.09.2014 When MAA Meets Multitenant 29 If you stop a service Services on CDBRAC_1 Services on CDBRAC_3 Services on CDBRAC_2 Cache on CDBRAC_3 Cache on CDBRAC_1 Cache on CDBRAC_2
  • 30. 2013 © Trivadis The services are the key! 28.09.2014 When MAA Meets Multitenant 30 If you stop a service The PDB is still open but not accessible Cache on CDBRAC_3 Cache on CDBRAC_1 Cache on CDBRAC_2 Services on CDBRAC_1 Services on CDBRAC_3 Services on CDBRAC_2
  • 31. 2013 © Trivadis The services are the key! 28.09.2014 When MAA Meets Multitenant 31 If you stop a service The PDB is still open but not accessible Its blocks are aged out from the buffer cache using the LRU mechanism Services on CDBRAC_1 Services on CDBRAC_3 Services on CDBRAC_2 Cache on CDBRAC_3 Cache on CDBRAC_1 Cache on CDBRAC_2
  • 32. 2013 © Trivadis Service Failover 28.09.2014 When MAA Meets Multitenant 32 After instance crash, a singleton service fails over Services on CDBRAC_1 Services on CDBRAC_2 Cache on instance CDBRAC_2 Cache on instance CDBRAC_1
  • 33. 2013 © Trivadis Service Failover 28.09.2014 When MAA Meets Multitenant 33 After instance crash, a singleton service fails over Services on CDBRAC_1 Services on CDBRAC_2 Cache on instance CDBRAC_2 Cache on instance CDBRAC_1
  • 34. 2013 © Trivadis Srvctl syntax for services and PDBs srvctl add service –db db_unique_name –service service_name –serverpool server_pool –cardinality uniform –role primary –failovertype select –failovermethod basic -policy automatic -failoverdelay 2 –failoverretry 180 -pdb pluggable_database srvctl modify service … -pdb pluggable_database There’s an overall limit of 512 services per CDB, be careful! 28.09.2014 When MAA Meets Multitenant 34
  • 35. 2013 © Trivadis Many PDBs, many services, many changes Important: Oracle recommends that you limit configuration changes to the minimum requirement and that you not perform other service operations while the online service modification is in progress. http://docs.oracle.com/database/121/RACAD/srvctladmin.htm#RACAD005 28.09.2014 When MAA Meets Multitenant 35
  • 36. 2013 © Trivadis RAC and Multitenant: Little demo? 28.09.2014 When MAA Meets Multitenant 36 CDBATL_2 raca01 CDBATL_1 raca02 CDBATL MAAZ
  • 37. 2013 © Trivadis 28.09.2014 When MAA Meets Multitenant Part II 37
  • 38. 2013 © Trivadis 28.09.2014 When MAA Meets Multitenant RAC, DG and Multitenant Why and How 38
  • 39. 2013 © Trivadis RAC, Data Guard & Multitenant, why? 28.09.2014 When MAA Meets Multitenant 39 The reasons of having a Data Guard architecture are the same…
  • 40. 2013 © Trivadis RAC, Data Guard & Multitenant, why? 28.09.2014 When MAA Meets Multitenant 40 The reasons of having a Data Guard architecture are the same…
  • 41. 2013 © Trivadis Multitenant comes with a great benefit… 28.09.2014 When MAA Meets Multitenant 41 Single configuration, simplified administration CDBATL_1 CDBATL_2 CDBATL MAAZ LGWR LGWR LNS LNS RFS RFS CDBGVA_1 CDBGVA_2 CDBGVA MAAZ MRP0
  • 42. 2013 © Trivadis Multitenant comes with a great benefit… 28.09.2014 When MAA Meets Multitenant 42 Single configuration, simplified administration CDBATL_1 CDBATL_2 CDBATL MAAZ LUDO LGWR LGWR LNS LNS RFS RFS CDBGVA_1 CDBGVA_2 CDBGVA MAAZ MRP0
  • 43. 2013 © Trivadis Multitenant comes with a great benefit… 28.09.2014 When MAA Meets Multitenant 43 Single configuration, simplified administration CDBATL_1 CDBATL_2 CDBATL MAAZ LUDO LGWR LGWR LNS LNS RFS RFS CDBGVA_1 CDBGVA_2 CDBGVA MAAZ LUDO MRP0
  • 44. 2013 © Trivadis … or limitation? 28.09.2014 When MAA Meets Multitenant 44 Cannot have different PDBs with different roles CDBATL_1 CDBATL_2 CDBATL MAAZ LUDO LGWR LGWR LNS LNS RFS RFS CDBGVA_1 CDBGVA_2 CDBGVA MAAZ LUDO MRP0
  • 45. 2013 © Trivadis How? 28.09.2014 When MAA Meets Multitenant 45 ONE CDB = ONE Data Guard configuration
  • 46. 2013 © Trivadis How? 28.09.2014 When MAA Meets Multitenant 46 ONE CDB = ONE Data Guard configuration All Data Guard commands (alter database or broker commands) are executed while connected to the CDB$ROOT CDBATL_1 CDBATL_2 CDBATL (CDB$ROOT) MAAZ LUDO
  • 47. 2013 © Trivadis PDB Creation from PDB$SEED 28.09.2014 When MAA Meets Multitenant 47 SQL> create pluggable database MAAZ; CDBATL_1 CDBATL_2 CDBATL LGWR LGWR LNS LNS RFS RFS CDBATL_1 CDBATL_2 CDBATL MRP0 SEED SEED
  • 48. 2013 © Trivadis PDB Creation from PDB$SEED 28.09.2014 When MAA Meets Multitenant 48 SQL> create pluggable database MAAZ; CDBATL_1 CDBATL_2 CDBATL LGWR LGWR LNS LNS RFS RFS CDBATL_1 CDBATL_2 CDBATL MRP0 SEED SEED MAAZ
  • 49. 2013 © Trivadis PDB Creation from PDB$SEED 28.09.2014 When MAA Meets Multitenant 49 SQL> create pluggable database MAAZ; CDBATL_1 CDBATL_2 CDBATL LGWR LGWR LNS LNS RFS RFS CDBATL_1 CDBATL_2 CDBATL MRP0 SEED SEED MAAZ MAAZ Recovery created pluggable database MAAZ Recovery copied files for tablespace SYSTEM Recovery successfully copied file +DATA/CDBGVA/…/DATAFILE/system.435.856973955 from +DATA/CDBGVA/…/DATAFILE/system.280.855055053 Successfully added datafile 24 to media recovery
  • 50. 2013 © Trivadis PDB Creation from PDB$SEED 28.09.2014 When MAA Meets Multitenant 50 SQL> create pluggable database MAAZ; CDBATL_1 CDBATL_2 CDBATL LGWR LGWR LNS LNS RFS RFS CDBATL_1 CDBATL_2 CDBATL MRP0 SEED SEED MAAZ MAAZ Recovery created pluggable database MAAZ Recovery copied files for tablespace SYSTEM Recovery successfully copied file +DATA/CDBGVA/…/DATAFILE/system.435.856973955 from +DATA/CDBGVA/…/DATAFILE/system.280.855055053 Successfully added datafile 24 to media recovery MOUNTED OR OPEN READ ONLY
  • 51. 2013 © Trivadis PDB Creation from other PDB 28.09.2014 When MAA Meets Multitenant 51 SQL> create pluggable database LUDO FROM MAAZ; CDBATL_1 CDBATL_2 CDBATL LGWR LGWR LNS LNS RFS RFS CDBATL_1 CDBATL_2 CDBATL MRP0 MAAZ MAAZ
  • 52. 2013 © Trivadis PDB Creation from other PDB 28.09.2014 When MAA Meets Multitenant 52 SQL> create pluggable database LUDO FROM MAAZ; CDBATL_1 CDBATL_2 CDBATL LGWR LGWR LNS LNS RFS RFS CDBATL_1 CDBATL_2 CDBATL MRP0 MAAZ MAAZ LUDO
  • 53. 2013 © Trivadis PDB Creation from other PDB 28.09.2014 When MAA Meets Multitenant 53 SQL> create pluggable database LUDO FROM MAAZ; CDBATL_1 CDBATL_2 CDBATL LGWR LGWR LNS LNS RFS RFS CDBATL_1 CDBATL_2 CDBATL MRP0 MAAZ MAAZ LUDO LUDO Recovery created pluggable database LUDO Recovery copied files for tablespace SYSTEM Recovery successfully copied file +DATA/CDBGVA/…/DATAFILE/system.362.85568186 from +DATA/CDBGVA/…/DATAFILE/system.435.856973955 Successfully added datafile 26 to media recovery
  • 54. 2013 © Trivadis PDB Creation from other PDB 28.09.2014 When MAA Meets Multitenant 54 SQL> create pluggable database LUDO FROM MAAZ; CDBATL_1 CDBATL_2 CDBATL LGWR LGWR LNS LNS RFS RFS CDBATL_1 CDBATL_2 CDBATL MRP0 MAAZ MAAZ LUDO LUDO Recovery created pluggable database LUDO Recovery copied files for tablespace SYSTEM Recovery successfully copied file +DATA/CDBGVA/…/DATAFILE/system.362.85568186 from +DATA/CDBGVA/…/DATAFILE/system.435.856973955 Successfully added datafile 26 to media recovery ONLY IF OPEN READ ONLY
  • 55. 2013 © Trivadis PDB Creation from other PDB 28.09.2014 When MAA Meets Multitenant 55 SQL> create pluggable database LUDO FROM MAAZ; CDBATL_1 CDBATL_2 CDBATL LGWR LGWR LNS LNS RFS RFS CDBATL_1 CDBATL_2 CDBATL MRP0 MAAZ MAAZ LUDO LUDO Recovery created pluggable database LUDO Recovery copied files for tablespace SYSTEM Recovery successfully copied file +DATA/CDBGVA/…/DATAFILE/system.362.85568186 from +DATA/CDBGVA/…/DATAFILE/system.435.856973955 Successfully added datafile 26 to media recovery ONLY IF OPEN READ ONLY ACTIVE DATAGUARD!!!
  • 56. 2013 © Trivadis PDB Creation from other PDB WITHOUT ADG 28.09.2014 When MAA Meets Multitenant 56 Documentation says: copy the datafiles on the standby before the clone
  • 57. 2013 © Trivadis PDB Creation from other PDB WITHOUT ADG 28.09.2014 When MAA Meets Multitenant 57 Documentation says: copy the datafiles on the standby before the clone But RAC => ASM => OMF => Cannot guess the file names!! Need to workout a solution so that you don’t mess your OMF with aliases
  • 58. 2013 © Trivadis PDB Creation from other PDB WITHOUT ADG 28.09.2014 When MAA Meets Multitenant 58 Documentation says: copy the datafiles on the standby before the clone But RAC => ASM => OMF => Cannot guess the file names!! Need to workout a solution so that you don’t mess your OMF with aliases There are different solutions, too complex to cover here. I’ll just show the easiest one.
  • 59. 2013 © Trivadis PDB Creation from other PDB WITHOUT ADG * 28.09.2014 When MAA Meets Multitenant 59 SQL> create pluggable database LUDO from MAAZ standbys=NONE; Backup/Restore PDB from Primary to Standby over the network Stop Recovery Alter pluggable database LUDO enable recovery; Start Recovery * Not the official way, but much easier IMHO with ASM
  • 60. 2013 © Trivadis Restore PDB from Primary to Standby 28.09.2014 When MAA Meets Multitenant 60 PRIMARY RMAN> backup as copy pluggable database LUDO format '/tmp/ludo%f.dbf'; $ scp /tmp/ludo*.dbf racb01:/tmp STANDBY RMAN> catalog start with ‘/tmp/ludo’ RMAN> set newname for pluggable database LUDO to new; RMAN> restore pluggable database LUDO; RMAN> switch pluggable database LUDO to copy;
  • 61. 2013 © Trivadis 28.09.2014 When MAA Meets Multitenant RAC, DG and Multitenant Dealing with PDBs and services 61
  • 62. 2013 © Trivadis Srvctl syntax for services and PDBs with ADG srvctl add service –db db_unique_name –service ro_service_name –serverpool server_pool –cardinality uniform –role pyhsical_standby –failovertype select –failovermethod basic -policy automatic -failoverdelay 2 –failoverretry 180 -pdb pluggable_database Create the same service on the Primary first, so it exists and can run on the standby Many services per PDB: don’t forget the 512 service limit per CDB!! 28.09.2014 When MAA Meets Multitenant 62
  • 63. 2013 © Trivadis Connection descriptor for MAA 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)) ) ) 28.09.2014 When MAA Meets Multitenant 63
  • 64. 2013 © Trivadis RAC, DG and Multitenant: Little demo? 28.09.2014 When MAA Meets Multitenant 64 raca01 raca02 racb01 racb02 CDBATL Data Guard CDBGVA
  • 65. 2013 © Trivadis BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN ?????????
  • 66. 2013 © Trivadis BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Thank you! Ludovico Caldara Oracle ACE, Senior Consultant Trivadis AG ludovico.caldara@trivadis.com @ludodba