SlideShare a Scribd company logo
1 of 43
Download to read offline
Zohar Elkayam
www.realdbamagic.com
Twitter: @realmgic
Exploring Oracle Multitenant
in Oracle Database 12c
Based on Presentation by Ami Aharonovich
Who am I?
• Zohar Elkayam, CTO at Brillix
• Programmer, DBA, team leader, database trainer, public
speaker, and a senior consultant for over 18 years
• Oracle ACE Associate
• Part of ilOUG – Israel Oracle User Group
• Blogger – www.realdbamagic.com and www.ilDBA.co.il
2 http://brillix.co.il
About Brillix
• We offer complete, integrated end-to-end solutions based on best-of-
breed innovations in database, security and big data technologies
• We provide complete end-to-end 24x7 expert remote database
services
• We offer professional customized on-site trainings, delivered by our
top-notch world recognized instructors
3 http://brillix.co.il
Some of Our Customers
http://brillix.co.il4
Agenda
•The Multitenant Container Database Architecture
•Multitenant Benefits and Impacts
•CDB and PDB Deployments and Provisioning
•Tools and Self-service tools
•Live Demo
http://brillix.co.il5
Architecture, Benefits and Impacts
http://brillix.co.il6
Oracle Database in 11g Release 2
• Multiple non-CDBs share nothing:
• Too many background processes
• High shared/process memory
• Many copies of Oracle metadata
Database (Storage Structures)
Server
Database
Instance
System Global Area
Process Structures
Instance
Pre-12c
http://brillix.co.il7
Multitenant Container Database Architecture
• Single DB shares:
• Background processes
• Shared/process memory
• Oracle metadata
• Redo log files
• Control files
• Undo tablespace
Instance
System Global Area
Process Structures
Server
Instance
Multitenant
container
database
root container
Data files Redo Log
files
Control files
UNDO
TEMP
SYSTEM
SYSAUX
seed PDB
Data files
SYSTEM
SYSAUX
SALES PDB
SYSTEM
SYSAUX TBS2
HR PDB
Data files
TEMP1
Data files
TEMP2
PDBid2 PDBid3 PDBid4 PDBid2 PDBid4
http://brillix.co.il8
Containers: Root Container
Two types of containers in V$CONTAINERS:
•The root container:
• The first container created at CDB creation
• Mandatory
• Oracle system-supplied common objects and metadata
• Oracle system-supplied common users and roles
http://brillix.co.il9
Containers: Pluggable Database Container
• Pluggable database containers (PDBs):
• A container for an application:
• Tablespaces (permanent and temporary)
• Schemas / objects / privileges
• Created / cloned / unplugged / plugged
• Particular seed PDB:
• PDB$SEED provides fast provisioning of a new PDB
• Limit of 253 PDBs in a CDB including the seed and 1024
services per CDB (before 12.2)
• Limit of 4096 PDBs in a CDB (after 12.2)
http://brillix.co.il10
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
http://brillix.co.il11
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
http://brillix.co.il12
Common Users and Privileges
• Authorization is checked in the same way as as pre-12.1
• 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
http://brillix.co.il13
CDB_xxx All objects in the multitenant container database across all PDBs
USER_xxx Objects owned by the current user
ALL_xxx Objects accessible by the current user
DBA_xxx All of the objects in a container or pluggable database
Data Dictionary Views
• CDB_pdbs: All PDBS within CDB
• CDB_tablespaces: All tablespaces within CDB
• CDB_users: All users within CDB (common and local)
SQL> SELECT view_name FROM dba_views WHERE view_name like 'CDB%';
http://brillix.co.il14
New Multitenant Architecture: Benefits
• Operates multiple databases in a centrally managed
platform to lower costs:
• Less instance overhead
• Less storage cost
• No application changes
• Fast and easy provisioning
• Ensures full backwards-compatibility with non-CDBs
http://brillix.co.il15
New Multitenant Architecture: Benefits (2)
• Fully operates with RAC and Data Guard
• Is supported by Enterprise Manager
• Allows central management and administration of multiple
databases
• Backups or disaster recovery
• Patching and upgrades
http://brillix.co.il16
Impacts (1)
• One character set for all PDBs (Unicode recommended)
• Shared REDO log file and archive log process
• Oracle Data Guard at CDB level
• PDB initialization parameters, but a single SPFILE for all
PDBs
• One master key per PDB to encrypt PDB data
http://brillix.co.il17
Impacts (2)
• No PDB qualified database object names
• SELECT * FROM HR:apps.tab1
• Use DB Links: SELECT * FROM apps.tab1@HR
• Oracle Database Vault per PDB only
• Unified audit both at CDB and PDB levels
• Oracle Scheduler
• Oracle GoldenGate
http://brillix.co.il18
Impacts (3)
• AWR data is stored in the CDB, visible from any of the PDBs
• The awrrpt.sql script can work on either CDB or PDB level
• MOS Note: 1993045.1 – “Reducing AWR Resource Consumption
using LITE Mode snapshots” (12.1.0.2)
• PDB new CONTAINERS clause (12.1.0.2):
• Data can be aggregated from a single identical table or view across
many PDBs from the root container
• CONTAINERS clause accepts a table or view name as an input
parameter that is expected to exists in all PDBs in that container
• Data from specific PDBs can be included with the use of CON_ID in
the WHERE clause
http://brillix.co.il19
Impacts (4)
• When creating the CDB (DBCA), all options will be created
• MOS Doc ID 2001512.1 – creating a container database (CDB) with
a subset of options
• MOS Doc ID 1616554.1 – customization of database options in a
multitenant setup
• By default, PDBs need to be started manually
• ALTER PLUGGABLE DATABASE pdb SAVE STATE;
• Deprecation of Non-CDB Architecture
• “The non-CDB architecture is deprecated in Oracle Database 12c, and may
be desupported and unavailable in a release after Oracle Database 12c
Release 2. Oracle recommends use of the CDB architecture”
http://brillix.co.il20
Deployment and
PDB Provisioning
http://brillix.co.il21
Deployment – CDB Creation and Configuration
• Use DBCA (GUI or silent mode)
• Standardize your database options and character set
• Size the CDB as you would a large database
• Configure Linux Huge Pages if SGA > ~30GB
• Modify memlock limits accordingly
• Use ASMM
• Set processes to 100 * physical core
• Set SGA_TARGET to 60% of physical memory
• Automatic PGA memory management (20% of SGA)
• Limit UNDO to grow no more than 20% of SGA
• Redo: minimum 4GB and size to switch max <= 10-20 mins, 3-4 redo log groups,
archive
http://brillix.co.il22
Instance
SGA
Process StructuresInstance
Container
Database
CDB1
root container
seed pluggable database
Steps to Create a Container Database
2
1
Container Database CDB1
Datafiles
Control
files
UNDOSYSTEM
SYSAUX
Redo Log
files
SYSTEM
TEMP1
TEMP
SYSAUX
initCDB1.ora
3
4
Execute scripts from root
catcdb.sql
http://brillix.co.il23
Creating a Container Database: Using SQL*Plus
1.Instance startup:
a. Set ORACLE_SID=CDB1
b. Set in initCDB1.ora:
– Set CONTROL_FILES to CDB control file names.
– Set DB_NAME to CDB name.
– Set ENABLE_PLUGGABLE_DATABASE to TRUE.
2. Create the database:
– CDB$ROOT container
– PDB$SEED pluggable database
3. Run the catcdb.sql script.
SQL> CONNECT / AS SYSDBA
SQL> STARTUP NOMOUNT
SQL> CREATE DATABASE CDB1 ENABLE PLUGGABLE DATABASE …
SEED FILE_NAME_CONVERT ('/oracle/dbs','/oracle/seed');
http://brillix.co.il24
Creating a Container Database: Using DBCA
http://brillix.co.il25
After CDB Creation: To-Do List
After CDB creation, the CDBA has to:
• Set a separate default tablespace for the root and for each PDB
• Set a default temporary tablespace for each container
• Start the listener
• Plug non-CDBs
• Test startup/shutdown procedures
• Define default PDB state to automate PDBs opening
• Create backup and recovery procedures
12.1.0.2
http://brillix.co.il26
Provisioning a Pluggable Database
• Different methods:
• Create new PDB from PDB$SEED pluggable database.
• Plug in a non-CDB.
• Clone a non-CDB into a CDB, or a PDB into the same or another CDB.
• Plug an unplugged PDB into a CDB.
Seed
PDB
New
empty
PDB
root
Multitenant Container Database
http://brillix.co.il27
Provisioning Tools
•To provision new PDBs, we can use:
• SQL*Plus commands
• SQL Developer
• Enterprise Manager Cloud Control
• Enterprise Manager Database Express
• DBCA
• Copy from seed
• By unplugging/plugging method
• Self-Service Provisioning Application
http://brillix.co.il28
Deployment – PDB Creation and Configuration
• Clone
• Configure clone quotas and storage limits
• Don’t modify PDB$SEED, create and customize your own SEED
• Use CREATE_FILE_DEST for PDB file destination (12.1.0.2)
• Use ISPDB_MODIFIABLE to evaluate and adjust parameters in
PDB level (optimizer settings, cursor_sharing…)
• Check PDB parameter settings in your session (PDB
parameters are stored in CDB$ROOT dictionary)
http://brillix.co.il29
Method 1: Create New PDB from PDB$SEED
• Copies the data files from PDB$SEED data files
• Creates SYSTEM and SYSAUX tablespaces
• Creates a full catalog including metadata pointing
to Oracle-supplied objects
• Creates a temporary tablespace, TEMP
• Creates common users:
• Superuser SYS
• SYSTEM
• Creates a local user (PDBA) granted local
PDB_DBA role
• Creates a new default service
Container Database CDB1
root
Data files/
Tempfiles
Redo Log
files
Control
files
UNDO
TEMP
PDB$SEED
Data files
PDB1
Data files
Create
PDB1
from
PDB$SEED
TEMP
SYSAUX
SYSTEM
SYSTEM
USERS
SYSAUX
SYSAUX
SYSTEM
http://brillix.co.il31
Steps: With Location Clauses
• Connect to the root as a common user with the CREATE PLUGGABLE
DATABASE privilege:
• Use FILE_NAME_CONVERT:
• Use CREATE_FILE_DEST:
• Use views to verify:
SQL> CREATE PLUGGABLE DATABASE pdb1
ADMIN USER admin1 IDENTIFIED BY p1 ROLES=(CONNECT)
FILE_NAME_CONVERT = ('PDB$SEEDdir', 'PDB1dir');
SQL> CONNECT / AS SYSDBA
SQL> SELECT * FROM cdb_pdbs;
SQL> SELECT * FROM cdb_tablespaces;
SQL> SELECT * FROM cdb_data_files;
SQL> CONNECT sys@pdb1 AS SYSDBA
SQL> CONNECT admin1@pdb1
SQL> CREATE PLUGGABLE DATABASE pdb2
ADMIN USER admin2 IDENTIFIED BY p2 ROLES=(CONNECT)
CREATE_FILE_DEST = 'PDB2dir';
12.1.0.2
http://brillix.co.il32
Method 2: Plug a Non-CDB in to CDB Using DBMS_PDB
1. Open ORCL in READ ONLY mode.
2.
3. Connect to the target CDB1 CDB as a common user
with CREATE PLUGGABLE DATABASE privilege.
4. Plug in the unplugged ORCL as PDB2.
5. Run the noncdb_to_pdb.sql script.
6. Open PDB2.
SQL> CREATE PLUGGABLE DATABASE
PDB2 USING '/tmp/ORCL.xml';
SQL> EXEC DBMS_PDB.DESCRIBE
('/tmp/ORCL.xml')
SQL> CONNECT sys@PDB2 AS SYSDBA
SQL> @$ORACLE_HOME/rdbms/admin/noncdb_to_pdb
SQL> ALTER PLUGGABLE DATABASE
PDB2 OPEN;
Container Database CDB1
root
Data files/
Temp files
Redo Log
files
Control
files
PDB$SEED
PDB2
Data files
Create
PDB2
from
ORCL
DBMS_PDB.DESCRIBE
Plug
XML metadata file
Data files / Tempfiles
ORCL
Datafiles Control
files
Redo Log
files
12.1
http://brillix.co.il33
Method 3: Clone Local PDBs
1. Set the DB_CREATE_FILE_DEST or
DB_FILE_NAME_CONVERT instance
parameter or
use the CREATE_FILE_DEST clause.
2. Connect to the root.
3. Quiesce PDB1:
4. Clone PDB3 from PDB1:
5. Open PDB3 in read-write mode.
6. Reopen PDB1.
PDB3 owns:
• SYSTEM, SYSAUX tablespaces
• Full catalog
• A temporary tablespace
• SYS, SYSTEM common users
• Same local administrator name
• New service name
SQL> ALTER PLUGGABLE DATABASE
pdb1 CLOSE;
SQL> ALTER PLUGGABLE DATABASE
pdb1 OPEN READ ONLY;
SQL> CREATE PLUGGABLE DATABASE
pdb3 FROM pdb1;
SQL> ALTER PLUGGABLE DATABASE
pdb3 OPEN;
12.1.0.2
Container Database CDB1
root
Data files/
Temp files
Redo Log
files
Control
files
PDB$SEED
Data files / Temp files
PDB1
Data files
Create
PDB3
from
PDB1PDB3
Data files
http://brillix.co.il34
Method 4: Plug Unplugged PDB in to CDB
Unplug PDB1 from CDB1:
1. Connect to CDB1 as a common user.
2. Verify that PDB1 is closed.
3.
4. Optionally, drop PDB1 from CDB1.
Plug PDB1 in to CDB2:
1. Connect to CDB2 as a common user.
2. Use DBMS_PDB package to check the
compatibility of PDB1 with CDB2.
3.
4. Open PDB1 in read-write mode.
SQL> ALTER PLUGGABLE DATABASE
pdb1 UNPLUG INTO
'xmlfile1.xml';
SQL> CREATE PLUGGABLE DATABASE
pdb1 USING 'xmlfile1.xml'
NOCOPY;
Container Database CDB1
root
PDB$SEED
PDB1
Data files
XML file
USERS
Unplug PDB1
Container Database CDB2
root
PDB$SEED
PDB1
Data files
Plug PDB1
SYSAUX
SYSTEM
USERSSYSAUX
SYSTEM
http://brillix.co.il35
Plug Sample Schemas PDB: Using DBCA
1
2
3
4
Plug a new PDB with
Sample Schemas
using a PDB File Set
http://brillix.co.il36
Interacting Within Multitenant Container Database
PDB_1 PDB_2 PDB_n
fast intra-CDB db link
root
Multitenant Container Database
http://brillix.co.il37
Dropping a PDB
• Updates control files
• If INCLUDING DATAFILES:
– Removes PDB1 datafiles
• If KEEP DATAFILES (default):
– Retain data files
– Can be plugged in another or the
same CDB
• Requires SYSDBA privilege
• Cannot drop seed PDB
SQL> ALTER PLUGGABLE DATABASE
pdb1 CLOSE;
SQL> DROP PLUGGABLE DATABASE
pdb1 [INCLUDING DATAFILES];
root
Data files/
Temp files
Redo Log
files
Control
files
File2
TEMP
PDB$SEED
Data files
File5
File6 File7
File4
File1
File3
PDB1
Data files
File8 Drop PDB1File9 File10
PDB4
Data files
…
File7
File8
File9
File10
…
http://brillix.co.il38
Tools
SQL*Plus OUI DBCA
EM Cloud
Control
EM
Database
Express
SQL
Developer
DBUA
Create a new
CDB or PDB
Yes Yes Yes
Yes
(PDB only)
Yes
(PDB only)
Yes
(PDB only)
Explore CDB
instance,
architecturea
nd PDBs
Yes Yes Yes Yes
Upgrade a
12.1 CDB
to 12.x CDB
Yes Yes
http://brillix.co.il39
Self-Service Provisioning Application
• Self-service provisioning of pluggable databases (PDBs)
• Easy and productive way for DBAs and developers to create, clone,
plug and unplug PDBs
• Prerequisites:
• Oracle Database 12c Release 1 (12.1.0.2.0 or above)
• Oracle Application Express 4.2.5 or above
• Oracle REST Data Services 2.0.6 or above
http://www.oracle.com/technetwork/database/multitenant/downloads
/multitenant-pdbss-2016324.html
http://brillix.co.il40
Self-Service Provisioning Application (cont.)
http://brillix.co.il41
Q&A
http://brillix.co.il42
Summary
•Pluggable database is good for consolidations
•It’s easy to use an seamless to the application
•DBAs needs to get used to the new convention
•Even single pluggable database might be useful –
for upgrades and for migrations.
http://brillix.co.il43
Thank You
Zohar Elkayam
twitter: @realmgic
Zohar@Brillix.co.il
www.realdbamagic.com
http://brillix.co.il44

