SlideShare una empresa de Scribd logo
1 de 47
Oracle Multitenant
Mahir M. Quluzade
Organized by ORIENT ITM
12 July 2014
2 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Agenda
 Rethinking Architecture for the Database
 Multitenant Architecture
 Capabilities Enabled
 Managing Shared Resources
 Upgrading to Multitenant
3 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
About me
 Broad member of AZEROUG (Azerbaijan Oracle User Group)
 OCE, RAC 11g and Grid infrastructure
 OCP Database 11g Administrator
 OCE Database SQL
 Author of OTN Articles and OTech Magazine
 Central Bank - Oracle DBA
 Oracle Blog : http//www.mahir-quluzade.com
4 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Oracle Database Architecture
 Oracle Instance
– SGA & PGA
– Background Processes
 Oracle Database
– Control Files
– Data Files
– Redo Logs (Online and Archived)
– Parameter and Password file
Pre-12c Oracle Database
5 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Oracle Database Architecture
Requires memory, processes and database files
System Resources
6 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
New Multitenant Architecture
Memory and processes required at multitenant container level only
System Resources
7 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
New Multitenant Architecture
Memory and processes required at multitenant container level only
System Resources
8 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Increasing Consolidation
Oracle Database 12g
Schema Consolidation Multitenant Database
9 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Agenda
 Rethinking Architecture for the Database
 Multitenant Architecture
 Capabilities Enabled
 Managing Shared Resources
 Upgrading to Multitenant
10 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Multitenant Architecture
Components of a Multitenant Container Database (CDB)
Pluggable Databases (PDBs)
PDBs
Root
CDB
create database …
enable pluggable database
Create CDB
create pluggable database …
Create PDB
11 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Multitenant Architecture
 Multitenant architecture can currently
support up to 252 PDBs
 A PDB feels and operates identically to a
non-CDB
 You cannot tell, from the viewpoint of a
connected client, if you’re using a PDB or
a non-CDB
Database
Link
12 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Unplug / plug
Simply unplug from the old CDB…
13 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Unplug / plug
 Moving between CDBs is a simple case
of moving a PDB’s metadata
 An unplugged PDB carries with it lineage,
opatch, encryption key info etc
…and plug in to the new CDB…
14 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Unplug / plug
Example
alter pluggable database HCM
unplug into '/u01/app/oracle/oradata/…/hcm.xml'
create pluggable database My_PDB
using '/u01/app/oracle/oradata/…/hcm.xml'
Plug
Unplug
15 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Common Data Dictionary
Before 12.1: dilution over time
Database Created
Data
Dictionary
User Data
Meta
Data
Mature Database
Data
Dictionary
User Data
Meta
Data
Tables, Code, Data added
Data
Dictionary
User Data
Meta
Data
16 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Data Dictionary Architecture in a CDB
Oracle Database 12c
OBJ$ TAB$ SOURCE$
…
EMP DEPT
…
OBJ$ TAB$ SOURCE$
…
root
Database Metadata Only
PDB
User Metadata Only User Data
MetadataLinks
 Oracle Database stores metadata about
dictionary objects only in the root
– PDB uses Metadata Link to point to the
definition of object stored in the root
 The data corresponding to a metadata link
resides in its PDB
17 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Multitenant Architecture – Dynamics
 PDBs share common SGA and
background processes
 Foreground sessions see only
the PDB they connect to
18 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
0
0.5
1
1.5
2
2.5
3
CRM HCM ERP BI
GB
Pluggable Database
MEMORY
0
0.5
1
1.5
2
2.5
3
CRM HCM ERP BI DW
GB
Pluggable Database
MEMORY
Multitenant Scalability
 Only small increments in memory as
additional PDBs are added
0
0.5
1
1.5
2
2.5
3
CRM HCM ERP
GB
Pluggable Database
MEMORY
19 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Files in the CDB
 Each PDB has its own set of tablespaces
including SYSTEM and SYSAUX
 PDBs share UNDO, REDO
and control files, (s)pfile
 By default the CDB has a single TEMP
tablespace but PDBs may create their
own
Namespaces
20 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Users
 Local users are the successors for
customer-created users in a non-CDB
 A local user is defined only in a PDB
 A local user can administer a PDB
 A common user is defined in the root
and is represented in every PDB
 A common user can log into any PDB
where it has “Create Session” and can
therefore administer a PDB
 The Oracle system is owned by
