SlideShare a Scribd company logo
1 of 36
Download to read offline
1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
The following is intended to outline our general product
direction. It is intended for information purposes only, and
may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality,
and should not be relied upon in making purchasing
decisions. The development, release, and timing of any
features or functionality described for Oracle's products
remains at the sole discretion of Oracle. Release timing for
Oracle Database 12c is planned for Calendar Year 2013.

2

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Oracle Database 12c
Jean-Philippe Breysse
Oracle Suisse

3

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Major Database Focus Areas
SOCIAL

BLOG

101100101001
001001101010
101011100101
010100100101

SMART
METER

BIG
DATA
4

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

ENGINEERED
SYSTEMS

CLOUD
COMPUTING
Private Database Cloud Architectures
Using Oracle Database 11g
Virtual Machines

Dedicated Databases

share servers

share servers and OS
Increasing Consolidation

5

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Schema Consolidation

share servers, OS and database
Private Database Cloud Architectures
Using Oracle Database 12c
Virtual Machines

Dedicated Databases

Pluggable Databases

share servers

share servers and OS

share servers, OS and database

Increasing Consolidation

6

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Consolidating Databases on Clouds
Key requirements…
No application changes
Isolation and multitenancy

Fast provisioning and cloning
Secure and highly available
Lower IT costs
Manage many as one
Greater resource utilization
Performant and scalable

7

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Oracle Database Architecture
Requires memory, processes and database files
System Resources

8

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
New Multitenant Architecture
Memory and processes required at container level only
System Resources

9

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
New Multitenant Architecture
Memory and processes required at container level only
System Resources

10

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Pluggable vs Separate Databases
Highly Efficient: 6x Less H/W Resource, 5x more Scalable
OLTP benchmark comparison
Only 3GB of memory vs. 20GB
memory used for 50 databases
Pluggable databases scaled to
over 250 while separate
database instances maxed at 50

11

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Consolidating Databases
Step1: Upgrade databases in-place

Upgrade in Place

12

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Consolidating Databases
Step2: Plug-in upgraded databases

13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Managing Shared Resources
Resource management for consolidated databases

Low Priority
Medium Priority

High Priority

14

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
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
15

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Common Users and Privileges
Authorization is checked in the same way as in 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
 Best practice: Don’t create objects in common user’s schema

16

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Improved Agility With Changing Workloads
Expand Cluster to Support Flexible Consolidation Model
Services
CDB Instance 1

CDB Instance 2

Single SGA per
CDB Instance
Node1

Multitenant Container Database (CDB)

17

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Node2
Improved Agility With Changing Workloads
Expand Cluster to Support Flexible Consolidation Model
Services
CDB Instance 1

CDB Instance 3

CDB Instance 2

Single SGA per
CDB Instance
Node1

Node3

Multitenant Container Database (CDB)

18

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Node2
Simplified Patching
Apply changes once, all pluggable databases updated

Upgrade
in-place

19

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Simplified Upgrades
Flexible choice when patching & upgrading databases

20

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Patching via Unplug/Plug
Details
 Plug compatibility
 Xml manifest
 Things to check
– Options
– Character set

– Parameters
– Endianness

 Post-plug, run any necessary SQL patch script in PDB
– Nothing required for binary patches

 This method can be used for upgrades to next patchset

21

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Manage Many Databases as One
Backup databases as one; recover at pluggable database Level

One Backup

Point-in-time recovery
at pluggable database level

22

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
PDB Point-in-time Recovery (PITR)
Recovery isolation at granularity of PDB
 Much simpler/streamlined than tablespace PITR, which is complicated by
difficulties in identifying which metadata to use.
 PDB PITR consists of 3 simple steps from RMAN:

RMAN> restore pluggable database my_db;
RMAN> recover pluggable database my_db until SCN 411010;
RMAN> alter pluggable database my_db open resetlogs;
 All datafiles are recovered in-place, undo is recovered out of place and

applied in-place during open resetlogs.
 Old backups of the PDB will continue to be valid.

23

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Manage Many Databases as One
One standby database covers all pluggable databases

24

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Fast Provisioning
Pluggable databases can be quickly provisioned from seed
Time Taken to Provision New Database
25
20
15
10
5
0
Non CDB

25

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

PDB