More Related Content

What's hot

Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesMarkus Michalewicz
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Markus Michalewicz
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONMarkus Michalewicz
 
監査ログをもっと身近に!〜統合監査のすすめ〜
監査ログをもっと身近に!〜統合監査のすすめ〜監査ログをもっと身近に!〜統合監査のすすめ〜
監査ログをもっと身近に!〜統合監査のすすめ〜Michitoshi Yoshida
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19cMaria Colgan
 
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...Sandesh Rao
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cSatishbabu Gunukula
 
Fast Start Failover DataGuard
Fast Start Failover DataGuardFast Start Failover DataGuard
Fast Start Failover DataGuardBorsaniya Vaibhav
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesBobby Curtis
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginnersPini Dibask
 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionMarkus Michalewicz
 

What's hot (20)

Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
 
Oracle GoldenGate導入Tips
Oracle GoldenGate導入TipsOracle GoldenGate導入Tips
Oracle GoldenGate導入Tips
 
Zero Data Loss Recovery Appliance 設定手順例
Zero Data Loss Recovery Appliance 設定手順例Zero Data Loss Recovery Appliance 設定手順例
Zero Data Loss Recovery Appliance 設定手順例
 
ZFS appliance
ZFS applianceZFS appliance
ZFS appliance
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
 