common users
21 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Common Users and Privileges
 A common user can be granted privileges locally in a PDB (or root)
and therefore differently in each container
 A common user can, alternatively, be granted a system privilege
commonly – the grant is made in root and every PDB, present and
future
 You can create a common role
 A common role can be granted to a common user commonly
 Authorization is checked in the container where the SQL is attempted
considering only the privileges that the user has in that container
Authorization is checked in the same way as as pre-12.1
22 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
23 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Agenda
 Rethinking Architecture for the Database Cloud
 Multitenant Architecture
 Capabilities Enabled
 Managing Shared Resources
 Upgrading to Multitenant
24 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Manage Many as One with Multitenant
Backup databases as one; recover at pluggable database level
One Backup
Point-in-time recovery
At pluggable database level
25 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Manage Many as One with Multitenant
One standby database covers all pluggable databases
26 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Multitenant for Simplified Patching
Apply changes once, all pluggable databases updated
Upgrade
in-place
27 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Multitenant for Upgrades
Flexible choice when patching & upgrading databases
28 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Improved Agility With Changing Workloads
Expand Cluster to Support Flexible Consolidation Model
Services
Single SGA per
CDB Instance
Node1
CDB Instance 1
Node2
CDB Instance 2
Multitenant Container Database (CDB)
29 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Improved Agility With Changing Workloads
Expand Cluster to Support Flexible Consolidation Model
Services
Single SGA per
CDB Instance
Node1
CDB Instance 1
Node2
CDB Instance 2
Node3
CDB Instance 3
Multitenant Container Database (CDB)
30 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Multitenant for Provisioning
 PDBs can be cloned from
remote CDBs
 PDBs can be cloned from
within the same CDB
Fast cloning of PDBs
31 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Cloning a PDB
Example
create pluggable database HCMBI from HCM
create pluggable database HCMBI from HCM@us.acme.db1
Remote (DB Link)
Local
32 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Per PDB vs per CDB
Common operations on CDB with granular control where appropriate
Single Oracle Software Version
Data Guard
Scheduled RMAN Backups
Some parameters/properties
e.g. homogeneous character set
Redo and Undo
RMAN point-in-time recovery
Ad hoc RMAN backups
Flush shared pool
Parameters where
IsPDB_Modifiable = 'TRUE'
Per CDB Per PDB
33 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Advantages of Multitenant Architecture
Reduced CapEx & OpEx, Increased Agility, Easy Adoption
Self-contained PDB for each application
 Applications run unchanged
 Rapid provisioning (via clones)
 Portability (via pluggability)
Shared memory and background processes
 More applications per server
Common operations performed at CDB level
 Manage many as one (upgrade, HA, backup)
 Granular control when appropriate
34 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Agenda
 Rethinking Architecture for the Database Cloud
 Multitenant Architecture
 Capabilities Enabled
 Managing Shared Resources
 Upgrading to Multitenant
35 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Managing Shared Resources
Resource management in multitenant environment
High Priority
Medium Priority
Low Priority
36 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Managing Resources between PDBs
 Resource Manager can manage resources on two basic levels:
– CDB level
 How resources are allocate d to PDBs
 Limit the resources utilization of specific PDBs
– PDB level
 Resource Manager can manage the workloads within each PDB
37 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Managing Resources between PDBs
 Using Resource Manager, you can control
– CPU
– Parallel execution servers
– Exadata I/O
– Sessions
 Configure a policy that controls how resources are utilized
– Default configuration that works, even as PDBs are added or removed
 You can change default configuration
38 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Manage CPU
Pluggable Database Shares Guaranteed CPU Maximum CPU
HCM 2 2/4 = 50% 100%
CRM 1 1/4 = 25% 100%
ERP 1 1/4 = 25% 100%
2 Shares 1 Share 1 Share
A CDB Resource Plan uses
shares to specify how CPU is
distributed between PDBs
39 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Agenda
 Rethinking Architecture for the Database Cloud
 Multitenant Architecture
 Capabilities Enabled
 Managing Shared Resources
 Upgrading to Multitenant
40 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Upgrading to Multitenant
Step 1: Upgrade databases in-place
Upgrade in Place
41 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Upgrading to Multitenant
Step 2: Plug-in upgraded databases
42 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Upgrading to Multitenant
 No application changes required.