Clone PDB using
Copy-on-Write File
System
Creating Databases for Test and Development
Fast, flexible copy and snapshot of pluggable databases

26

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Multitenant for Provisioning
Fast cloning of PDBs
 PDBs can be cloned from
within the same CDB

27

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Cloning a PDB
Example
Local
create pluggable database HCMBI from HCM

28

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Multitenant Cloning with Full Copy
Efficient, simple & reliable process
 Orchestration entirely from SQL
– DBA skills only
– No o/s access required

 Parallel Execution Servers
– Fast and efficient

 Clones have unique GUIDs
 Source PDB must be open read only

29

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Multitenant Cloning with Snapshot Copy
Thin provisioning of database clones in seconds

create pluggable database DEV44
from CRM_MASTER snapshot copy
 Still SQL with new “as snapshot” clause
 Where not supported receive error

ORA-17517: Database cloning using storage snapshot failed
 Built on copy-on-write capability of underlying file system
 Storage admin’s credentials stored in secure wallet once per CDB
 No subsequent requirement for intervention of storage administrator
30

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Snapshot Clone Restrictions
 Local clones only
 Source PDB cannot be dropped
 Source PDB cannot be unplugged
 Both source and cloned PDBs may be opened read-write
 Supported platforms
– Sun ZFS Storage Appliance (ZFSSA)
– Oracle ASM Cluster File System (ACFS)
– NetApp ™

31

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Provisioning & Storage Gains with Snapshots
Internal Tests on Sun ZFS Storage Appliance

Full Size (GB) Snap Size (KB)

Relative Size

Full Clone

Snap Clone

% savings

24

0.00058%

9 min, 52 sec

1 min, 52 sec

80%

216

142

0.00007%

1hr, 21 min

2 min, 11 sec

97%

1300

32

140

551

0.00004%

9hr, 7 min

5 min 55 sec

99%

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
New Multitenant Architecture
Ideal for consolidating databases on Clouds
No application changes
Isolation and multitenancy

Fast provisioning and cloning
Secure and highly available
Lower IT costs
Manage many as one
Greater resource utilization
Performant and scalable

33

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
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

34

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Q&A

35

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
36

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

More Related Content

What's hot

What's hot (20)

ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
 
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
 
Oracle RAC 12c Overview
Oracle RAC 12c OverviewOracle RAC 12c Overview
Oracle RAC 12c Overview
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013
 
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 RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
 
Introduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerIntroduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard Broker
 
Oracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud InfrastructureOracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud Infrastructure
 
Always on in sql server 2017
Always on in sql server 2017Always on in sql server 2017
Always on in sql server 2017
 
Exploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cExploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12c
 
Comparison of ACFS and DBFS
Comparison of ACFS and DBFSComparison of ACFS and DBFS
Comparison of ACFS and DBFS
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
 

Viewers also liked

Oracle Database 12c features for DBA
Oracle Database 12c features for DBAOracle Database 12c features for DBA
Oracle Database 12c features for DBA
Karan Kukreja
 

Viewers also liked (15)

Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi Tenant
 
Presentation day1oracle 12c
Presentation day1oracle 12cPresentation day1oracle 12c
Presentation day1oracle 12c
 
Oracle 12c Architecture
Oracle 12c ArchitectureOracle 12c Architecture
Oracle 12c Architecture
 
Presentation 12c pdb
Presentation 12c pdbPresentation 12c pdb
Presentation 12c pdb
 
Oracle 12c
Oracle 12cOracle 12c
Oracle 12c
 
Oracle Multitenant - organized by Orient ITM - 12 Jul 2014
Oracle Multitenant - organized by  Orient ITM - 12 Jul 2014Oracle Multitenant - organized by  Orient ITM - 12 Jul 2014
Oracle Multitenant - organized by Orient ITM - 12 Jul 2014
 
Oracle Database 12c features for DBA
Oracle Database 12c features for DBAOracle Database 12c features for DBA
Oracle Database 12c features for DBA
 
What's next after Upgrade to 12c
What's next after Upgrade to 12cWhat's next after Upgrade to 12c
What's next after Upgrade to 12c
 