Oracle Database 12c : Multitenant
Oracle Database 12c : MultitenantOracle Database 12c : Multitenant
Oracle Database 12c : Multitenant
 
Redo internals ppt
Redo internals pptRedo internals ppt
Redo internals ppt
 
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
 
監査ログをもっと身近に!〜統合監査のすすめ〜
監査ログをもっと身近に!〜統合監査のすすめ〜監査ログをもっと身近に!〜統合監査のすすめ〜
監査ログをもっと身近に!〜統合監査のすすめ〜
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
 
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 
Fast Start Failover DataGuard
Fast Start Failover DataGuardFast Start Failover DataGuard
Fast Start Failover DataGuard
 
Oracle GoldenGate 概要 2020年11月版
Oracle GoldenGate 概要 2020年11月版Oracle GoldenGate 概要 2020年11月版
Oracle GoldenGate 概要 2020年11月版
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion Edition
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best Practices
 
Oracle archi ppt
Oracle archi pptOracle archi ppt
Oracle archi ppt
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginners
 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
 
Zero Data Loss Recovery Applianceのご紹介
Zero Data Loss Recovery Applianceのご紹介Zero Data Loss Recovery Applianceのご紹介
Zero Data Loss Recovery Applianceのご紹介
 

Viewers also liked

Introduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerIntroduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerZohar Elkayam
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi TenantRed Stack Tech
 
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
 
Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitecturePini Dibask
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databasesomnidba
 
Simplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cSimplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cMaris Elsins
 
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...vasuballa
 
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]vasuballa
 
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...vasuballa
 
Is SQLcl the Next Generation of SQL*Plus?
Is SQLcl the Next Generation of SQL*Plus?Is SQLcl the Next Generation of SQL*Plus?
Is SQLcl the Next Generation of SQL*Plus?Zohar Elkayam
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationYudi Herdiana
 
OOW16 - Leverage Oracle Integration Cloud Service for Oracle E-Business Suite...
OOW16 - Leverage Oracle Integration Cloud Service for Oracle E-Business Suite...OOW16 - Leverage Oracle Integration Cloud Service for Oracle E-Business Suite...
OOW16 - Leverage Oracle Integration Cloud Service for Oracle E-Business Suite...vasuballa
 
OOW16 - Faster and Better: Oracle E-Business Suite Desktop Integration Enhanc...
OOW16 - Faster and Better: Oracle E-Business Suite Desktop Integration Enhanc...OOW16 - Faster and Better: Oracle E-Business Suite Desktop Integration Enhanc...
OOW16 - Faster and Better: Oracle E-Business Suite Desktop Integration Enhanc...vasuballa
 
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]vasuballa
 
OOW16 - Build, Deploy, and Manage Smartphone Applications for Oracle E-Busine...
OOW16 - Build, Deploy, and Manage Smartphone Applications for Oracle E-Busine...OOW16 - Build, Deploy, and Manage Smartphone Applications for Oracle E-Busine...
OOW16 - Build, Deploy, and Manage Smartphone Applications for Oracle E-Busine...vasuballa
 
OOW16 - Oracle E-Business Suite: Technology Certification Primer and Roadmap ...
OOW16 - Oracle E-Business Suite: Technology Certification Primer and Roadmap ...OOW16 - Oracle E-Business Suite: Technology Certification Primer and Roadmap ...
OOW16 - Oracle E-Business Suite: Technology Certification Primer and Roadmap ...vasuballa
 
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...vasuballa
 
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]vasuballa
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantPini Dibask
 

Viewers also liked (20)

Introduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerIntroduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard Broker
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi Tenant
 
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
 
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
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databases
 
Oracle 12c
Oracle 12cOracle 12c
Oracle 12c
 
Simplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cSimplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12c
 
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
OOW16 - Simplified and Touch-Friendly User Interface in Oracle E-Business Sui...
 
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]
OOW16 - Planning Your Upgrade to Oracle E-Business Suite 12.2 [CON1423]
 
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
 
Is SQLcl the Next Generation of SQL*Plus?
Is SQLcl the Next Generation of SQL*Plus?Is SQLcl the Next Generation of SQL*Plus?
Is SQLcl the Next Generation of SQL*Plus?
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
 
OOW16 - Leverage Oracle Integration Cloud Service for Oracle E-Business Suite...
OOW16 - Leverage Oracle Integration Cloud Service for Oracle E-Business Suite...OOW16 - Leverage Oracle Integration Cloud Service for Oracle E-Business Suite...
OOW16 - Leverage Oracle Integration Cloud Service for Oracle E-Business Suite...
 
OOW16 - Faster and Better: Oracle E-Business Suite Desktop Integration Enhanc...
OOW16 - Faster and Better: Oracle E-Business Suite Desktop Integration Enhanc...OOW16 - Faster and Better: Oracle E-Business Suite Desktop Integration Enhanc...
OOW16 - Faster and Better: Oracle E-Business Suite Desktop Integration Enhanc...
 
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
 
OOW16 - Build, Deploy, and Manage Smartphone Applications for Oracle E-Busine...
OOW16 - Build, Deploy, and Manage Smartphone Applications for Oracle E-Busine...OOW16 - Build, Deploy, and Manage Smartphone Applications for Oracle E-Busine...
OOW16 - Build, Deploy, and Manage Smartphone Applications for Oracle E-Busine...
 
OOW16 - Oracle E-Business Suite: Technology Certification Primer and Roadmap ...
OOW16 - Oracle E-Business Suite: Technology Certification Primer and Roadmap ...OOW16 - Oracle E-Business Suite: Technology Certification Primer and Roadmap ...
OOW16 - Oracle E-Business Suite: Technology Certification Primer and Roadmap ...
 
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
 
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle Multitenant
 

Similar to Exploring Oracle Multitenant Architecture, Benefits, and PDB Provisioning

Vijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-featuresVijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-featuresmkorremans
 
SOUG PDB Security, Isolation and DB Nest 20c
SOUG PDB Security, Isolation and DB Nest 20cSOUG PDB Security, Isolation and DB Nest 20c
SOUG PDB Security, Isolation and DB Nest 20cStefan Oehrli
 
OOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architectureOOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architecturePini Dibask
 
TechEvent 2019: Oracle PDB Isolation and Security; Stefan Oehrli - Trivadis
TechEvent 2019: Oracle PDB Isolation and Security; Stefan Oehrli - TrivadisTechEvent 2019: Oracle PDB Isolation and Security; Stefan Oehrli - Trivadis
TechEvent 2019: Oracle PDB Isolation and Security; Stefan Oehrli - TrivadisTrivadis
 
Oracle 12c New Features For Better Performance
Oracle 12c New Features For Better PerformanceOracle 12c New Features For Better Performance
Oracle 12c New Features For Better PerformanceZohar Elkayam
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle MultitenantJitendra Singh
 
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...Alex Gorbachev
 
Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...Pini Dibask
 
Gloc gangler 2018._v4
Gloc gangler 2018._v4Gloc gangler 2018._v4
Gloc gangler 2018._v4Secure-24
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantPini Dibask
 
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantRMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantPini Dibask
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
Winning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantWinning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantPini Dibask
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesAlfredo Abate
 
Database as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance PlatformDatabase as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance PlatformMaris Elsins
 

Similar to Exploring Oracle Multitenant Architecture, Benefits, and PDB Provisioning (20)

Vijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-featuresVijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-features
 
SOUG PDB Security, Isolation and DB Nest 20c
SOUG PDB Security, Isolation and DB Nest 20cSOUG PDB Security, Isolation and DB Nest 20c
SOUG PDB Security, Isolation and DB Nest 20c
 
OOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architectureOOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architecture
 
TechEvent 2019: Oracle PDB Isolation and Security; Stefan Oehrli - Trivadis
TechEvent 2019: Oracle PDB Isolation and Security; Stefan Oehrli - TrivadisTechEvent 2019: Oracle PDB Isolation and Security; Stefan Oehrli - Trivadis
TechEvent 2019: Oracle PDB Isolation and Security; Stefan Oehrli - Trivadis
 