Step 3. Change applications to work with Multitenant
43 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Migrate using Replication
① Provision new PDB from Seed
② Replicate using technologies such as
Oracle GoldenGate or Data Pump
New in 12.1, you ask that full database
export and full database import make
maximum use of transportable
tablespaces in the single expdb and
impdb commands.
(Backported to 11.2.0.3.)
44 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Benefit Capability Enabled
Minimize CapEx • More applications per server
Minimize OpEx
• Manage many as one
• Standardized procedures & service levels
• Rapid provisioning
Maximize Agility
• Cloning for development / testing
• Portability through “pluggability”
• Scalability with RAC
Ease of Adoption • Applications run unchanged
Key Benefits
45 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Agenda
 Rethinking Architecture for the Database Cloud
 Multitenant Architecture
 Capabilities Enabled
 Managing Shared Resources
 Upgrading to Multitenant
46 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Your questions
47 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
Mahir M. Quluzade
http://www.mahir-quluzade.com

Más contenido relacionado

La actualidad más candente

REST in Piece - Administration of an Oracle Cluster/Database using REST
REST in Piece - Administration of an Oracle Cluster/Database using RESTREST in Piece - Administration of an Oracle Cluster/Database using REST
REST in Piece - Administration of an Oracle Cluster/Database using RESTChristian Gohmann
 
Meb Backup & Recovery Performance
Meb Backup & Recovery PerformanceMeb Backup & Recovery Performance
Meb Backup & Recovery PerformanceKeith Hollman
 
Tx lf propercareandfeedmysql
Tx lf propercareandfeedmysqlTx lf propercareandfeedmysql
Tx lf propercareandfeedmysqlDave Stokes
 
MySQL :What's New #GIDS16
MySQL :What's New #GIDS16MySQL :What's New #GIDS16
MySQL :What's New #GIDS16Sanjay Manwani
 
MySQL Enterprise Backup: PITR Partial Online Recovery
MySQL Enterprise Backup: PITR Partial Online RecoveryMySQL Enterprise Backup: PITR Partial Online Recovery
MySQL Enterprise Backup: PITR Partial Online RecoveryKeith Hollman
 
MySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and DevelopersMySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and DevelopersRonald Bradford
 
Exploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your CloudExploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your Clouddyahalom
 
MySQL 8.0 achitecture and enhancement
MySQL 8.0 achitecture and enhancementMySQL 8.0 achitecture and enhancement
MySQL 8.0 achitecture and enhancementlalit choudhary
 
MySQL Cluster Asynchronous replication (2014)
MySQL Cluster Asynchronous replication (2014) MySQL Cluster Asynchronous replication (2014)
MySQL Cluster Asynchronous replication (2014) Frazer Clement
 
SOUG Day Oracle 21c New Security Features
SOUG Day Oracle 21c New Security FeaturesSOUG Day Oracle 21c New Security Features
SOUG Day Oracle 21c New Security FeaturesStefan Oehrli
 
My First 100 days with an Exadata (WP)
My First 100 days with an Exadata  (WP)My First 100 days with an Exadata  (WP)
My First 100 days with an Exadata (WP)Gustavo Rene Antunez
 
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]Markus Michalewicz
 
MySQL's new Secure by Default Install -- All Things Open October 20th 2015
MySQL's new Secure by Default Install -- All Things Open October 20th 2015MySQL's new Secure by Default Install -- All Things Open October 20th 2015
MySQL's new Secure by Default Install -- All Things Open October 20th 2015Dave Stokes
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new featuresJakkrapat S.
 
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]Markus Michalewicz
 
Backing Up the MySQL Database
Backing Up the MySQL DatabaseBacking Up the MySQL Database
Backing Up the MySQL DatabaseSanjay Manwani
 
MySQL Performance Best Practices
MySQL Performance Best PracticesMySQL Performance Best Practices
MySQL Performance Best PracticesOlivier DASINI
 
Oracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesOracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesGustavo Rene Antunez
 
MySQL Enterprise Backup
MySQL Enterprise BackupMySQL Enterprise Backup
MySQL Enterprise BackupMark Swarbrick
 

La actualidad más candente (20)

Oracle 12c - Multitenant Feature
Oracle 12c - Multitenant FeatureOracle 12c - Multitenant Feature
Oracle 12c - Multitenant Feature
 
REST in Piece - Administration of an Oracle Cluster/Database using REST
REST in Piece - Administration of an Oracle Cluster/Database using RESTREST in Piece - Administration of an Oracle Cluster/Database using REST
REST in Piece - Administration of an Oracle Cluster/Database using REST
 
