SlideShare a Scribd company logo
1 of 29
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Database-As-A-Service with Copy on Write
Cloning: Just minutes with minimal storage usages
Jos van den Oord
Oracle Consultant
ORACLE Nederland
Month 04, 2015
Oracle Netherland
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
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.
Oracle Netherland
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Why Clone Databases?
How do we Clone Databases?
Database Thin Cloning with Copy-On-Write
Direct NFS and Databases
DBaaS – Copy-On-Write
1
2
3
4
5
Oracle Netherland
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Why Clone Databases?
• Setup new databases as copies of existing ones
• Data refresh for development and test environments from production
• Test backup and recovery
• Create standby databases
• Recover lost data or objects
Oracle Netherland
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
How do we Clone Databases?
• There are several methods for cloning databases
– Manually copy files and recreate the database
– RMAN duplicate – from active database
– RMAN duplicate – from backup
– 3rd
Party Solutions
• All methods require copying or restoring files to new location
– Additional disk space
– Time to perform the copy action
Oracle Netherland
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Database Thin Cloning with Copy-On-Write
• Based on Network File System (NFS)
– Preferable using Direct NFS (dNFS) clients to the database
• Copy-on-Write (COW) Technology
– Clones use read-only image copies of data-files as source
• Read Only Databases
• Snapshot method
• RMAN copy Backup
– Only modified blocks are written to dNFS location
• CloneDB, snapshot copy, Snap Clone
• Snap Manager Utility, Enterprise Manager
Oracle Netherland
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Traditional Cloning vs Thin Cloning
Oracle Netherland
Base Image
1TB Data Files
Clone A
1TB Data Files
Clone B
1TB Data Files
Traditional Clones
Full copy of the original database
3TB for original + clones
Thin Clones
Only changed blocks in new clone space
1.15TB for original + clones
Base Image
1TB Data Files
Clone A
50GB Data Files
Clone B
100GB Data Files
Pointers to existing blocks
Pointers to existing blocks
New data
New data
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Supported Cloning Options
Oracle Netherland
Snap (Thin) Clones
Software Solution
Snap (Thin) Clones
Hardware Solution
ASM -
ACFS
Full Clones
Database Native RMAN
Restore
RMAN
Duplicate
Data
Pump
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Direct NFS and Databases
Oracle Netherland
• Standard NFS Clients software
– Not optimized for Oracle Database file I/O access patterns
• Oracle Database 11g
• Direct NFS Client is capable of performing concurrent direct I/O, which
bypasses any operating system level cache
• Eliminates any operating system write-ordering locks
• Asynchronous I/O
• Improve performance, high availability, and scalability of NFS storage
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Direct NFS Client Configuration
Oracle Netherland
• Mount NFS volumes
• Mount options are not relevant
• $ORACLE_HOME/rdbms/lib
• Make –f ins_rdbms.mk dnfs_on
• Set filesystemio_options at least to directIO
• Configure oranfstab file
- Multipathing, scalability
• dNFS Client use oranfstab or /etc/mtab info to determine mount point
settings for NFS storage devices
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Direct NFS validation
Oracle Netherland
• Alertlog
“ Oracle instance running with ODM: Oracle Direct NFS ODM Library Version 3.0”
• V$DNFS_* views (V$DNFS_SERVER, V$DNFS_STATS)
• lsof -p <dbw pid>
“ joordshost:65543->zfssa:nfs (ESTABLISHED)”
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
CloneDB
Snap Manager Utility
ZFSSAADM
PDB Thin Provisioning using ZFS SA
PDB Thin Provisioning using ACFS
Enterprise Manager Snap Clone
1
2
3
4
5
Oracle Netherland
6
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
CloneDB (1)
Oracle Netherland
• Static read only image backup files source database
• Use NFS v3 client embedded in database
• Supported Versions: 11.2.0.3+, 12.1
• No Special storage software needed
• Works on all platforms
• Uses dNFS to improve performance, high availability, and scalability of NFS
storage
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
CloneDB (2)
Oracle Netherland
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
CloneDB (3)
Oracle Netherland
• $ORACLE_HOME/rdbms/install/clonedb.pl
• Three environment variables
– MASTER_COPY_DIR= “/rman_backup”
– CLONE_FILE_CREATE_DEST= “/nfs_mount”
– CLONEDB_NAME= “clone”
• sqlplus / as sysdba @create_clone.sql [@crtdb.sql ; @dbren.sql]
– Started up in nomount with generated pfile
– Parameter clonedb=TRUE
– Create controlfile command that points to the datafiles in “/rman_backup”
– dbms_dnfs.clonedb_renamefile(‘/rman_backup/file.dbf’,’/nfs_mount/file.dbf’
– Alter database open resetlogs;
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Snap Management Utility (1)
Oracle Netherland
• Standalone Management Tool with
Oracle ZFS Storage Appliance
• Quick and Easy Snapshots and
Clones for Oracle Databases
• Supported Versions: 10g, 11g,12c
• Uses dNFS to improve performance,
high availability, and scalability of
NFS storage
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Netherland
Oracle Snap Management Utility (2)
• ZFS Snapshot
– Read-only point-in-time copy of file
system
– Only changes tracked – near-zero
space consumption and near
instantaneous
• ZFS Restore
– Restore to any ‘point in time’
snapshot
– File system or LUN modality
• ZFS Clone
– Writeable copy of a snapshot
– Ideal for storing many private copies of
mostly-shared data
• Database Snap Backup
– Application aware snapshots based
backup of db files/shares
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Netherland
Oracle Snap Management Utility (3)
• ZFSSA server needs to be
registered in DNS
• Create Storage user for ZFSSA
• Create user server for DB server
• Create SMU Application
• Create Snapshot Backup
• Create Database Clone
• SMU works with:
– Online databases
– Image backup files
– Standby databases
– Issue with Temp files
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Create ZFS Clones with ZFSSAADM Oracle 12c
Oracle Netherland
• $OH/rdbms/utl/zfssa/bin/zfssaadm
– Usage:
• zfssaadm version
zfssaadm [-v] [-l login] [-P password] [-p port] clone [-n newmountpoint] server:mountpoint
zfssaadm [-v] [-l login] [-P password] [-p port] destroy [-F] server:mountpoint
• $OH/rdbms/utl/zfssa/bin/zfssaadm –l <username> “clone” –n <voltag>
<server_vol>
• Mount the <voltag>
• Create DB with the files of the clone file system <voltag>
– Spfile
– Controlfile
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
PDB Thin Provisioning using ZFS Storage (1)
• ZFS snapshots are instantaneous and read-write
• Created as one atomic operation
• Theoretical max limit of 264
• ZFS clones are created from read-only ZFS snapshots
• Clones occupy no extra space when they are created
• Clones share the same ZFS pool as the source
Oracle Netherland
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
PDB Thin Provisioning using ZFS (2)
• Enable the SNMP service on Oracle ZFS Storage
• Oracle Transparent Data Encryption (TDE) keystore for ZFSSA credentials
– Not needed when using parameter clonedb=true
• Source PDB in read-only mode
• Use snapshot copy clause to the CREATE PLUGGABLE DATABASE command
• New PDB GUID
• Query the CLONETAG column of the DBA_PDB_HISTORY
• V$DBA_PDB_STORAGE_CLONE
• Source PDB cannot be unplugged or dropped
Oracle Netherland
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Snapshot Copy
Oracle Netherland
• Not Supported
ORA-17517: Database cloning
using storage snapshot failed
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
PDB Thin Provisioning using ACFS (1)
Oracle Netherland
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
PDB Thin Provisioning using ACFS (2)
Oracle Netherland
• ACFS snapshots are immediate, online copies of the source
• Space efficient, copy-on-write
• ACFS extents copied before being modified or deleted
• Maximum of 63 snapshot views
• Space usage can be seen using
• acfsutil info <fs>
• du command on source file will include space occupied by snapshots
• ACFS snapshots are created on the same file system
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Database Thin Provisioning Using ACFS (3)
• ACFS snapshot create
– acfsutil snap create <snapshot>
<mount_point>
• ACFS snapshot delete
– acfsutil snap delete <snapshot>
<mount_point>
• ADMV version >= 11.2.3.0
• Not required to store storage
credentials
Oracle Netherland
• Alter pluggable database srcPDB
open read only;
• Create pluggable database trgPDB
file_name_convert
=(‘srcPDB,’trgPDB’) snapshot copy;
• Create ACFS clone by calling acfsutil
• /sbin/acfsutil snap create
<voltag> <mount_point>
• <ssrc_mntpt>/.ACFS/snaps
/<voltag
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The preceding 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.
Note: The speaker notes for this slide include
instructions for when to use Safe Harbor
Statement slides.
Tip! Remember to remove this text box.
Oracle Netherland
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Netherland
dbaas-clone

More Related Content

What's hot

SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013
SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013
SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013Michael Noel
 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoMarkus Michalewicz
 
Data Science Day New York: The Platform for Big Data
Data Science Day New York: The Platform for Big DataData Science Day New York: The Platform for Big Data
Data Science Day New York: The Platform for Big DataCloudera, Inc.
 
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
 
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim WilliamsWhat's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim WilliamsMarkus Michalewicz
 
AWS Summit 2011: High Availability Database Architectures in AWS Cloud
AWS Summit 2011: High Availability Database Architectures in AWS CloudAWS Summit 2011: High Availability Database Architectures in AWS Cloud
AWS Summit 2011: High Availability Database Architectures in AWS CloudAmazon Web Services
 
Paper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionPaper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
 
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
What You Should Know About WebLogic Server 12c (12.2.1.2)  #oow2015 #otntour2...What You Should Know About WebLogic Server 12c (12.2.1.2)  #oow2015 #otntour2...
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...Frank Munz
 
Mitmepalgeline uus protsessor T4 SUN´i perekonnast - Karel Kannel
Mitmepalgeline uus protsessor T4 SUN´i perekonnast - Karel KannelMitmepalgeline uus protsessor T4 SUN´i perekonnast - Karel Kannel
Mitmepalgeline uus protsessor T4 SUN´i perekonnast - Karel KannelORACLE USER GROUP ESTONIA
 
Oracle Cloud - Infrastruktura jako kód
Oracle Cloud - Infrastruktura jako kódOracle Cloud - Infrastruktura jako kód
Oracle Cloud - Infrastruktura jako kódMarketingArrowECS_CZ
 
Novell Identity Manager Tips, Tricks and Best Practices
Novell Identity Manager Tips, Tricks and Best PracticesNovell Identity Manager Tips, Tricks and Best Practices
Novell Identity Manager Tips, Tricks and Best PracticesNovell
 
Using Snap Clone with Enterprise Manager 12c
Using Snap Clone with Enterprise Manager 12cUsing Snap Clone with Enterprise Manager 12c
Using Snap Clone with Enterprise Manager 12cPete Sharman
 
Bare-metal performance for Big Data workloads on Docker containers
Bare-metal performance for Big Data workloads on Docker containersBare-metal performance for Big Data workloads on Docker containers
Bare-metal performance for Big Data workloads on Docker containersBlueData, Inc.
 
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...Lindsey Aitchison
 
Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2
Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2
Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2Jeroen Burgers
 
Nové vlastnosti Oracle Database Appliance
Nové vlastnosti Oracle Database ApplianceNové vlastnosti Oracle Database Appliance
Nové vlastnosti Oracle Database ApplianceMarketingArrowECS_CZ
 
Introduction to Crystal and Jasper Reports for Novell Sentinel 6.1
Introduction to Crystal and Jasper Reports for Novell Sentinel 6.1Introduction to Crystal and Jasper Reports for Novell Sentinel 6.1
Introduction to Crystal and Jasper Reports for Novell Sentinel 6.1Novell
 

What's hot (20)

Oracle RAC 12c Overview
Oracle RAC 12c OverviewOracle RAC 12c Overview
Oracle RAC 12c Overview
 
SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013
SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013
SPSMEL 2012 - SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 / 2013
 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
 
Data Science Day New York: The Platform for Big Data
Data Science Day New York: The Platform for Big DataData Science Day New York: The Platform for Big Data
Data Science Day New York: The Platform for Big Data
 
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
 
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim WilliamsWhat's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
 
AWS Summit 2011: High Availability Database Architectures in AWS Cloud
AWS Summit 2011: High Availability Database Architectures in AWS CloudAWS Summit 2011: High Availability Database Architectures in AWS Cloud
AWS Summit 2011: High Availability Database Architectures in AWS Cloud
 
Paper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionPaper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion Edition
 
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
What You Should Know About WebLogic Server 12c (12.2.1.2)  #oow2015 #otntour2...What You Should Know About WebLogic Server 12c (12.2.1.2)  #oow2015 #otntour2...
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
 
Mitmepalgeline uus protsessor T4 SUN´i perekonnast - Karel Kannel
Mitmepalgeline uus protsessor T4 SUN´i perekonnast - Karel KannelMitmepalgeline uus protsessor T4 SUN´i perekonnast - Karel Kannel
Mitmepalgeline uus protsessor T4 SUN´i perekonnast - Karel Kannel
 
Oracle Cloud - Infrastruktura jako kód
Oracle Cloud - Infrastruktura jako kódOracle Cloud - Infrastruktura jako kód
Oracle Cloud - Infrastruktura jako kód
 
Novell Identity Manager Tips, Tricks and Best Practices
Novell Identity Manager Tips, Tricks and Best PracticesNovell Identity Manager Tips, Tricks and Best Practices
Novell Identity Manager Tips, Tricks and Best Practices
 
Using Snap Clone with Enterprise Manager 12c
Using Snap Clone with Enterprise Manager 12cUsing Snap Clone with Enterprise Manager 12c
Using Snap Clone with Enterprise Manager 12c
 
Bare-metal performance for Big Data workloads on Docker containers
Bare-metal performance for Big Data workloads on Docker containersBare-metal performance for Big Data workloads on Docker containers
Bare-metal performance for Big Data workloads on Docker containers
 
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
 
Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2
Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2
Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2
 
PASS Summit 2020
PASS Summit 2020PASS Summit 2020
PASS Summit 2020
 
Nové vlastnosti Oracle Database Appliance
Nové vlastnosti Oracle Database ApplianceNové vlastnosti Oracle Database Appliance
Nové vlastnosti Oracle Database Appliance
 
Siebel server cloning
Siebel server cloningSiebel server cloning
Siebel server cloning
 
Introduction to Crystal and Jasper Reports for Novell Sentinel 6.1
Introduction to Crystal and Jasper Reports for Novell Sentinel 6.1Introduction to Crystal and Jasper Reports for Novell Sentinel 6.1
Introduction to Crystal and Jasper Reports for Novell Sentinel 6.1
 

Similar to dbaas-clone

Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube
 Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube
Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nubeavanttic Consultoría Tecnológica
 
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
 
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13cClone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13cAlfredo Krieg
 
Cost Effectively Run Multiple Oracle Database Copies at Scale
Cost Effectively Run Multiple Oracle Database Copies at Scale Cost Effectively Run Multiple Oracle Database Copies at Scale
Cost Effectively Run Multiple Oracle Database Copies at Scale NetApp
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaSArush Jain
 
Exadata 12c New Features RMOUG
Exadata 12c New Features RMOUGExadata 12c New Features RMOUG
Exadata 12c New Features RMOUGFuad Arshad
 
Oracle Cloud Hybrid Storage Tiering
Oracle Cloud Hybrid Storage TieringOracle Cloud Hybrid Storage Tiering
Oracle Cloud Hybrid Storage TieringJohan Louwers
 
POLARDB: A database architecture for the cloud
POLARDB: A database architecture for the cloudPOLARDB: A database architecture for the cloud
POLARDB: A database architecture for the cloudoysteing
 
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISPOptimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISPSecure-24
 
Consolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficienciesConsolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficienciesDLT Solutions
 
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...avanttic Consultoría Tecnológica
 
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RACAUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RACSandesh Rao
 
Disaster Recovery pomocí Oracle Cloudu
Disaster Recovery pomocí Oracle ClouduDisaster Recovery pomocí Oracle Cloudu
Disaster Recovery pomocí Oracle ClouduMarketingArrowECS_CZ
 
Inter connect2016 yss1841-cloud-storage-options-v4
Inter connect2016 yss1841-cloud-storage-options-v4Inter connect2016 yss1841-cloud-storage-options-v4
Inter connect2016 yss1841-cloud-storage-options-v4Tony Pearson
 
Oracle cloud storage and file system
Oracle cloud storage and file systemOracle cloud storage and file system
Oracle cloud storage and file systemAndrejs Karpovs
 
Vancouver bug enterprise storage and zfs
Vancouver bug   enterprise storage and zfsVancouver bug   enterprise storage and zfs
Vancouver bug enterprise storage and zfsRami Jebara
 
20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptxIvan Ma
 

Similar to dbaas-clone (20)

Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube
 Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube
Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube
 
Oracle Storage a ochrana dat
Oracle Storage a ochrana datOracle Storage a ochrana dat
Oracle Storage a ochrana dat
 
ZFS appliance
ZFS applianceZFS appliance
ZFS appliance
 
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
 
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13cClone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
 
Cost Effectively Run Multiple Oracle Database Copies at Scale
Cost Effectively Run Multiple Oracle Database Copies at Scale Cost Effectively Run Multiple Oracle Database Copies at Scale
Cost Effectively Run Multiple Oracle Database Copies at Scale
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
 
Exadata 12c New Features RMOUG
Exadata 12c New Features RMOUGExadata 12c New Features RMOUG
Exadata 12c New Features RMOUG
 
Oracle Cloud Hybrid Storage Tiering
Oracle Cloud Hybrid Storage TieringOracle Cloud Hybrid Storage Tiering
Oracle Cloud Hybrid Storage Tiering
 
POLARDB: A database architecture for the cloud
POLARDB: A database architecture for the cloudPOLARDB: A database architecture for the cloud
POLARDB: A database architecture for the cloud
 
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISPOptimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
 
Consolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficienciesConsolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficiencies
 
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
 
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RACAUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
 
Disaster Recovery pomocí Oracle Cloudu
Disaster Recovery pomocí Oracle ClouduDisaster Recovery pomocí Oracle Cloudu
Disaster Recovery pomocí Oracle Cloudu
 
Oracle Cloud
Oracle CloudOracle Cloud
Oracle Cloud
 
Inter connect2016 yss1841-cloud-storage-options-v4
Inter connect2016 yss1841-cloud-storage-options-v4Inter connect2016 yss1841-cloud-storage-options-v4
Inter connect2016 yss1841-cloud-storage-options-v4
 
Oracle cloud storage and file system
Oracle cloud storage and file systemOracle cloud storage and file system
Oracle cloud storage and file system
 
Vancouver bug enterprise storage and zfs
Vancouver bug   enterprise storage and zfsVancouver bug   enterprise storage and zfs
Vancouver bug enterprise storage and zfs
 
20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 

dbaas-clone

  • 1.
  • 2. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Database-As-A-Service with Copy on Write Cloning: Just minutes with minimal storage usages Jos van den Oord Oracle Consultant ORACLE Nederland Month 04, 2015 Oracle Netherland
  • 3. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement 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. Oracle Netherland
  • 4. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Program Agenda Why Clone Databases? How do we Clone Databases? Database Thin Cloning with Copy-On-Write Direct NFS and Databases DBaaS – Copy-On-Write 1 2 3 4 5 Oracle Netherland
  • 5. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Why Clone Databases? • Setup new databases as copies of existing ones • Data refresh for development and test environments from production • Test backup and recovery • Create standby databases • Recover lost data or objects Oracle Netherland
  • 6. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | How do we Clone Databases? • There are several methods for cloning databases – Manually copy files and recreate the database – RMAN duplicate – from active database – RMAN duplicate – from backup – 3rd Party Solutions • All methods require copying or restoring files to new location – Additional disk space – Time to perform the copy action Oracle Netherland
  • 7. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Database Thin Cloning with Copy-On-Write • Based on Network File System (NFS) – Preferable using Direct NFS (dNFS) clients to the database • Copy-on-Write (COW) Technology – Clones use read-only image copies of data-files as source • Read Only Databases • Snapshot method • RMAN copy Backup – Only modified blocks are written to dNFS location • CloneDB, snapshot copy, Snap Clone • Snap Manager Utility, Enterprise Manager Oracle Netherland
  • 8. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Traditional Cloning vs Thin Cloning Oracle Netherland Base Image 1TB Data Files Clone A 1TB Data Files Clone B 1TB Data Files Traditional Clones Full copy of the original database 3TB for original + clones Thin Clones Only changed blocks in new clone space 1.15TB for original + clones Base Image 1TB Data Files Clone A 50GB Data Files Clone B 100GB Data Files Pointers to existing blocks Pointers to existing blocks New data New data
  • 9. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Supported Cloning Options Oracle Netherland Snap (Thin) Clones Software Solution Snap (Thin) Clones Hardware Solution ASM - ACFS Full Clones Database Native RMAN Restore RMAN Duplicate Data Pump
  • 10. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Direct NFS and Databases Oracle Netherland • Standard NFS Clients software – Not optimized for Oracle Database file I/O access patterns • Oracle Database 11g • Direct NFS Client is capable of performing concurrent direct I/O, which bypasses any operating system level cache • Eliminates any operating system write-ordering locks • Asynchronous I/O • Improve performance, high availability, and scalability of NFS storage
  • 11. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Direct NFS Client Configuration Oracle Netherland • Mount NFS volumes • Mount options are not relevant • $ORACLE_HOME/rdbms/lib • Make –f ins_rdbms.mk dnfs_on • Set filesystemio_options at least to directIO • Configure oranfstab file - Multipathing, scalability • dNFS Client use oranfstab or /etc/mtab info to determine mount point settings for NFS storage devices
  • 12. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Direct NFS validation Oracle Netherland • Alertlog “ Oracle instance running with ODM: Oracle Direct NFS ODM Library Version 3.0” • V$DNFS_* views (V$DNFS_SERVER, V$DNFS_STATS) • lsof -p <dbw pid> “ joordshost:65543->zfssa:nfs (ESTABLISHED)”
  • 13. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Program Agenda CloneDB Snap Manager Utility ZFSSAADM PDB Thin Provisioning using ZFS SA PDB Thin Provisioning using ACFS Enterprise Manager Snap Clone 1 2 3 4 5 Oracle Netherland 6
  • 14. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | CloneDB (1) Oracle Netherland • Static read only image backup files source database • Use NFS v3 client embedded in database • Supported Versions: 11.2.0.3+, 12.1 • No Special storage software needed • Works on all platforms • Uses dNFS to improve performance, high availability, and scalability of NFS storage
  • 15. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | CloneDB (2) Oracle Netherland
  • 16. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | CloneDB (3) Oracle Netherland • $ORACLE_HOME/rdbms/install/clonedb.pl • Three environment variables – MASTER_COPY_DIR= “/rman_backup” – CLONE_FILE_CREATE_DEST= “/nfs_mount” – CLONEDB_NAME= “clone” • sqlplus / as sysdba @create_clone.sql [@crtdb.sql ; @dbren.sql] – Started up in nomount with generated pfile – Parameter clonedb=TRUE – Create controlfile command that points to the datafiles in “/rman_backup” – dbms_dnfs.clonedb_renamefile(‘/rman_backup/file.dbf’,’/nfs_mount/file.dbf’ – Alter database open resetlogs;
  • 17. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Snap Management Utility (1) Oracle Netherland • Standalone Management Tool with Oracle ZFS Storage Appliance • Quick and Easy Snapshots and Clones for Oracle Databases • Supported Versions: 10g, 11g,12c • Uses dNFS to improve performance, high availability, and scalability of NFS storage
  • 18. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Netherland Oracle Snap Management Utility (2) • ZFS Snapshot – Read-only point-in-time copy of file system – Only changes tracked – near-zero space consumption and near instantaneous • ZFS Restore – Restore to any ‘point in time’ snapshot – File system or LUN modality • ZFS Clone – Writeable copy of a snapshot – Ideal for storing many private copies of mostly-shared data • Database Snap Backup – Application aware snapshots based backup of db files/shares
  • 19. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Netherland Oracle Snap Management Utility (3) • ZFSSA server needs to be registered in DNS • Create Storage user for ZFSSA • Create user server for DB server • Create SMU Application • Create Snapshot Backup • Create Database Clone • SMU works with: – Online databases – Image backup files – Standby databases – Issue with Temp files
  • 20. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Create ZFS Clones with ZFSSAADM Oracle 12c Oracle Netherland • $OH/rdbms/utl/zfssa/bin/zfssaadm – Usage: • zfssaadm version zfssaadm [-v] [-l login] [-P password] [-p port] clone [-n newmountpoint] server:mountpoint zfssaadm [-v] [-l login] [-P password] [-p port] destroy [-F] server:mountpoint • $OH/rdbms/utl/zfssa/bin/zfssaadm –l <username> “clone” –n <voltag> <server_vol> • Mount the <voltag> • Create DB with the files of the clone file system <voltag> – Spfile – Controlfile
  • 21. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | PDB Thin Provisioning using ZFS Storage (1) • ZFS snapshots are instantaneous and read-write • Created as one atomic operation • Theoretical max limit of 264 • ZFS clones are created from read-only ZFS snapshots • Clones occupy no extra space when they are created • Clones share the same ZFS pool as the source Oracle Netherland
  • 22. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | PDB Thin Provisioning using ZFS (2) • Enable the SNMP service on Oracle ZFS Storage • Oracle Transparent Data Encryption (TDE) keystore for ZFSSA credentials – Not needed when using parameter clonedb=true • Source PDB in read-only mode • Use snapshot copy clause to the CREATE PLUGGABLE DATABASE command • New PDB GUID • Query the CLONETAG column of the DBA_PDB_HISTORY • V$DBA_PDB_STORAGE_CLONE • Source PDB cannot be unplugged or dropped Oracle Netherland
  • 23. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Snapshot Copy Oracle Netherland • Not Supported ORA-17517: Database cloning using storage snapshot failed
  • 24. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | PDB Thin Provisioning using ACFS (1) Oracle Netherland
  • 25. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | PDB Thin Provisioning using ACFS (2) Oracle Netherland • ACFS snapshots are immediate, online copies of the source • Space efficient, copy-on-write • ACFS extents copied before being modified or deleted • Maximum of 63 snapshot views • Space usage can be seen using • acfsutil info <fs> • du command on source file will include space occupied by snapshots • ACFS snapshots are created on the same file system
  • 26. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Database Thin Provisioning Using ACFS (3) • ACFS snapshot create – acfsutil snap create <snapshot> <mount_point> • ACFS snapshot delete – acfsutil snap delete <snapshot> <mount_point> • ADMV version >= 11.2.3.0 • Not required to store storage credentials Oracle Netherland • Alter pluggable database srcPDB open read only; • Create pluggable database trgPDB file_name_convert =(‘srcPDB,’trgPDB’) snapshot copy; • Create ACFS clone by calling acfsutil • /sbin/acfsutil snap create <voltag> <mount_point> • <ssrc_mntpt>/.ACFS/snaps /<voltag
  • 27. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The preceding 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. Note: The speaker notes for this slide include instructions for when to use Safe Harbor Statement slides. Tip! Remember to remove this text box. Oracle Netherland
  • 28. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Netherland

Editor's Notes

  1. This is a Safe Harbor Front slide, one of two Safe Harbor Statement slides included in this template. One of the Safe Harbor slides must be used if your presentation covers material affected by Oracle’s Revenue Recognition Policy To learn more about this policy, e-mail: Revrec-americasiebc_us@oracle.com For internal communication, Safe Harbor Statements are not required. However, there is an applicable disclaimer (Exhibit E) that should be used, found in the Oracle Revenue Recognition Policy for Future Product Communications. Copy and paste this link into a web browser, to find out more information.   http://my.oracle.com/site/fin/gfo/GlobalProcesses/cnt452504.pdf For all external communications such as press release, roadmaps, PowerPoint presentations, Safe Harbor Statements are required. You can refer to the link mentioned above to find out additional information/disclaimers required depending on your audience.
  2. When you use the SNAPSHOT COPY clause to create a clone of a source PDB and the CLONEDB initialization parameter is set to FALSE, the underlying file system for the source PDB&amp;apos;s files must support storage snapshots. Such file systems include Oracle Automatic Storage Management Cluster File System (Oracle ACFS) and Direct NFS Client storage. ou can query the CLONETAG column ofDBA_PDB_HISTORY view to view clone tags for storage clones. Thin Provisioning and Instantaneous Cloning: The Oracle ZFS Storage Appliance Advantage The Oracle Multitenant architecture is integrated with Oracle ZFS Storage Appliance, which provides unlimited snapshots and cloning services. A snapshot is a read-only point-in-time copy of a file system. It is instantaneously created and no space is allocated initially. Blocks are allocated as changes are made to the base file system. Any reads to the snapshot blocks are served by the base file system&amp;apos;s block. When changes happen to the base file system, the older block is then referenced by the snapshot and the new, changed block is referenced by the file system. A clone is an instantaneously created read-writable copy of a snapshot. One or more clones can be created from a single snapshot. These clones are presented to users as a normal file system. Similar to snapshots, when a clone is created, no space is allocated. The reads of the clone are served by the base file system&amp;apos;s blocks. The changed blocks are allocated only when the blocks are changed in the clone. Since space is shared between snapshots and clones, and since a snapshot may have multiple clones, a snapshot cannot be destroyed without also destroying any active clones. You can use the CREATE PLUGGABLE DATABASE statement to clone a PDB. This technique clones a source PDB and plugs the clone into the CDB. To use this technique, you must include a FROM clause that specifies the source PDB. The source PDB is the existing PDB that is copied. The target PDB is the clone of the source PDB. The CREATE PLUGGABLE DATABASE statement copies the files associated with the source PDB to a new location and associates the files with the target PDB. The source PDB needs to be in read-only mode in order to be cloned. If your source PDB is on Oracle ZFS Storage Appliance, you can create a snapshot clone of that PDB by merely adding a snapshot copy clause to the CREATE PLUGGABLE DATABASE command. When an Oracle Database client issues a CREATE PLUGGABLE DATABASE SQL statement with a snapshot copy clause, Oracle Database logs in to Oracle ZFS Storage Appliance and creates a snapshot of the file system on which the source PDB resides, and it promotes that snapshot as a clone on Oracle ZFS Storage Appliance. The clone creation on Oracle ZFS Storage Appliance is instantaneous and no space is initially allocated to that clone. When you use the snapshot copy clause to create a clone of a source PDB, the following restrictions apply to the source PDB as long as any clones exist: It cannot be unplugged. It cannot be dropped. Storage clones are named and tagged using the new PDB GUID . You can query the CLONETAG column of the DBA_PDB_HISTORY view to view clone tags for storage clones.
  3. Thin Provisioning and Instantaneous Cloning: The Oracle ZFS Storage Appliance Advantage The Oracle Multitenant architecture is integrated with Oracle ZFS Storage Appliance, which provides unlimited snapshots and cloning services. A snapshot is a read-only point-in-time copy of a file system. It is instantaneously created and no space is allocated initially. Blocks are allocated as changes are made to the base file system. Any reads to the snapshot blocks are served by the base file system&amp;apos;s block. When changes happen to the base file system, the older block is then referenced by the snapshot and the new, changed block is referenced by the file system. A clone is an instantaneously created read-writable copy of a snapshot. One or more clones can be created from a single snapshot. These clones are presented to users as a normal file system. Similar to snapshots, when a clone is created, no space is allocated. The reads of the clone are served by the base file system&amp;apos;s blocks. The changed blocks are allocated only when the blocks are changed in the clone. Since space is shared between snapshots and clones, and since a snapshot may have multiple clones, a snapshot cannot be destroyed without also destroying any active clones. You can use the CREATE PLUGGABLE DATABASE statement to clone a PDB. This technique clones a source PDB and plugs the clone into the CDB. To use this technique, you must include a FROM clause that specifies the source PDB. The source PDB is the existing PDB that is copied. The target PDB is the clone of the source PDB. The CREATE PLUGGABLE DATABASE statement copies the files associated with the source PDB to a new location and associates the files with the target PDB. The source PDB needs to be in read-only mode in order to be cloned. If your source PDB is on Oracle ZFS Storage Appliance, you can create a snapshot clone of that PDB by merely adding a snapshot copy clause to the CREATE PLUGGABLE DATABASE command. When an Oracle Database client issues a CREATE PLUGGABLE DATABASE SQL statement with a snapshot copy clause, Oracle Database logs in to Oracle ZFS Storage Appliance and creates a snapshot of the file system on which the source PDB resides, and it promotes that snapshot as a clone on Oracle ZFS Storage Appliance. The clone creation on Oracle ZFS Storage Appliance is instantaneous and no space is initially allocated to that clone. When you use the snapshot copy clause to create a clone of a source PDB, the following restrictions apply to the source PDB as long as any clones exist: It cannot be unplugged. It cannot be dropped. Storage clones are named and tagged using the new PDB GUID . You can query the CLONETAG column of the DBA_PDB_HISTORY view to view clone tags for storage clones.
  4. This is a Safe Harbor Front slide, one of two Safe Harbor Statement slides included in this template. One of the Safe Harbor slides must be used if your presentation covers material affected by Oracle’s Revenue Recognition Policy To learn more about this policy, e-mail: Revrec-americasiebc_us@oracle.com For internal communication, Safe Harbor Statements are not required. However, there is an applicable disclaimer (Exhibit E) that should be used, found in the Oracle Revenue Recognition Policy for Future Product Communications. Copy and paste this link into a web browser, to find out more information.   http://my.oracle.com/site/fin/gfo/GlobalProcesses/cnt452504.pdf For all external communications such as press release, roadmaps, PowerPoint presentations, Safe Harbor Statements are required. You can refer to the link mentioned above to find out additional information/disclaimers required depending on your audience.