Oracle 12c New Features For Better Performance
Oracle 12c New Features For Better PerformanceOracle 12c New Features For Better Performance
Oracle 12c New Features For Better Performance
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
 
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
 
Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...
 
Gloc gangler 2018._v4
Gloc gangler 2018._v4Gloc gangler 2018._v4
Gloc gangler 2018._v4
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle Multitenant
 
Presentation day4 oracle12c
Presentation day4 oracle12cPresentation day4 oracle12c
Presentation day4 oracle12c
 
Presentation day5 oracle12c
Presentation day5 oracle12cPresentation day5 oracle12c
Presentation day5 oracle12c
 
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantRMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
Presentation day2 oracle12c
Presentation day2 oracle12cPresentation day2 oracle12c
Presentation day2 oracle12c
 
Winning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantWinning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenant
 
Presentation day1oracle 12c
Presentation day1oracle 12cPresentation day1oracle 12c
Presentation day1oracle 12c
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_Features
 
Database as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance PlatformDatabase as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance Platform
 
Oracle 12c - Multitenant Feature
Oracle 12c - Multitenant FeatureOracle 12c - Multitenant Feature
Oracle 12c - Multitenant Feature
 

More from Zohar Elkayam

Docker Concepts for Oracle/MySQL DBAs and DevOps
Docker Concepts for Oracle/MySQL DBAs and DevOpsDocker Concepts for Oracle/MySQL DBAs and DevOps
Docker Concepts for Oracle/MySQL DBAs and DevOpsZohar Elkayam
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsZohar Elkayam
 
PL/SQL New and Advanced Features for Extreme Performance
PL/SQL New and Advanced Features for Extreme PerformancePL/SQL New and Advanced Features for Extreme Performance
PL/SQL New and Advanced Features for Extreme PerformanceZohar Elkayam
 
The art of querying – newest and advanced SQL techniques
The art of querying – newest and advanced SQL techniquesThe art of querying – newest and advanced SQL techniques
The art of querying – newest and advanced SQL techniquesZohar Elkayam
 
Oracle Advanced SQL and Analytic Functions
Oracle Advanced SQL and Analytic FunctionsOracle Advanced SQL and Analytic Functions
Oracle Advanced SQL and Analytic FunctionsZohar Elkayam
 
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527Zohar Elkayam
 
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem (c17lv version)
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem (c17lv version)Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem (c17lv version)
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem (c17lv version)Zohar Elkayam
 
Things Every Oracle DBA Needs To Know About The Hadoop Ecosystem
Things Every Oracle DBA Needs To Know About The Hadoop EcosystemThings Every Oracle DBA Needs To Know About The Hadoop Ecosystem
Things Every Oracle DBA Needs To Know About The Hadoop EcosystemZohar Elkayam
 
Rapid Cluster Computing with Apache Spark 2016
Rapid Cluster Computing with Apache Spark 2016Rapid Cluster Computing with Apache Spark 2016
Rapid Cluster Computing with Apache Spark 2016Zohar Elkayam
 
Advanced PL/SQL Optimizing for Better Performance 2016
Advanced PL/SQL Optimizing for Better Performance 2016Advanced PL/SQL Optimizing for Better Performance 2016
Advanced PL/SQL Optimizing for Better Performance 2016Zohar Elkayam
 
Oracle Database Advanced Querying (2016)
Oracle Database Advanced Querying (2016)Oracle Database Advanced Querying (2016)
Oracle Database Advanced Querying (2016)Zohar Elkayam
 
MySQL 5.7 New Features for Developers
MySQL 5.7 New Features for DevelopersMySQL 5.7 New Features for Developers
MySQL 5.7 New Features for DevelopersZohar Elkayam
 
OOW2016: Exploring Advanced SQL Techniques Using Analytic Functions
OOW2016: Exploring Advanced SQL Techniques Using Analytic FunctionsOOW2016: Exploring Advanced SQL Techniques Using Analytic Functions
OOW2016: Exploring Advanced SQL Techniques Using Analytic FunctionsZohar Elkayam
 
Exploring Advanced SQL Techniques Using Analytic Functions
Exploring Advanced SQL Techniques Using Analytic FunctionsExploring Advanced SQL Techniques Using Analytic Functions
Exploring Advanced SQL Techniques Using Analytic FunctionsZohar Elkayam
 
Things Every Oracle DBA Needs to Know about the Hadoop Ecosystem
Things Every Oracle DBA Needs to Know about the Hadoop EcosystemThings Every Oracle DBA Needs to Know about the Hadoop Ecosystem
Things Every Oracle DBA Needs to Know about the Hadoop EcosystemZohar Elkayam
 
Exploring Advanced SQL Techniques Using Analytic Functions
Exploring Advanced SQL Techniques Using Analytic FunctionsExploring Advanced SQL Techniques Using Analytic Functions
Exploring Advanced SQL Techniques Using Analytic FunctionsZohar Elkayam
 
Advanced PLSQL Optimizing for Better Performance
Advanced PLSQL Optimizing for Better PerformanceAdvanced PLSQL Optimizing for Better Performance
Advanced PLSQL Optimizing for Better PerformanceZohar Elkayam
 
Oracle Database Advanced Querying
Oracle Database Advanced QueryingOracle Database Advanced Querying
Oracle Database Advanced QueryingZohar Elkayam
 
The Hadoop Ecosystem for Developers
The Hadoop Ecosystem for DevelopersThe Hadoop Ecosystem for Developers
The Hadoop Ecosystem for DevelopersZohar Elkayam
 
Big data for cio 2015
Big data for cio 2015Big data for cio 2015
Big data for cio 2015Zohar Elkayam
 

More from Zohar Elkayam (20)

Docker Concepts for Oracle/MySQL DBAs and DevOps
Docker Concepts for Oracle/MySQL DBAs and DevOpsDocker Concepts for Oracle/MySQL DBAs and DevOps
Docker Concepts for Oracle/MySQL DBAs and DevOps
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
 
PL/SQL New and Advanced Features for Extreme Performance
PL/SQL New and Advanced Features for Extreme PerformancePL/SQL New and Advanced Features for Extreme Performance
PL/SQL New and Advanced Features for Extreme Performance
 
The art of querying – newest and advanced SQL techniques
The art of querying – newest and advanced SQL techniquesThe art of querying – newest and advanced SQL techniques
The art of querying – newest and advanced SQL techniques
 