Meb Backup & Recovery Performance
Meb Backup & Recovery PerformanceMeb Backup & Recovery Performance
Meb Backup & Recovery Performance
 
Tx lf propercareandfeedmysql
Tx lf propercareandfeedmysqlTx lf propercareandfeedmysql
Tx lf propercareandfeedmysql
 
MySQL :What's New #GIDS16
MySQL :What's New #GIDS16MySQL :What's New #GIDS16
MySQL :What's New #GIDS16
 
MySQL Enterprise Backup: PITR Partial Online Recovery
MySQL Enterprise Backup: PITR Partial Online RecoveryMySQL Enterprise Backup: PITR Partial Online Recovery
MySQL Enterprise Backup: PITR Partial Online Recovery
 
MySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and DevelopersMySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and Developers
 
Exploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your CloudExploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your Cloud
 
MySQL 8.0 achitecture and enhancement
MySQL 8.0 achitecture and enhancementMySQL 8.0 achitecture and enhancement
MySQL 8.0 achitecture and enhancement
 
MySQL Cluster Asynchronous replication (2014)
MySQL Cluster Asynchronous replication (2014) MySQL Cluster Asynchronous replication (2014)
MySQL Cluster Asynchronous replication (2014)
 
SOUG Day Oracle 21c New Security Features
SOUG Day Oracle 21c New Security FeaturesSOUG Day Oracle 21c New Security Features
SOUG Day Oracle 21c New Security Features
 
My First 100 days with an Exadata (WP)
My First 100 days with an Exadata  (WP)My First 100 days with an Exadata  (WP)
My First 100 days with an Exadata (WP)
 
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
 
MySQL's new Secure by Default Install -- All Things Open October 20th 2015
MySQL's new Secure by Default Install -- All Things Open October 20th 2015MySQL's new Secure by Default Install -- All Things Open October 20th 2015
MySQL's new Secure by Default Install -- All Things Open October 20th 2015
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
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]
 
Backing Up the MySQL Database
Backing Up the MySQL DatabaseBacking Up the MySQL Database
Backing Up the MySQL Database
 
MySQL Performance Best Practices
MySQL Performance Best PracticesMySQL Performance Best Practices
MySQL Performance Best Practices
 
Oracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesOracle 12c and its pluggable databases
Oracle 12c and its pluggable databases
 
MySQL Enterprise Backup
MySQL Enterprise BackupMySQL Enterprise Backup
MySQL Enterprise Backup
 

Destacado

Mahir M. Quluzade - Oracle ASM : Ən çox soruşulan 5 sual
Mahir M. Quluzade - Oracle ASM : Ən çox soruşulan 5 sualMahir M. Quluzade - Oracle ASM : Ən çox soruşulan 5 sual
Mahir M. Quluzade - Oracle ASM : Ən çox soruşulan 5 sualMahir M. Quluzade
 
Oracle Day in Baku State University - Oracle Database Overview
Oracle Day in Baku State University - Oracle Database Overview Oracle Day in Baku State University - Oracle Database Overview
Oracle Day in Baku State University - Oracle Database Overview Mahir M. Quluzade
 
Mahir M. Quluzade - TROUG DAY2012 11.10.2012
Mahir M. Quluzade - TROUG DAY2012 11.10.2012 Mahir M. Quluzade - TROUG DAY2012 11.10.2012
Mahir M. Quluzade - TROUG DAY2012 11.10.2012 Mahir M. Quluzade
 
Mahir M. Quluzade - Fərqli əməliyyat sistemləri eyni Data Guard Konfiqurasi...
Mahir M. Quluzade   - Fərqli əməliyyat sistemləri eyni Data Guard Konfiqurasi...Mahir M. Quluzade   - Fərqli əməliyyat sistemləri eyni Data Guard Konfiqurasi...
Mahir M. Quluzade - Fərqli əməliyyat sistemləri eyni Data Guard Konfiqurasi...Mahir M. Quluzade
 
Database Vault / Verinin Güvenliği
Database Vault /  Verinin GüvenliğiDatabase Vault /  Verinin Güvenliği
Database Vault / Verinin GüvenliğiAnar Godjaev
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi TenantRed Stack Tech
 
EM13c: Write Powerful Scripts with EMCLI
EM13c: Write Powerful Scripts with EMCLIEM13c: Write Powerful Scripts with EMCLI
EM13c: Write Powerful Scripts with EMCLIGokhan Atil
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationYudi Herdiana
 