Cosas que “probablemente” no sabes pero deberías de saber en Oracle 12c
Cosas que “probablemente” no sabes pero deberías de saber en Oracle 12cCosas que “probablemente” no sabes pero deberías de saber en Oracle 12c
Cosas que “probablemente” no sabes pero deberías de saber en Oracle 12c
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
 
Pets vs. Cattle: The Elastic Cloud Story
Pets vs. Cattle: The Elastic Cloud StoryPets vs. Cattle: The Elastic Cloud Story
Pets vs. Cattle: The Elastic Cloud Story
 
Presentation upgrade, migrate & consolidate to oracle database 12c &amp...
Presentation   upgrade, migrate & consolidate to oracle database 12c &amp...Presentation   upgrade, migrate & consolidate to oracle database 12c &amp...
Presentation upgrade, migrate & consolidate to oracle database 12c &amp...
 
SQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12cSQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12c
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman script
 

Similar to Oracle Database 12c : Multitenant

Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databases
omnidba
 
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
Arush Jain
 

Similar to Oracle Database 12c : Multitenant (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
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databases
 
Oracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutesOracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutes
 
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
 
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
 
Consolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficienciesConsolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficiencies
 
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
 
Bilbao oracle12c keynote
Bilbao  oracle12c keynoteBilbao  oracle12c keynote
Bilbao oracle12c keynote
 
Things learned from OpenWorld 2013
Things learned from OpenWorld 2013Things learned from OpenWorld 2013
Things learned from OpenWorld 2013
 
Oracle_DB_sobre_Oracle
Oracle_DB_sobre_OracleOracle_DB_sobre_Oracle
Oracle_DB_sobre_Oracle
 
GlassFish in Production Environments
GlassFish in Production EnvironmentsGlassFish in Production Environments
GlassFish in Production Environments
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudi
 
Data Guard 19c Data Guard 19c Data Guard 19c
Data Guard 19c Data Guard 19c Data Guard 19cData Guard 19c Data Guard 19c Data Guard 19c
Data Guard 19c Data Guard 19c Data Guard 19c
 
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewOracle RAC One Node 12c Overview
Oracle RAC One Node 12c Overview
 
Best Practices with IPS on Oracle Solaris 11
Best Practices with IPS on Oracle Solaris 11Best Practices with IPS on Oracle Solaris 11
Best Practices with IPS on Oracle Solaris 11
 
Maximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19cMaximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19c
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
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]
 

More from Digicomp Academy Suisse Romande SA

Digicomp Citrix Day 2015 : Keynote
Digicomp Citrix Day 2015 : KeynoteDigicomp Citrix Day 2015 : Keynote
Digicomp Citrix Day 2015 : Keynote
Digicomp Academy Suisse Romande SA
 

More from Digicomp Academy Suisse Romande SA (20)

Innovation et gestion de projet
Innovation et gestion de projetInnovation et gestion de projet
Innovation et gestion de projet
 
VMware vSphere 6 & Horizon View 6.1 – What's New ?
VMware vSphere 6 & Horizon View 6.1 – What's New ?VMware vSphere 6 & Horizon View 6.1 – What's New ?
VMware vSphere 6 & Horizon View 6.1 – What's New ?
 
What's new in Windows 10 ?
What's new in Windows 10 ?What's new in Windows 10 ?
What's new in Windows 10 ?
 
Customer Case : Citrix et Nutanix
Customer Case : Citrix et NutanixCustomer Case : Citrix et Nutanix
Customer Case : Citrix et Nutanix
 
Citrix Day 2015 Net Scaler Release 10.5 Update v10
Citrix Day 2015 Net Scaler Release 10.5 Update v10Citrix Day 2015 Net Scaler Release 10.5 Update v10
Citrix Day 2015 Net Scaler Release 10.5 Update v10
 
Citrix Day 2015 Cloud Bridge 7.3 and WSA v10
Citrix Day 2015 Cloud Bridge 7.3 and WSA v10Citrix Day 2015 Cloud Bridge 7.3 and WSA v10
Citrix Day 2015 Cloud Bridge 7.3 and WSA v10
 
Google Analytics pour l'innovation entrepreneuriale
Google Analytics pour l'innovation entrepreneurialeGoogle Analytics pour l'innovation entrepreneuriale
Google Analytics pour l'innovation entrepreneuriale
 