Oracle Advanced SQL and Analytic Functions
Oracle Advanced SQL and Analytic FunctionsOracle Advanced SQL and Analytic Functions
Oracle Advanced SQL and Analytic Functions
 
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
 
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem (c17lv version)
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem (c17lv version)Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem (c17lv version)
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem (c17lv version)
 
Things Every Oracle DBA Needs To Know About The Hadoop Ecosystem
Things Every Oracle DBA Needs To Know About The Hadoop EcosystemThings Every Oracle DBA Needs To Know About The Hadoop Ecosystem
Things Every Oracle DBA Needs To Know About The Hadoop Ecosystem
 
Rapid Cluster Computing with Apache Spark 2016
Rapid Cluster Computing with Apache Spark 2016Rapid Cluster Computing with Apache Spark 2016
Rapid Cluster Computing with Apache Spark 2016
 
Advanced PL/SQL Optimizing for Better Performance 2016
Advanced PL/SQL Optimizing for Better Performance 2016Advanced PL/SQL Optimizing for Better Performance 2016
Advanced PL/SQL Optimizing for Better Performance 2016
 
Oracle Database Advanced Querying (2016)
Oracle Database Advanced Querying (2016)Oracle Database Advanced Querying (2016)
Oracle Database Advanced Querying (2016)
 
MySQL 5.7 New Features for Developers
MySQL 5.7 New Features for DevelopersMySQL 5.7 New Features for Developers
MySQL 5.7 New Features for Developers
 
OOW2016: Exploring Advanced SQL Techniques Using Analytic Functions
OOW2016: Exploring Advanced SQL Techniques Using Analytic FunctionsOOW2016: Exploring Advanced SQL Techniques Using Analytic Functions
OOW2016: Exploring Advanced SQL Techniques Using Analytic Functions
 
Exploring Advanced SQL Techniques Using Analytic Functions
Exploring Advanced SQL Techniques Using Analytic FunctionsExploring Advanced SQL Techniques Using Analytic Functions
Exploring Advanced SQL Techniques Using Analytic Functions
 
Things Every Oracle DBA Needs to Know about the Hadoop Ecosystem
Things Every Oracle DBA Needs to Know about the Hadoop EcosystemThings Every Oracle DBA Needs to Know about the Hadoop Ecosystem
Things Every Oracle DBA Needs to Know about the Hadoop Ecosystem
 
Exploring Advanced SQL Techniques Using Analytic Functions
Exploring Advanced SQL Techniques Using Analytic FunctionsExploring Advanced SQL Techniques Using Analytic Functions
Exploring Advanced SQL Techniques Using Analytic Functions
 
Advanced PLSQL Optimizing for Better Performance
Advanced PLSQL Optimizing for Better PerformanceAdvanced PLSQL Optimizing for Better Performance
Advanced PLSQL Optimizing for Better Performance
 
Oracle Database Advanced Querying
Oracle Database Advanced QueryingOracle Database Advanced Querying
Oracle Database Advanced Querying
 
The Hadoop Ecosystem for Developers
The Hadoop Ecosystem for DevelopersThe Hadoop Ecosystem for Developers
The Hadoop Ecosystem for Developers
 
Big data for cio 2015
Big data for cio 2015Big data for cio 2015
Big data for cio 2015
 

Recently uploaded

Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
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 MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
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 SolutionsEnterprise Knowledge
 

Recently uploaded (20)

Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
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
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
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
 