how to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vaulthow to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vaultAnar Godjaev
 
Oracle 10g Database Server Kurulum
Oracle 10g Database Server KurulumOracle 10g Database Server Kurulum
Oracle 10g Database Server KurulumAnar Godjaev
 

Destacado (13)

Mahir M. Quluzade - Oracle ASM : Ən çox soruşulan 5 sual
Mahir M. Quluzade - Oracle ASM : Ən çox soruşulan 5 sualMahir M. Quluzade - Oracle ASM : Ən çox soruşulan 5 sual
Mahir M. Quluzade - Oracle ASM : Ən çox soruşulan 5 sual
 
Oracle Day in Baku State University - Oracle Database Overview
Oracle Day in Baku State University - Oracle Database Overview Oracle Day in Baku State University - Oracle Database Overview
Oracle Day in Baku State University - Oracle Database Overview
 
Mahir M. Quluzade - TROUG DAY2012 11.10.2012
Mahir M. Quluzade - TROUG DAY2012 11.10.2012 Mahir M. Quluzade - TROUG DAY2012 11.10.2012
Mahir M. Quluzade - TROUG DAY2012 11.10.2012
 
Mahir M. Quluzade - Fərqli əməliyyat sistemləri eyni Data Guard Konfiqurasi...
Mahir M. Quluzade   - Fərqli əməliyyat sistemləri eyni Data Guard Konfiqurasi...Mahir M. Quluzade   - Fərqli əməliyyat sistemləri eyni Data Guard Konfiqurasi...
Mahir M. Quluzade - Fərqli əməliyyat sistemləri eyni Data Guard Konfiqurasi...
 
Presentation day1oracle 12c
Presentation day1oracle 12cPresentation day1oracle 12c
Presentation day1oracle 12c
 
Oracle Database 12c : Multitenant
Oracle Database 12c : MultitenantOracle Database 12c : Multitenant
Oracle Database 12c : Multitenant
 
Database Vault / Verinin Güvenliği
Database Vault /  Verinin GüvenliğiDatabase Vault /  Verinin Güvenliği
Database Vault / Verinin Güvenliği
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi Tenant
 
EM13c: Write Powerful Scripts with EMCLI
EM13c: Write Powerful Scripts with EMCLIEM13c: Write Powerful Scripts with EMCLI
EM13c: Write Powerful Scripts with EMCLI
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
 
how to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vaulthow to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vault
 
Oracle 10g Database Server Kurulum
Oracle 10g Database Server KurulumOracle 10g Database Server Kurulum
Oracle 10g Database Server Kurulum
 
Oracle 12c Architecture
Oracle 12c ArchitectureOracle 12c Architecture
Oracle 12c Architecture
 

Similar a Oracle Multitenant Architecture and Capabilities

Oracle Database 12c para la comunidad GeneXus - Engineered for clouds
Oracle Database 12c para la comunidad GeneXus - Engineered for cloudsOracle Database 12c para la comunidad GeneXus - Engineered for clouds
Oracle Database 12c para la comunidad GeneXus - Engineered for cloudsGeneXus
 
Multitenant Full Deck Jan 2015 Cloud Team AJ Linkedin
Multitenant Full Deck Jan 2015 Cloud Team AJ LinkedinMultitenant Full Deck Jan 2015 Cloud Team AJ Linkedin
Multitenant Full Deck Jan 2015 Cloud Team AJ LinkedinArush Jain
 
Oracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutesOracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutesConnor McDonald
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudipasalapudi123
 
Winning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantWinning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantPini Dibask
 
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
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databasesomnidba
 
Multi-Tenancy: Da Teoria à Prática, do DB ao Middleware
Multi-Tenancy: Da Teoria à Prática, do DB ao MiddlewareMulti-Tenancy: Da Teoria à Prática, do DB ao Middleware
Multi-Tenancy: Da Teoria à Prática, do DB ao MiddlewareBruno Borges
 
Consolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficienciesConsolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficienciesDLT Solutions
 
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
 
Red Hat multi-cluster management & what's new in OpenShift
Red Hat multi-cluster management & what's new in OpenShiftRed Hat multi-cluster management & what's new in OpenShift
Red Hat multi-cluster management & what's new in OpenShiftKangaroot
 
MySQL Web Reference Architecture
MySQL Web Reference Architecture MySQL Web Reference Architecture
MySQL Web Reference Architecture Ricky Setyawan
 