L'impression 3D et ses nouvelles perspectives métiers
L'impression 3D et ses nouvelles perspectives métiersL'impression 3D et ses nouvelles perspectives métiers
L'impression 3D et ses nouvelles perspectives métiers
 
Digicomp Citrix Day 2015 : Upate
Digicomp Citrix Day 2015 : UpateDigicomp Citrix Day 2015 : Upate
Digicomp Citrix Day 2015 : Upate
 
Digicomp Citrix Day 2015 : Mobility
Digicomp Citrix Day 2015 : MobilityDigicomp Citrix Day 2015 : Mobility
Digicomp Citrix Day 2015 : Mobility
 
Digicomp citrix day 2015 : Introduction
Digicomp citrix day 2015 : IntroductionDigicomp citrix day 2015 : Introduction
Digicomp citrix day 2015 : Introduction
 
Digicomp Citrix Day 2015 : Keynote
Digicomp Citrix Day 2015 : KeynoteDigicomp Citrix Day 2015 : Keynote
Digicomp Citrix Day 2015 : Keynote
 
MS Project VS ProjectLibre
MS Project VS ProjectLibreMS Project VS ProjectLibre
MS Project VS ProjectLibre
 
Heat Map and Automatic Data Optimization with Oracle Database 12c
Heat Map and Automatic Data Optimization with Oracle Database 12cHeat Map and Automatic Data Optimization with Oracle Database 12c
Heat Map and Automatic Data Optimization with Oracle Database 12c
 
Maximize Availability With Oracle Database 12c
Maximize Availability With Oracle Database 12cMaximize Availability With Oracle Database 12c
Maximize Availability With Oracle Database 12c
 
Augmenter la satisfaction de l'utilisateur
Augmenter la satisfaction de l'utilisateurAugmenter la satisfaction de l'utilisateur
Augmenter la satisfaction de l'utilisateur
 
L'expérience utilisateur
L'expérience utilisateurL'expérience utilisateur
L'expérience utilisateur
 
Plan de continuité des activités: le vrai enjeu stratégique
Plan de continuité des activités: le vrai enjeu stratégiquePlan de continuité des activités: le vrai enjeu stratégique
Plan de continuité des activités: le vrai enjeu stratégique
 
Les nouveautés de Cobit 5
Les nouveautés de Cobit 5Les nouveautés de Cobit 5
Les nouveautés de Cobit 5
 