Exploring Oracle Multitenant Architecture, Benefits, and PDB Provisioning

  • 1. Zohar Elkayam www.realdbamagic.com Twitter: @realmgic Exploring Oracle Multitenant in Oracle Database 12c Based on Presentation by Ami Aharonovich
  • 2. Who am I? • Zohar Elkayam, CTO at Brillix • Programmer, DBA, team leader, database trainer, public speaker, and a senior consultant for over 18 years • Oracle ACE Associate • Part of ilOUG – Israel Oracle User Group • Blogger – www.realdbamagic.com and www.ilDBA.co.il 2 http://brillix.co.il
  • 3. About Brillix • We offer complete, integrated end-to-end solutions based on best-of- breed innovations in database, security and big data technologies • We provide complete end-to-end 24x7 expert remote database services • We offer professional customized on-site trainings, delivered by our top-notch world recognized instructors 3 http://brillix.co.il
  • 4. Some of Our Customers http://brillix.co.il4
  • 5. Agenda •The Multitenant Container Database Architecture •Multitenant Benefits and Impacts •CDB and PDB Deployments and Provisioning •Tools and Self-service tools •Live Demo http://brillix.co.il5
  • 6. Architecture, Benefits and Impacts http://brillix.co.il6
  • 7. Oracle Database in 11g Release 2 • Multiple non-CDBs share nothing: • Too many background processes • High shared/process memory • Many copies of Oracle metadata Database (Storage Structures) Server Database Instance System Global Area Process Structures Instance Pre-12c http://brillix.co.il7
  • 8. Multitenant Container Database Architecture • Single DB shares: • Background processes • Shared/process memory • Oracle metadata • Redo log files • Control files • Undo tablespace Instance System Global Area Process Structures Server Instance Multitenant container database root container Data files Redo Log files Control files UNDO TEMP SYSTEM SYSAUX seed PDB Data files SYSTEM SYSAUX SALES PDB SYSTEM SYSAUX TBS2 HR PDB Data files TEMP1 Data files TEMP2 PDBid2 PDBid3 PDBid4 PDBid2 PDBid4 http://brillix.co.il8
  • 9. Containers: Root Container Two types of containers in V$CONTAINERS: •The root container: • The first container created at CDB creation • Mandatory • Oracle system-supplied common objects and metadata • Oracle system-supplied common users and roles http://brillix.co.il9
  • 10. Containers: Pluggable Database Container • Pluggable database containers (PDBs): • A container for an application: • Tablespaces (permanent and temporary) • Schemas / objects / privileges • Created / cloned / unplugged / plugged • Particular seed PDB: • PDB$SEED provides fast provisioning of a new PDB • Limit of 253 PDBs in a CDB including the seed and 1024 services per CDB (before 12.2) • Limit of 4096 PDBs in a CDB (after 12.2) http://brillix.co.il10
  • 11. 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 http://brillix.co.il11
  • 12. 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 http://brillix.co.il12
  • 13. Common Users and Privileges • Authorization is checked in the same way as as pre-12.1 • 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 http://brillix.co.il13
  • 14. CDB_xxx All objects in the multitenant container database across all PDBs USER_xxx Objects owned by the current user ALL_xxx Objects accessible by the current user DBA_xxx All of the objects in a container or pluggable database Data Dictionary Views • CDB_pdbs: All PDBS within CDB • CDB_tablespaces: All tablespaces within CDB • CDB_users: All users within CDB (common and local) SQL> SELECT view_name FROM dba_views WHERE view_name like 'CDB%'; http://brillix.co.il14
  • 15. New Multitenant Architecture: Benefits • Operates multiple databases in a centrally managed platform to lower costs: • Less instance overhead • Less storage cost • No application changes • Fast and easy provisioning • Ensures full backwards-compatibility with non-CDBs http://brillix.co.il15
  • 16. New Multitenant Architecture: Benefits (2) • Fully operates with RAC and Data Guard • Is supported by Enterprise Manager • Allows central management and administration of multiple databases • Backups or disaster recovery • Patching and upgrades http://brillix.co.il16
  • 17. Impacts (1) • One character set for all PDBs (Unicode recommended) • Shared REDO log file and archive log process • Oracle Data Guard at CDB level • PDB initialization parameters, but a single SPFILE for all PDBs • One master key per PDB to encrypt PDB data http://brillix.co.il17
  • 18. Impacts (2) • No PDB qualified database object names • SELECT * FROM HR:apps.tab1 • Use DB Links: SELECT * FROM apps.tab1@HR • Oracle Database Vault per PDB only • Unified audit both at CDB and PDB levels • Oracle Scheduler • Oracle GoldenGate http://brillix.co.il18
  • 19. Impacts (3) • AWR data is stored in the CDB, visible from any of the PDBs • The awrrpt.sql script can work on either CDB or PDB level • MOS Note: 1993045.1 – “Reducing AWR Resource Consumption using LITE Mode snapshots” (12.1.0.2) • PDB new CONTAINERS clause (12.1.0.2): • Data can be aggregated from a single identical table or view across many PDBs from the root container • CONTAINERS clause accepts a table or view name as an input parameter that is expected to exists in all PDBs in that container • Data from specific PDBs can be included with the use of CON_ID in the WHERE clause http://brillix.co.il19
  • 20. Impacts (4) • When creating the CDB (DBCA), all options will be created • MOS Doc ID 2001512.1 – creating a container database (CDB) with a subset of options • MOS Doc ID 1616554.1 – customization of database options in a multitenant setup • By default, PDBs need to be started manually • ALTER PLUGGABLE DATABASE pdb SAVE STATE; • Deprecation of Non-CDB Architecture • “The non-CDB architecture is deprecated in Oracle Database 12c, and may be desupported and unavailable in a release after Oracle Database 12c Release 2. Oracle recommends use of the CDB architecture” http://brillix.co.il20
  • 22. Deployment – CDB Creation and Configuration • Use DBCA (GUI or silent mode) • Standardize your database options and character set • Size the CDB as you would a large database • Configure Linux Huge Pages if SGA > ~30GB • Modify memlock limits accordingly • Use ASMM • Set processes to 100 * physical core • Set SGA_TARGET to 60% of physical memory • Automatic PGA memory management (20% of SGA) • Limit UNDO to grow no more than 20% of SGA • Redo: minimum 4GB and size to switch max <= 10-20 mins, 3-4 redo log groups, archive http://brillix.co.il22
  • 23. Instance SGA Process StructuresInstance Container Database CDB1 root container seed pluggable database Steps to Create a Container Database 2 1 Container Database CDB1 Datafiles Control files UNDOSYSTEM SYSAUX Redo Log files SYSTEM TEMP1 TEMP SYSAUX initCDB1.ora 3 4 Execute scripts from root catcdb.sql http://brillix.co.il23
  • 24. Creating a Container Database: Using SQL*Plus 1.Instance startup: a. Set ORACLE_SID=CDB1 b. Set in initCDB1.ora: – Set CONTROL_FILES to CDB control file names. – Set DB_NAME to CDB name. – Set ENABLE_PLUGGABLE_DATABASE to TRUE. 2. Create the database: – CDB$ROOT container – PDB$SEED pluggable database 3. Run the catcdb.sql script. SQL> CONNECT / AS SYSDBA SQL> STARTUP NOMOUNT SQL> CREATE DATABASE CDB1 ENABLE PLUGGABLE DATABASE … SEED FILE_NAME_CONVERT ('/oracle/dbs','/oracle/seed'); http://brillix.co.il24
  • 25. Creating a Container Database: Using DBCA http://brillix.co.il25
  • 26. After CDB Creation: To-Do List After CDB creation, the CDBA has to: • Set a separate default tablespace for the root and for each PDB • Set a default temporary tablespace for each container • Start the listener • Plug non-CDBs • Test startup/shutdown procedures • Define default PDB state to automate PDBs opening • Create backup and recovery procedures 12.1.0.2 http://brillix.co.il26
  • 27. Provisioning a Pluggable Database • Different methods: • Create new PDB from PDB$SEED pluggable database. • Plug in a non-CDB. • Clone a non-CDB into a CDB, or a PDB into the same or another CDB. • Plug an unplugged PDB into a CDB. Seed PDB New empty PDB root Multitenant Container Database http://brillix.co.il27
  • 28. Provisioning Tools •To provision new PDBs, we can use: • SQL*Plus commands • SQL Developer • Enterprise Manager Cloud Control • Enterprise Manager Database Express • DBCA • Copy from seed • By unplugging/plugging method • Self-Service Provisioning Application http://brillix.co.il28
  • 29. Deployment – PDB Creation and Configuration • Clone • Configure clone quotas and storage limits • Don’t modify PDB$SEED, create and customize your own SEED • Use CREATE_FILE_DEST for PDB file destination (12.1.0.2) • Use ISPDB_MODIFIABLE to evaluate and adjust parameters in PDB level (optimizer settings, cursor_sharing…) • Check PDB parameter settings in your session (PDB parameters are stored in CDB$ROOT dictionary) http://brillix.co.il29
  • 30. Method 1: Create New PDB from PDB$SEED • Copies the data files from PDB$SEED data files • Creates SYSTEM and SYSAUX tablespaces • Creates a full catalog including metadata pointing to Oracle-supplied objects • Creates a temporary tablespace, TEMP • Creates common users: • Superuser SYS • SYSTEM • Creates a local user (PDBA) granted local PDB_DBA role • Creates a new default service Container Database CDB1 root Data files/ Tempfiles Redo Log files Control files UNDO TEMP PDB$SEED Data files PDB1 Data files Create PDB1 from PDB$SEED TEMP SYSAUX SYSTEM SYSTEM USERS SYSAUX SYSAUX SYSTEM http://brillix.co.il31
  • 31. Steps: With Location Clauses • Connect to the root as a common user with the CREATE PLUGGABLE DATABASE privilege: • Use FILE_NAME_CONVERT: • Use CREATE_FILE_DEST: • Use views to verify: SQL> CREATE PLUGGABLE DATABASE pdb1 ADMIN USER admin1 IDENTIFIED BY p1 ROLES=(CONNECT) FILE_NAME_CONVERT = ('PDB$SEEDdir', 'PDB1dir'); SQL> CONNECT / AS SYSDBA SQL> SELECT * FROM cdb_pdbs; SQL> SELECT * FROM cdb_tablespaces; SQL> SELECT * FROM cdb_data_files; SQL> CONNECT sys@pdb1 AS SYSDBA SQL> CONNECT admin1@pdb1 SQL> CREATE PLUGGABLE DATABASE pdb2 ADMIN USER admin2 IDENTIFIED BY p2 ROLES=(CONNECT) CREATE_FILE_DEST = 'PDB2dir'; 12.1.0.2 http://brillix.co.il32
  • 32. Method 2: Plug a Non-CDB in to CDB Using DBMS_PDB 1. Open ORCL in READ ONLY mode. 2. 3. Connect to the target CDB1 CDB as a common user with CREATE PLUGGABLE DATABASE privilege. 4. Plug in the unplugged ORCL as PDB2. 5. Run the noncdb_to_pdb.sql script. 6. Open PDB2. SQL> CREATE PLUGGABLE DATABASE PDB2 USING '/tmp/ORCL.xml'; SQL> EXEC DBMS_PDB.DESCRIBE ('/tmp/ORCL.xml') SQL> CONNECT sys@PDB2 AS SYSDBA SQL> @$ORACLE_HOME/rdbms/admin/noncdb_to_pdb SQL> ALTER PLUGGABLE DATABASE PDB2 OPEN; Container Database CDB1 root Data files/ Temp files Redo Log files Control files PDB$SEED PDB2 Data files Create PDB2 from ORCL DBMS_PDB.DESCRIBE Plug XML metadata file Data files / Tempfiles ORCL Datafiles Control files Redo Log files 12.1 http://brillix.co.il33
  • 33. Method 3: Clone Local PDBs 1. Set the DB_CREATE_FILE_DEST or DB_FILE_NAME_CONVERT instance parameter or use the CREATE_FILE_DEST clause. 2. Connect to the root. 3. Quiesce PDB1: 4. Clone PDB3 from PDB1: 5. Open PDB3 in read-write mode. 6. Reopen PDB1. PDB3 owns: • SYSTEM, SYSAUX tablespaces • Full catalog • A temporary tablespace • SYS, SYSTEM common users • Same local administrator name • New service name SQL> ALTER PLUGGABLE DATABASE pdb1 CLOSE; SQL> ALTER PLUGGABLE DATABASE pdb1 OPEN READ ONLY; SQL> CREATE PLUGGABLE DATABASE pdb3 FROM pdb1; SQL> ALTER PLUGGABLE DATABASE pdb3 OPEN; 12.1.0.2 Container Database CDB1 root Data files/ Temp files Redo Log files Control files PDB$SEED Data files / Temp files PDB1 Data files Create PDB3 from PDB1PDB3 Data files http://brillix.co.il34
  • 34. Method 4: Plug Unplugged PDB in to CDB Unplug PDB1 from CDB1: 1. Connect to CDB1 as a common user. 2. Verify that PDB1 is closed. 3. 4. Optionally, drop PDB1 from CDB1. Plug PDB1 in to CDB2: 1. Connect to CDB2 as a common user. 2. Use DBMS_PDB package to check the compatibility of PDB1 with CDB2. 3. 4. Open PDB1 in read-write mode. SQL> ALTER PLUGGABLE DATABASE pdb1 UNPLUG INTO 'xmlfile1.xml'; SQL> CREATE PLUGGABLE DATABASE pdb1 USING 'xmlfile1.xml' NOCOPY; Container Database CDB1 root PDB$SEED PDB1 Data files XML file USERS Unplug PDB1 Container Database CDB2 root PDB$SEED PDB1 Data files Plug PDB1 SYSAUX SYSTEM USERSSYSAUX SYSTEM http://brillix.co.il35
  • 35. Plug Sample Schemas PDB: Using DBCA 1 2 3 4 Plug a new PDB with Sample Schemas using a PDB File Set http://brillix.co.il36
  • 36. Interacting Within Multitenant Container Database PDB_1 PDB_2 PDB_n fast intra-CDB db link root Multitenant Container Database http://brillix.co.il37
  • 37. Dropping a PDB • Updates control files • If INCLUDING DATAFILES: – Removes PDB1 datafiles • If KEEP DATAFILES (default): – Retain data files – Can be plugged in another or the same CDB • Requires SYSDBA privilege • Cannot drop seed PDB SQL> ALTER PLUGGABLE DATABASE pdb1 CLOSE; SQL> DROP PLUGGABLE DATABASE pdb1 [INCLUDING DATAFILES]; root Data files/ Temp files Redo Log files Control files File2 TEMP PDB$SEED Data files File5 File6 File7 File4 File1 File3 PDB1 Data files File8 Drop PDB1File9 File10 PDB4 Data files … File7 File8 File9 File10 … http://brillix.co.il38
  • 38. Tools SQL*Plus OUI DBCA EM Cloud Control EM Database Express SQL Developer DBUA Create a new CDB or PDB Yes Yes Yes Yes (PDB only) Yes (PDB only) Yes (PDB only) Explore CDB instance, architecturea nd PDBs Yes Yes Yes Yes Upgrade a 12.1 CDB to 12.x CDB Yes Yes http://brillix.co.il39
  • 39. Self-Service Provisioning Application • Self-service provisioning of pluggable databases (PDBs) • Easy and productive way for DBAs and developers to create, clone, plug and unplug PDBs • Prerequisites: • Oracle Database 12c Release 1 (12.1.0.2.0 or above) • Oracle Application Express 4.2.5 or above • Oracle REST Data Services 2.0.6 or above http://www.oracle.com/technetwork/database/multitenant/downloads /multitenant-pdbss-2016324.html http://brillix.co.il40
  • 40. Self-Service Provisioning Application (cont.) http://brillix.co.il41
  • 42. Summary •Pluggable database is good for consolidations •It’s easy to use an seamless to the application •DBAs needs to get used to the new convention •Even single pluggable database might be useful – for upgrades and for migrations. http://brillix.co.il43
  • 43. Thank You Zohar Elkayam twitter: @realmgic Zohar@Brillix.co.il www.realdbamagic.com http://brillix.co.il44