HP CloudSystem, Alex Haddock, HP Server Strategy Team
HP CloudSystem, Alex Haddock, HP Server Strategy TeamHP CloudSystem, Alex Haddock, HP Server Strategy Team
HP CloudSystem, Alex Haddock, HP Server Strategy Teamsubtitle
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantPini Dibask
 
twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633Arush Jain
 
Simplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cSimplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cMaris Elsins
 
32984 cloud system la-bcs
32984 cloud system la-bcs32984 cloud system la-bcs
32984 cloud system la-bcsgmazuel
 

Similar a Oracle Multitenant Architecture and Capabilities (20)

Oracle Database 12c para la comunidad GeneXus - Engineered for clouds
Oracle Database 12c para la comunidad GeneXus - Engineered for cloudsOracle Database 12c para la comunidad GeneXus - Engineered for clouds
Oracle Database 12c para la comunidad GeneXus - Engineered for clouds
 
Multitenant Full Deck Jan 2015 Cloud Team AJ Linkedin
Multitenant Full Deck Jan 2015 Cloud Team AJ LinkedinMultitenant Full Deck Jan 2015 Cloud Team AJ Linkedin
Multitenant Full Deck Jan 2015 Cloud Team AJ Linkedin
 
Oracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutesOracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutes
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudi
 
con8832-cloudha-2811114.pdf
con8832-cloudha-2811114.pdfcon8832-cloudha-2811114.pdf
con8832-cloudha-2811114.pdf
 
Winning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantWinning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenant
 
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
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databases
 
Multi-Tenancy: Da Teoria à Prática, do DB ao Middleware
Multi-Tenancy: Da Teoria à Prática, do DB ao MiddlewareMulti-Tenancy: Da Teoria à Prática, do DB ao Middleware
Multi-Tenancy: Da Teoria à Prática, do DB ao Middleware
 
Consolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficienciesConsolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficiencies
 
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
 
Red Hat multi-cluster management & what's new in OpenShift
Red Hat multi-cluster management & what's new in OpenShiftRed Hat multi-cluster management & what's new in OpenShift
Red Hat multi-cluster management & what's new in OpenShift
 
MySQL Web Reference Architecture
MySQL Web Reference Architecture MySQL Web Reference Architecture
MySQL Web Reference Architecture
 
Hp
HpHp
Hp
 
HP CloudSystem, Alex Haddock, HP Server Strategy Team
HP CloudSystem, Alex Haddock, HP Server Strategy TeamHP CloudSystem, Alex Haddock, HP Server Strategy Team
HP CloudSystem, Alex Haddock, HP Server Strategy Team
 
Code One 2018 maven
Code One 2018   mavenCode One 2018   maven
Code One 2018 maven
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle Multitenant
 
twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633
 
Simplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cSimplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12c
 
32984 cloud system la-bcs
32984 cloud system la-bcs32984 cloud system la-bcs
32984 cloud system la-bcs
 

Último