Introduction à Microsoft Project 2010
Introduction à Microsoft Project 2010Introduction à Microsoft Project 2010
Introduction à Microsoft Project 2010
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
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...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Oracle Database 12c : Multitenant

  • 1. 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 2. The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle's products remains at the sole discretion of Oracle. Release timing for Oracle Database 12c is planned for Calendar Year 2013. 2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 3. Oracle Database 12c Jean-Philippe Breysse Oracle Suisse 3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 4. Major Database Focus Areas SOCIAL BLOG 101100101001 001001101010 101011100101 010100100101 SMART METER BIG DATA 4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. ENGINEERED SYSTEMS CLOUD COMPUTING
  • 5. Private Database Cloud Architectures Using Oracle Database 11g Virtual Machines Dedicated Databases share servers share servers and OS Increasing Consolidation 5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Schema Consolidation share servers, OS and database
  • 6. Private Database Cloud Architectures Using Oracle Database 12c Virtual Machines Dedicated Databases Pluggable Databases share servers share servers and OS share servers, OS and database Increasing Consolidation 6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 7. Consolidating Databases on Clouds Key requirements… No application changes Isolation and multitenancy Fast provisioning and cloning Secure and highly available Lower IT costs Manage many as one Greater resource utilization Performant and scalable 7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 8. Oracle Database Architecture Requires memory, processes and database files System Resources 8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 9. New Multitenant Architecture Memory and processes required at container level only System Resources 9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 10. New Multitenant Architecture Memory and processes required at container level only System Resources 10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 11. Pluggable vs Separate Databases Highly Efficient: 6x Less H/W Resource, 5x more Scalable OLTP benchmark comparison Only 3GB of memory vs. 20GB memory used for 50 databases Pluggable databases scaled to over 250 while separate database instances maxed at 50 11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 12. Consolidating Databases Step1: Upgrade databases in-place Upgrade in Place 12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 13. Consolidating Databases Step2: Plug-in upgraded databases 13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 14. Managing Shared Resources Resource management for consolidated databases Low Priority Medium Priority High Priority 14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 15. 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 15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 16. Common Users and Privileges Authorization is checked in the same way as in 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  Best practice: Don’t create objects in common user’s schema 16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 17. Improved Agility With Changing Workloads Expand Cluster to Support Flexible Consolidation Model Services CDB Instance 1 CDB Instance 2 Single SGA per CDB Instance Node1 Multitenant Container Database (CDB) 17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Node2
  • 18. Improved Agility With Changing Workloads Expand Cluster to Support Flexible Consolidation Model Services CDB Instance 1 CDB Instance 3 CDB Instance 2 Single SGA per CDB Instance Node1 Node3 Multitenant Container Database (CDB) 18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Node2
  • 19. Simplified Patching Apply changes once, all pluggable databases updated Upgrade in-place 19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 20. Simplified Upgrades Flexible choice when patching & upgrading databases 20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 21. Patching via Unplug/Plug Details  Plug compatibility  Xml manifest  Things to check – Options – Character set – Parameters – Endianness  Post-plug, run any necessary SQL patch script in PDB – Nothing required for binary patches  This method can be used for upgrades to next patchset 21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 22. Manage Many Databases as One Backup databases as one; recover at pluggable database Level One Backup Point-in-time recovery at pluggable database level 22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 23. PDB Point-in-time Recovery (PITR) Recovery isolation at granularity of PDB  Much simpler/streamlined than tablespace PITR, which is complicated by difficulties in identifying which metadata to use.  PDB PITR consists of 3 simple steps from RMAN: RMAN> restore pluggable database my_db; RMAN> recover pluggable database my_db until SCN 411010; RMAN> alter pluggable database my_db open resetlogs;  All datafiles are recovered in-place, undo is recovered out of place and applied in-place during open resetlogs.  Old backups of the PDB will continue to be valid. 23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 24. Manage Many Databases as One One standby database covers all pluggable databases 24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 25. Fast Provisioning Pluggable databases can be quickly provisioned from seed Time Taken to Provision New Database 25 20 15 10 5 0 Non CDB 25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. PDB Clone PDB using Copy-on-Write File System
  • 26. Creating Databases for Test and Development Fast, flexible copy and snapshot of pluggable databases 26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 27. Multitenant for Provisioning Fast cloning of PDBs  PDBs can be cloned from within the same CDB 27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 28. Cloning a PDB Example Local create pluggable database HCMBI from HCM 28 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 29. Multitenant Cloning with Full Copy Efficient, simple & reliable process  Orchestration entirely from SQL – DBA skills only – No o/s access required  Parallel Execution Servers – Fast and efficient  Clones have unique GUIDs  Source PDB must be open read only 29 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 30. Multitenant Cloning with Snapshot Copy Thin provisioning of database clones in seconds create pluggable database DEV44 from CRM_MASTER snapshot copy  Still SQL with new “as snapshot” clause  Where not supported receive error ORA-17517: Database cloning using storage snapshot failed  Built on copy-on-write capability of underlying file system  Storage admin’s credentials stored in secure wallet once per CDB  No subsequent requirement for intervention of storage administrator 30 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 31. Snapshot Clone Restrictions  Local clones only  Source PDB cannot be dropped  Source PDB cannot be unplugged  Both source and cloned PDBs may be opened read-write  Supported platforms – Sun ZFS Storage Appliance (ZFSSA) – Oracle ASM Cluster File System (ACFS) – NetApp ™ 31 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 32. Provisioning & Storage Gains with Snapshots Internal Tests on Sun ZFS Storage Appliance Full Size (GB) Snap Size (KB) Relative Size Full Clone Snap Clone % savings 24 0.00058% 9 min, 52 sec 1 min, 52 sec 80% 216 142 0.00007% 1hr, 21 min 2 min, 11 sec 97% 1300 32 140 551 0.00004% 9hr, 7 min 5 min 55 sec 99% Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 33. New Multitenant Architecture Ideal for consolidating databases on Clouds No application changes Isolation and multitenancy Fast provisioning and cloning Secure and highly available Lower IT costs Manage many as one Greater resource utilization Performant and scalable 33 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 34. 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 34 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 35. Q&A 35 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 36. 36 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.