[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
 
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
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
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 slidevu2urc
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
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
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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...Igalia
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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 MenDelhi Call girls
 

Último (20)

[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
 
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
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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...
 
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...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 

Oracle Multitenant Architecture and Capabilities

  • 1. Oracle Multitenant Mahir M. Quluzade Organized by ORIENT ITM 12 July 2014
  • 2. 2 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Agenda  Rethinking Architecture for the Database  Multitenant Architecture  Capabilities Enabled  Managing Shared Resources  Upgrading to Multitenant
  • 3. 3 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com About me  Broad member of AZEROUG (Azerbaijan Oracle User Group)  OCE, RAC 11g and Grid infrastructure  OCP Database 11g Administrator  OCE Database SQL  Author of OTN Articles and OTech Magazine  Central Bank - Oracle DBA  Oracle Blog : http//www.mahir-quluzade.com
  • 4. 4 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Oracle Database Architecture  Oracle Instance – SGA & PGA – Background Processes  Oracle Database – Control Files – Data Files – Redo Logs (Online and Archived) – Parameter and Password file Pre-12c Oracle Database
  • 5. 5 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Oracle Database Architecture Requires memory, processes and database files System Resources
  • 6. 6 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com New Multitenant Architecture Memory and processes required at multitenant container level only System Resources
  • 7. 7 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com New Multitenant Architecture Memory and processes required at multitenant container level only System Resources
  • 8. 8 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Increasing Consolidation Oracle Database 12g Schema Consolidation Multitenant Database
  • 9. 9 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Agenda  Rethinking Architecture for the Database  Multitenant Architecture  Capabilities Enabled  Managing Shared Resources  Upgrading to Multitenant
  • 10. 10 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Multitenant Architecture Components of a Multitenant Container Database (CDB) Pluggable Databases (PDBs) PDBs Root CDB create database … enable pluggable database Create CDB create pluggable database … Create PDB
  • 11. 11 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Multitenant Architecture  Multitenant architecture can currently support up to 252 PDBs  A PDB feels and operates identically to a non-CDB  You cannot tell, from the viewpoint of a connected client, if you’re using a PDB or a non-CDB Database Link
  • 12. 12 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Unplug / plug Simply unplug from the old CDB…
  • 13. 13 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Unplug / plug  Moving between CDBs is a simple case of moving a PDB’s metadata  An unplugged PDB carries with it lineage, opatch, encryption key info etc …and plug in to the new CDB…
  • 14. 14 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Unplug / plug Example alter pluggable database HCM unplug into '/u01/app/oracle/oradata/…/hcm.xml' create pluggable database My_PDB using '/u01/app/oracle/oradata/…/hcm.xml' Plug Unplug
  • 15. 15 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Common Data Dictionary Before 12.1: dilution over time Database Created Data Dictionary User Data Meta Data Mature Database Data Dictionary User Data Meta Data Tables, Code, Data added Data Dictionary User Data Meta Data
  • 16. 16 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Data Dictionary Architecture in a CDB Oracle Database 12c OBJ$ TAB$ SOURCE$ … EMP DEPT … OBJ$ TAB$ SOURCE$ … root Database Metadata Only PDB User Metadata Only User Data MetadataLinks  Oracle Database stores metadata about dictionary objects only in the root – PDB uses Metadata Link to point to the definition of object stored in the root  The data corresponding to a metadata link resides in its PDB
  • 17. 17 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Multitenant Architecture – Dynamics  PDBs share common SGA and background processes  Foreground sessions see only the PDB they connect to
  • 18. 18 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com 0 0.5 1 1.5 2 2.5 3 CRM HCM ERP BI GB Pluggable Database MEMORY 0 0.5 1 1.5 2 2.5 3 CRM HCM ERP BI DW GB Pluggable Database MEMORY Multitenant Scalability  Only small increments in memory as additional PDBs are added 0 0.5 1 1.5 2 2.5 3 CRM HCM ERP GB Pluggable Database MEMORY
  • 19. 19 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Files in the CDB  Each PDB has its own set of tablespaces including SYSTEM and SYSAUX  PDBs share UNDO, REDO and control files, (s)pfile  By default the CDB has a single TEMP tablespace but PDBs may create their own Namespaces
  • 20. 20 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Users  Local users are the successors for customer-created users in a non-CDB  A local user is defined only in a PDB  A local user can administer a PDB  A common user is defined in the root and is represented in every PDB  A common user can log into any PDB where it has “Create Session” and can therefore administer a PDB  The Oracle system is owned by common users
  • 21. 21 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Common Users and Privileges  A common user can be granted privileges locally in a PDB (or root) and therefore differently in each container  A common user can, alternatively, be granted a system privilege commonly – the grant is made in root and every PDB, present and future  You can create a common role  A common role can be granted to a common user commonly  Authorization is checked in the container where the SQL is attempted considering only the privileges that the user has in that container Authorization is checked in the same way as as pre-12.1
  • 22. 22 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com
  • 23. 23 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Agenda  Rethinking Architecture for the Database Cloud  Multitenant Architecture  Capabilities Enabled  Managing Shared Resources  Upgrading to Multitenant
  • 24. 24 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Manage Many as One with Multitenant Backup databases as one; recover at pluggable database level One Backup Point-in-time recovery At pluggable database level
  • 25. 25 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Manage Many as One with Multitenant One standby database covers all pluggable databases
  • 26. 26 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Multitenant for Simplified Patching Apply changes once, all pluggable databases updated Upgrade in-place
  • 27. 27 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Multitenant for Upgrades Flexible choice when patching & upgrading databases
  • 28. 28 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Improved Agility With Changing Workloads Expand Cluster to Support Flexible Consolidation Model Services Single SGA per CDB Instance Node1 CDB Instance 1 Node2 CDB Instance 2 Multitenant Container Database (CDB)
  • 29. 29 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Improved Agility With Changing Workloads Expand Cluster to Support Flexible Consolidation Model Services Single SGA per CDB Instance Node1 CDB Instance 1 Node2 CDB Instance 2 Node3 CDB Instance 3 Multitenant Container Database (CDB)
  • 30. 30 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Multitenant for Provisioning  PDBs can be cloned from remote CDBs  PDBs can be cloned from within the same CDB Fast cloning of PDBs
  • 31. 31 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Cloning a PDB Example create pluggable database HCMBI from HCM create pluggable database HCMBI from HCM@us.acme.db1 Remote (DB Link) Local
  • 32. 32 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Per PDB vs per CDB Common operations on CDB with granular control where appropriate Single Oracle Software Version Data Guard Scheduled RMAN Backups Some parameters/properties e.g. homogeneous character set Redo and Undo RMAN point-in-time recovery Ad hoc RMAN backups Flush shared pool Parameters where IsPDB_Modifiable = 'TRUE' Per CDB Per PDB
  • 33. 33 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Advantages of Multitenant Architecture Reduced CapEx & OpEx, Increased Agility, Easy Adoption Self-contained PDB for each application  Applications run unchanged  Rapid provisioning (via clones)  Portability (via pluggability) Shared memory and background processes  More applications per server Common operations performed at CDB level  Manage many as one (upgrade, HA, backup)  Granular control when appropriate
  • 34. 34 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Agenda  Rethinking Architecture for the Database Cloud  Multitenant Architecture  Capabilities Enabled  Managing Shared Resources  Upgrading to Multitenant
  • 35. 35 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Managing Shared Resources Resource management in multitenant environment High Priority Medium Priority Low Priority
  • 36. 36 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Managing Resources between PDBs  Resource Manager can manage resources on two basic levels: – CDB level  How resources are allocate d to PDBs  Limit the resources utilization of specific PDBs – PDB level  Resource Manager can manage the workloads within each PDB
  • 37. 37 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Managing Resources between PDBs  Using Resource Manager, you can control – CPU – Parallel execution servers – Exadata I/O – Sessions  Configure a policy that controls how resources are utilized – Default configuration that works, even as PDBs are added or removed  You can change default configuration
  • 38. 38 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Manage CPU Pluggable Database Shares Guaranteed CPU Maximum CPU HCM 2 2/4 = 50% 100% CRM 1 1/4 = 25% 100% ERP 1 1/4 = 25% 100% 2 Shares 1 Share 1 Share A CDB Resource Plan uses shares to specify how CPU is distributed between PDBs
  • 39. 39 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Agenda  Rethinking Architecture for the Database Cloud  Multitenant Architecture  Capabilities Enabled  Managing Shared Resources  Upgrading to Multitenant
  • 40. 40 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Upgrading to Multitenant Step 1: Upgrade databases in-place Upgrade in Place
  • 41. 41 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Upgrading to Multitenant Step 2: Plug-in upgraded databases
  • 42. 42 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Upgrading to Multitenant  No application changes required. Step 3. Change applications to work with Multitenant
  • 43. 43 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Migrate using Replication ① Provision new PDB from Seed ② Replicate using technologies such as Oracle GoldenGate or Data Pump New in 12.1, you ask that full database export and full database import make maximum use of transportable tablespaces in the single expdb and impdb commands. (Backported to 11.2.0.3.)
  • 44. 44 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Benefit Capability Enabled Minimize CapEx • More applications per server Minimize OpEx • Manage many as one • Standardized procedures & service levels • Rapid provisioning Maximize Agility • Cloning for development / testing • Portability through “pluggability” • Scalability with RAC Ease of Adoption • Applications run unchanged Key Benefits
  • 45. 45 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Agenda  Rethinking Architecture for the Database Cloud  Multitenant Architecture  Capabilities Enabled  Managing Shared Resources  Upgrading to Multitenant
  • 46. 46 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Your questions
  • 47. 47 Oracle Multitenant - Mahir M. Quluzade © 2014 http://www.mahir-quluzade.com Mahir M. Quluzade http://www.mahir-quluzade.com

Notas del editor

  1. Here’s an example of how we’d specify resource plans for the allocation of CPU between three PDBs There are four total shares, 2 for HCM and one each for CRM and ERP. That means that HCM is guaranteed 50% of the CPU whatever else is going on in other PDBs. Similarly CRM and ERP are each guaranteed at least 25%. However, there are no caps in this case, so that, for example, ERP could have 100% of the CPU if HCM and CRM were idle.