SlideShare a Scribd company logo
BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA
HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH
Oracle ACFS and Oracle Database:
a Perfect Marriage?
Ludovico Caldara
Senior Consultant @ Trivadis
Oracle ACE
About Ludovico Caldara
Oracle ACFS and Oracle Database: a Perfect Marriage?2 04.09.2015
■ 16 Years DBA (Not Only Oracle)
▪ I do it everywhere (even Windows)
■ RAC ATTACK Ninja & co-writer
■ VP, SOUG & ITOUG Board member
■ OCP (11g, 12c, MySQL) & OCE
■ Italian living in Switzerland
■ http://www.ludovicocaldara.net
■ @ludodba
■ ludovicocaldara
Opinions are my own
Our company.
Oracle ACFS and Oracle Database: a Perfect Marriage?3 04.09.2015
Trivadis is a market leader in IT consulting, system integration, solution engineering
and the provision of IT services focusing on and technologies
in Switzerland, Germany, Austria and Denmark. We offer our services in the following
strategic business fields:
Trivadis Services takes over the interactive operation of your IT systems.
O P E R A T I O N
COPENHAGEN
MUNICH
LAUSANNE
BERN
ZURICH
BRUGG
GENEVA
HAMBURG
DÜSSELDORF
FRANKFURT
STUTTGART
FREIBURG
BASLE
VIENNA
With over 600 specialists and IT experts in your region.
Oracle ACFS and Oracle Database: a Perfect Marriage?4 04.09.2015
14 Trivadis branches and more than
600 employees
200 Service Level Agreements
Over 4,000 training participants
Research and development budget:
CHF 5.0 / EUR 4 million
Financially self-supporting and
sustainably profitable
Experience from more than 1,900
projects per year at over 800
customers
Oracle ACFS and Oracle Database: a Perfect Marriage?5 04.09.2015
ASM, ADVM, ACFS?
ASM, ADVM, ACFS?
Oracle ACFS and Oracle Database: a Perfect Marriage?6 04.09.2015
ASM
Disk Group 1 Disk Group 2
ADVM Vol2
ACFS /app
.exe.dbf.txt
DB03
Disk Group 3
.dbf
.ctl
.dbf
.dbf
.dbf
.ctl
.dbf
.dbf
DB04APP01
ADVM Vol4ADVM Vol3
Ext4 /abc
.exe.dbf.txt
APP02 APP02
RAW
Cluster File System – ACFS (1)
Needs Grid Infrastructure!
ASM Cluster File System (ACFS) is a general purpose cluster filesystem implemented as part of ASM
– Dynamic loadable OS drivers delivered by Oracle
– Based on ASM Dynamic Volume Manager (ADVM)
Supports both traditional UNIX-style file access control classes and file access control lists (ACLs) for
Windows platforms
Uses standard file related system calls – no need to use special tools
Cannot be used for Grid Infrastructure home, voting files, OCR, ASM diag dest.
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?7
Cluster File System – ACFS (2)
ASM Cluster File System (ACFS) leverages ASM
– High performance (Variable extents-based allocation)
– Data spread evenly across ASM disks
– Same data protection ot the Disk Group (External / Normal / High redundancy)
Supports Database Homes and Database diag dests
Multi-node, shared filesystem
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?8
Cluster File System – ACFS (3)
Main features: Snapshots, Encryption, Security, Replication, Auditing
Up to 11.2.0.3, it was part of the Cloud File System option ($$)
Starting with 11.2.0.4, ACFS and ADVM are no more an extra-cost option
Starting with 12cR1, Oracle ACFS supports Oracle Datafiles if DB release >= 11.2.0.4
– https://docs.oracle.com/database/121/OSTMG/asmfilesystem.htm#OSTMG95961
Since ODA sw version 12.1.2, databases are created on ACFS
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?9
Oracle ACFS and Oracle Database: a Perfect Marriage?10 04.09.2015
Datafiles on ACFS
ASM, ADVM, ACFS?
Oracle ACFS and Oracle Database: a Perfect Marriage?11 04.09.2015
ASM
Disk Group 1 Disk Group 2
ADVM Vol2
ACFS /app
.exe.dbf.txt
DB03
Disk Group 3
.dbf
.ctl
.dbf
.dbf
.dbf
.ctl
.dbf
.dbf
DB04APP01
ADVM Vol4ADVM Vol3
Ext4 /abc
.exe.dbf.txt
APP02 APP02
RAW
ASM, ADVM, ACFS?
Oracle ACFS and Oracle Database: a Perfect Marriage?12 04.09.2015
ASM
Disk Group 1 Disk Group 2
ADVM Vol1 ADVM Vol2
ACFS /u02 ACFS /app
.ctl.dbf.dbf
.exe.dbf.txt
DB01 DB03
Disk Group 3
.dbf
.ctl
.dbf
.dbf
.dbf
.ctl
.dbf
.dbf
DB04APP01
ADVM Vol4ADVM Vol3
Ext4 /abc
.exe.dbf.txt
APP02 APP02
RAW
ASM, ADVM, ACFS?
Oracle ACFS and Oracle Database: a Perfect Marriage?13 04.09.2015
ASM
Disk Group 1 Disk Group 2
ADVM Vol1 ADVM Vol2
ACFS /u02 ACFS /app
.ctl.dbf.dbf
.exe.dbf.txt
DB01 DB03
Disk Group 3
.dbf
.ctl
.dbf
.dbf
.dbf
.ctl
.dbf
.dbf
DB04APP01
ADVM Vol4ADVM Vol3
Ext4 /abc
.exe.dbf.txt
APP02 APP02
RAW
NEW: 12c
Requirements
Oracle ACFS and Oracle Database: a Perfect Marriage?14 04.09.2015
No Oracle Restart, only Grid Infrastructure (even single-node, but cluster installation)
advm.compatible and asm.compatible must be >= 12.1
Volume stripe columns must be set to 1 in 12.1.0.1.
– From 12.1.0.2 onwards the default is ok (columns 8, width 1024kb)
The DB must be running with filesystemio_options=setall
If Grid Infrastructure 12.1.0.1, only Unix/Linux
– Starting with 12.1.0.2, also Windows
Implementation steps (1)
Oracle ACFS and Oracle Database: a Perfect Marriage?15 04.09.2015
## create the Disk Group with compatible 12.1
cat dg_acfs.xml
<dg name="ACFS" redundancy="external">
<dsk string="ORCL:DISK5" /><dsk string="ORCL:DISK6" /><dsk string="ORCL:DISK7" /><dsk string="ORCL:DISK8" />
<a name="compatible.asm" value="12.1.0.0.0"/>
<a name="compatible.rdbms" value="12.1.0.0.0"/>
<a name="compatible.advm" value="12.1.0.0.0"/>
</dg>
Implementation steps (1)
Oracle ACFS and Oracle Database: a Perfect Marriage?16 04.09.2015
## create the Disk Group with compatible 12.1
cat dg_acfs.xml
<dg name="ACFS" redundancy="external">
<dsk string="ORCL:DISK5" /><dsk string="ORCL:DISK6" /><dsk string="ORCL:DISK7" /><dsk string="ORCL:DISK8" />
<a name="compatible.asm" value="12.1.0.0.0"/>
<a name="compatible.rdbms" value="12.1.0.0.0"/>
<a name="compatible.advm" value="12.1.0.0.0"/>
</dg>
asmcmd mkdg dg_acfs.xml
Implementation steps (1)
Oracle ACFS and Oracle Database: a Perfect Marriage?17 04.09.2015
## create the Disk Group with compatible 12.1
cat dg_acfs.xml
<dg name="ACFS" redundancy="external">
<dsk string="ORCL:DISK5" /><dsk string="ORCL:DISK6" /><dsk string="ORCL:DISK7" /><dsk string="ORCL:DISK8" />
<a name="compatible.asm" value="12.1.0.0.0"/>
<a name="compatible.rdbms" value="12.1.0.0.0"/>
<a name="compatible.advm" value="12.1.0.0.0"/>
</dg>
asmcmd mkdg dg_acfs.xml
## create the Volume (stripe columns must be set to 1 in 12.1.0.1. From 12.1.0.2 onwards the default is ok)
asmcmd volcreate -G acfs -s 19G volacfs --column 1
Implementation steps (1)
Oracle ACFS and Oracle Database: a Perfect Marriage?18 04.09.2015
## create the Disk Group with compatible 12.1
cat dg_acfs.xml
<dg name="ACFS" redundancy="external">
<dsk string="ORCL:DISK5" /><dsk string="ORCL:DISK6" /><dsk string="ORCL:DISK7" /><dsk string="ORCL:DISK8" />
<a name="compatible.asm" value="12.1.0.0.0"/>
<a name="compatible.rdbms" value="12.1.0.0.0"/>
<a name="compatible.advm" value="12.1.0.0.0"/>
</dg>
asmcmd mkdg dg_acfs.xml
## create the Volume (stripe columns must be set to 1 in 12.1.0.1. From 12.1.0.2 onwards the default is ok)
asmcmd volcreate -G acfs -s 19G volacfs --column 1
asmcmd volinfo --all
Diskgroup Name: ACFS
Volume Name: VOLACFS
Volume Device: /dev/asm/volacfs-167
State: ENABLED
Size (MB): 19456
Resize Unit (MB): 8
Redundancy: UNPROT
Stripe Columns: 1
...
Implementation steps (2)
Oracle ACFS and Oracle Database: a Perfect Marriage?19 04.09.2015
grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167
mkfs.acfs: version = 12.1.0.2.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/volacfs-167
mkfs.acfs: volume size = 20401094656 ( 19.00 GB )
mkfs.acfs: Format complete.
Implementation steps (2)
Oracle ACFS and Oracle Database: a Perfect Marriage?20 04.09.2015
grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167
mkfs.acfs: version = 12.1.0.2.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/volacfs-167
mkfs.acfs: volume size = 20401094656 ( 19.00 GB )
mkfs.acfs: Format complete.
grid@racvagn1:~/ $ sudo su -
# srvctl add filesystem -d /dev/asm/volacfs-167 -m /u02 -u oracle -fstype ACFS -autostart ALWAYS
Implementation steps (2)
Oracle ACFS and Oracle Database: a Perfect Marriage?21 04.09.2015
grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167
mkfs.acfs: version = 12.1.0.2.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/volacfs-167
mkfs.acfs: volume size = 20401094656 ( 19.00 GB )
mkfs.acfs: Format complete.
grid@racvagn1:~/ $ sudo su -
# srvctl add filesystem -d /dev/asm/volacfs-167 -m /u02 -u oracle -fstype ACFS -autostart ALWAYS
# srvctl start filesystem -d /dev/asm/volacfs-167
# df -k /u02
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/asm/volacfs-167 19922944 117616 19805328 1% /u02
Implementation steps (2)
Oracle ACFS and Oracle Database: a Perfect Marriage?22 04.09.2015
grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167
mkfs.acfs: version = 12.1.0.2.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/volacfs-167
mkfs.acfs: volume size = 20401094656 ( 19.00 GB )
mkfs.acfs: Format complete.
grid@racvagn1:~/ $ sudo su -
# srvctl add filesystem -d /dev/asm/volacfs-167 -m /u02 -u oracle -fstype ACFS -autostart ALWAYS
# srvctl start filesystem -d /dev/asm/volacfs-167
# df -k /u02
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/asm/volacfs-167 19922944 117616 19805328 1% /u02
# chown oracle:oinstall /u02
# chmod 775 /u02
# su - oracle
oracle@racvagn1:~/ [+ASM1] mkdir -p /u02/app/oracle/oradata
Implementation steps (2)
Oracle ACFS and Oracle Database: a Perfect Marriage?23 04.09.2015
grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167
mkfs.acfs: version = 12.1.0.2.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/volacfs-167
mkfs.acfs: volume size = 20401094656 ( 19.00 GB )
mkfs.acfs: Format complete.
grid@racvagn1:~/ $ sudo su -
# srvctl add filesystem -d /dev/asm/volacfs-167 -m /u02 -u oracle -fstype ACFS -autostart ALWAYS
# srvctl start filesystem -d /dev/asm/volacfs-167
# df -k /u02
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/asm/volacfs-167 19922944 117616 19805328 1% /u02
# chown oracle:oinstall /u02
# chmod 775 /u02
# su - oracle
oracle@racvagn1:~/ [+ASM1] mkdir -p /u02/app/oracle/oradata
oracle@racvagn1:~/ [+ASM1] crsctl stat res ora.acfs.volacfs.acfs -t
Name Target State Server State details
Local Resources
ora.acfs.volacfs.acfs
ONLINE ONLINE racvagn1 mounted on /u02,STABLE
ONLINE ONLINE racvagn2 mounted on /u02,STABLE
Implementation steps (2)
Oracle ACFS and Oracle Database: a Perfect Marriage?24 04.09.2015
grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167
mkfs.acfs: version = 12.1.0.2.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/volacfs-167
mkfs.acfs: volume size = 20401094656 ( 19.00 GB )
mkfs.acfs: Format complete.
grid@racvagn1:~/ $ sudo su -
# srvctl add filesystem -d /dev/asm/volacfs-167 -m /u02 -u oracle -fstype ACFS -autostart ALWAYS
# srvctl start filesystem -d /dev/asm/volacfs-167
# df -k /u02
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/asm/volacfs-167 19922944 117616 19805328 1% /u02
# chown oracle:oinstall /u02
# chmod 775 /u02
# su - oracle
oracle@racvagn1:~/ [+ASM1] mkdir -p /u02/app/oracle/oradata
oracle@racvagn1:~/ [+ASM1] crsctl stat res ora.acfs.volacfs.acfs -t
Name Target State Server State details
Local Resources
ora.acfs.volacfs.acfs
ONLINE ONLINE racvagn1 mounted on /u02,STABLE
ONLINE ONLINE racvagn2 mounted on /u02,STABLE
... Then create the database there... With filesystemio_options=setall!!
Implementation steps (3)
Oracle ACFS and Oracle Database: a Perfect Marriage?25 04.09.2015
ASM is the default, but the
ACFS filesystem is discovered
And proposed by default
when Storage Type “File System” is selected
DBCA
Oracle ACFS and Oracle Database: a Perfect Marriage?26 04.09.2015
Performance
SLOBing ASM vs ACFS
Environment
– ACFS filesystem, ASM DiskGroup
– Same topology, one SSD disk, same environment
– Same database and tablespace, datafile moved online from ASM to ACFS between runs
SQL> alter database move datafile 2 to
'/u02/ACFSDB/ACFSDB/datafile/slob01.dbf';
Database altered.
OWNER TABLE_NAME NUM_ROWS BLOCKS
---------- ---------- ---------------- ----------------
USER2 CF1 97,464 100,493
USER1 CF1 100,000 100,883
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?27
SLOBing ASM vs ACFS
5 SLOB runs on ACFS, 5 SLOB runs on ASM
– Instance caging (1CPU)
– 20% update, no Hot Blocks
– consider only 1-bk reads/second
on SLOB TBSP
– skip worst, average others
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?28
SLOBing ASM vs ACFS
5 SLOB runs on ACFS, 5 SLOB runs on ASM
– Instance caging (1CPU)
– 20% update, no Hot Blocks
– consider only 1-bk reads/second
on SLOB TBSP
– skip worst, average others
Best ACFS run worse than worst ASM run
– Average loss: 3,8%
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?29
0
500
1000
1500
2000
2500
3000
3500
4000
1 2 3 4
ASM vs ACFS
ASM ACFS
SLOBing ASM vs ACFS
I did different tests (different update pcts, run durations, etc.), almost same results
Not a big performance loss, but... not so good either!
These are non-exhaustive tests, maybe ACFS has better (or worse!) performances
under different loads.
Anyway, due to additional layer, ACFS cannot be faster than flat ASM in any case
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?30
Oracle ACFS and Oracle Database: a Perfect Marriage?31 04.09.2015
Magic features
(or options?)
ACFS and Datafiles - Features
For Database files:
– ACFS Snapshots require Enterprise Edition
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?32
ACFS and Datafiles - Features
For Database files:
– ACFS Snapshots require Enterprise Edition
– ACFS Encryption, ACFS Security, ACFS Replication, ACFS Auditing are not available.
Oracle Database options should be used instead. Respectively: Oracle Advanced
Security, Oracle Database Vault, Oracle Data Guard, Oracle Audit Vault)
– https://docs.oracle.com/database/121/DBLIC/editions.htm#CIHDDJCJ
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?33
Oracle ACFS and Oracle Database: a Perfect Marriage?34 04.09.2015
So "Datafiles on ACFS"
is about snapshots
(remember, EE only)
Oracle ACFS and Oracle Database: a Perfect Marriage?35 04.09.2015
0
500
1000
1500
2000
2500
3000
3500
4000
1 2 3 4
0
2
4
8
16
Write performance w/ snapshots (on base mountpoint)
snapshots
SLOB Run
IOs/second
Oracle ACFS and Oracle Database: a Perfect Marriage?36 04.09.2015
0
500
1000
1500
2000
2500
3000
3500
4000
1 2 3 4
0
2
4
8
16
Write performance w/ snapshots (on base mountpoint)
snapshots
SLOB Run
IOs/second Big regression starting with the first snapshot.
No further regressions when more inactive snapshots are created.
Copy on Write?
Oracle ACFS and Oracle Database: a Perfect Marriage?37 04.09.2015
Copy on Write?
Oracle ACFS and Oracle Database: a Perfect Marriage?38 04.09.2015
Somebody calls it Redirect on Write.
Copy on Write?
Oracle ACFS and Oracle Database: a Perfect Marriage?39 04.09.2015
Somebody calls it Redirect on Write.
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
Copy on Write?
Oracle ACFS and Oracle Database: a Perfect Marriage?40 04.09.2015
Somebody calls it Redirect on Write.
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file Modify a block in first extent of /mp/file?
Copy on Write?
Oracle ACFS and Oracle Database: a Perfect Marriage?41 04.09.2015
Somebody calls it Redirect on Write.
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file Modify a block in first extent of /mp/file?
No snapshots point to the same extent: OK
Copy on Write?
Oracle ACFS and Oracle Database: a Perfect Marriage?42 04.09.2015
Somebody calls it Redirect on Write.
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file Modify a block in first extent of /mp/file?
No snapshots point to the same extent: OK
Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?43 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?44 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
Modify a block in first extent of /mp/file?
Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?45 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
Modify a block in first extent of /mp/file?
Snapshots point to the same extent: Redirect
0x4000000
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
0x4000000
Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?46 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
Modify a block in first extent of /mp/file?
Snapshots point to the same extent: Redirect
0x4000000
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
0x4000000
Next write on the same block: OK
Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?47 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
Modify a block in first extent of /mp/file?
Snapshots point to the same extent: Redirect
0x4000000
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
0x4000000
Modify a block in first extent of snapshot 1?
Next write on the same block: OK
Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?48 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
Modify a block in first extent of /mp/file?
Snapshots point to the same extent: Redirect
0x4000000
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
0x4000000
0x5000000
0x5000000
Modify a block in first extent of snapshot 1?
Next write on the same block: OK
Snapshot 2 points to the same extent: Redirect
Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?49 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
Modify a block in first extent of /mp/file?
Snapshots point to the same extent: Redirect
0x4000000
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
0x4000000
0x5000000
0x5000000
Modify a block in first extent of snapshot 1?
Next write on the same block: OK
Snapshot 2 points to the same extent: Redirect
Next write on the same block: OK
Writes on base FS with snapshots
Oracle ACFS and Oracle Database: a Perfect Marriage?50 04.09.2015
What if I have snapshots?
0x1000000 0x2000000 0x3000000
0x1000000
0x2000000
0x3000000
inode
/mp/file
Modify a block in first extent of /mp/file?
Snapshots point to the same extent: Redirect
0x4000000
0x1000000
0x2000000
0x3000000
inode
/mp/../sp1
/file
0x1000000
0x2000000
0x3000000
inode
/mp/../sp2
/file
0x4000000
0x5000000
0x5000000
Modify a block in first extent of snapshot 1?
Next write on the same block: OK
Snapshot 2 points to the same extent: Redirect
Next write on the same block: OK
Modify a block in first extent of snapshot 2 is
also ok because no snaps point to the same extent
Oracle ACFS and Oracle Database: a Perfect Marriage?51 04.09.2015
Evidence?
Evidence of Redirect on Write Snapshot
Oracle ACFS and Oracle Database: a Perfect Marriage?52 04.09.2015
# acfsutil snap create -w SNAP1 /u02
acfsutil snap create: Snapshot operation is complete.
# acfsutil snap create -w -p SNAP1 SNAP2 /u02
acfsutil snap create: Snapshot operation is complete.
Then, two nested snapshots: /u01 <- SNAP1 <- SNAP2
# dd if=/dev/urandom of=/u02/test/file count=16 bs=1048576
16+0 records in
16+0 records out
16777216 bytes (17 MB) copied, 2.83643 s, 5.9 MB/s
First, let’s create a file 16MB big
Evidence of Redirect on Write Snapshot
Oracle ACFS and Oracle Database: a Perfect Marriage?53 04.09.2015
# acfsutil info file /u02/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP1/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP2/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
All three files (base and snapshots) use the same extents
Evidence of Redirect on Write Snapshot
Oracle ACFS and Oracle Database: a Perfect Marriage?54 04.09.2015
# dd if=/dev/urandom of=/u02/test/file count=1 bs=8192 conv=notrunc
1+0 records in
1+0 records out
8192 bytes (8.2 kB) copied, 0.068746 s, 119 kB/s
# acfsutil info file /u02/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 310378496 (was 30975586304)
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP1/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP2/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
If I modify 8k in the first extent of /u02/test/file, the whole extent of the base file is redirected
Redirecting the whole extent. This is why the write is slower. Not because of a double write
typical of Copy on Write
Evidence of Redirect on Write Snapshot
Oracle ACFS and Oracle Database: a Perfect Marriage?55 04.09.2015
# dd if=/dev/urandom of=/u02/test/file count=1 bs=8192 conv=notrunc seek=1
1+0 records in
1+0 records out
8192 bytes (8.2 kB) copied, 0.00299343 s, 2.7 MB/s
# acfsutil info file /u02/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 310378496
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP1/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP2/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
Modifying another 8k block on the same extent does not lead to relocation. Write is faster.
Evidence of Redirect on Write Snapshot
Oracle ACFS and Oracle Database: a Perfect Marriage?56 04.09.2015
# dd if=/dev/urandom of=/u02/.ACFS/snaps/SNAP2/test/file count=1 bs=8192 conv=notrunc seek=1
1+0 records in
1+0 records out
8192 bytes (8.2 kB) copied, 0.0348603 s, 235 kB/s
# acfsutil info file /u02/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 310378496
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP1/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 30975586304
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
# acfsutil info file /u02/.ACFS/snaps/SNAP2/test/file | grep |
--offset ----length | -dev --------offset
0 6524928 | 1 316903424 (was 30975586304)
6524928 5156864 | 1 30982111232
11681792 7925760 | 1 30987268096
The same would have appened mofiying snapshot 1.
Another try: modifying 8k in the first extent of second snapshot file leads to redirect for snapshot 2
Snapshot size and Write Latency Avg are correlated
Oracle ACFS and Oracle Database: a Perfect Marriage?57 04.09.2015
Snapshot Size
IO Latency
Snap size=
DB Size
Same
Latency w/o
Snapshot
Curves depend on the repartition of hot spots / cold spots into the extents
New Snapshots == New latency spikes
Snap
Create
Other considerations about performances
Oracle ACFS and Oracle Database: a Perfect Marriage?58 04.09.2015
ACFS is variable-extent based
– It may incur in fragmentation, especially with snapshots (due to extents redirects)
– I do not have elements for saying if it is a major problem or not
– [acfsdefrag0] system process exists, let me guess what it is for
– One extent may reside on different ASM Allocation Units (see acfsutil info file –d)
– Size allocated and size used may differ
## 1 MB file extent lean on two AUs on disks ASMDISK3 and ASMDISK6
----current offset | -cur vol offset -mir --extent --device name --------doffset --length -ASMdev
0 | 30397808640 0 3622 ORCL:ASMDISK3 5074698240 409600 5
409600 | 30398218240 0 3623 ORCL:ASMDISK6 5090836480 638976 1
--------------------------------------------------------------------------------------------------
Oracle ACFS and Oracle Database: a Perfect Marriage?59 04.09.2015
Database on ACFS:
snapshot usecases
Snapshots are useful for...
Oracle ACFS and Oracle Database: a Perfect Marriage?60 04.09.2015
Backup LOL, just kidding
Getting a consistent point before a modification
– Alternative to RESTORE POINTs?
Datafile copy for fast media recovery
Database cloning for Q&A, reporting, other
Multitenant: create pdb from pdb snapshot copy
Oracle ACFS and Oracle Database: a Perfect Marriage?61 04.09.2015
Snapshots for consistent copy
Snapshots for consistent copy
Oracle ACFS and Oracle Database: a Perfect Marriage?62 04.09.2015
On most snapshot technologies
– You take a snapshot
– You modify the data
– In case of problems, you revert (restore) the snapshot
With ACFS, there is still no way to revert a snapshot natively (no acfsutil command or other)
Nowadays, it does not make sense!
Snapshots for consistent copy
Oracle ACFS and Oracle Database: a Perfect Marriage?63 04.09.2015
Workaround 1: Manual datafile copy from the snapshot
– shutdown
– delete the content from the base FS
– move the files from the snapshot
– drop/recreate the snapshot (to free up used snapshot space)
– startup
Snapshots for consistent copy
Oracle ACFS and Oracle Database: a Perfect Marriage?64 04.09.2015
Workaround 2: Do some magic with RMAN and a temporary snapshot
– create a writable snapshot from snapshot
– shutdown
– delete the content from the base FS
– RMAN catalog start with... switch database to copy
– startup
– move back the datafiles with online move, then get the rid of the temporary snapshot
Snapshots for consistent copy
Oracle ACFS and Oracle Database: a Perfect Marriage?65 04.09.2015
Workaround 3: Use guaranteed restore points instead of snapshots.
– :-P
Oracle ACFS and Oracle Database: a Perfect Marriage?66 04.09.2015
File copy for fast media recovery
Datafile copy for fast media recovery
Oracle ACFS and Oracle Database: a Perfect Marriage?67 04.09.2015
Follow the same procedure explained before...
– new writable snapshot form snapshot
– offline datafile
– catalog file, switch datafile to copy
– recover datafile, online datafile
– move datafile to old location (thank you 12c!)
– delete temporary snapshot
Datafile copy for fast media recovery
Oracle ACFS and Oracle Database: a Perfect Marriage?68 04.09.2015
Having snapshots catalogued in RMAN as datafile copies allows also other kinds of
recovery
– E.g. block recovery
Oracle ACFS and Oracle Database: a Perfect Marriage?69 04.09.2015
Database cloning for Q&A,
reporting, other
ACFS for Database cloning
Oracle ACFS and Oracle Database: a Perfect Marriage?70 04.09.2015
Space efficient, fast-created copies
Source should not be performance-critical
ASM
Disk Group 1
ADVM Vol2
ACFS
/u02
.dbf
DB
.dbf.dbf
SNAP1
/u02/…/
SNAP2
/u02/…/
SNAP3
/u02/…/
SNAP4
/u02/…/
.dbf.dbf.dbf
.dbf.dbf.dbf
.dbf.dbf.dbf
.dbf.dbf.dbf
DB01 DB02 DB03 DB04
ACFS for Database cloning – better with DG
Oracle ACFS and Oracle Database: a Perfect Marriage?71 04.09.2015
Do not use with SYNC redo transport. If you need protection, setup a second standby.
ASM
Disk Group 1
ADVM Vol2
ACFS
/u02
.dbf
STDBY
.dbf.dbf
SNAP1
/u02/…/
SNAP2
/u02/…/
SNAP3
/u02/…/
SNAP4
/u02/…/
.dbf.dbf.dbf
.dbf.dbf.dbf
.dbf.dbf.dbf
.dbf.dbf.dbf
DB01 DB02 DB03 DB04
ASM
Disk Group 1
.dbf.dbf.dbf
DB
Best approach for cloning a standby on the same host
Oracle ACFS and Oracle Database: a Perfect Marriage?72 04.09.2015
DGMGRL> edit database ACFSDB set state="APPLY-OFF";
$ acfsutil snap create -w CLONE /u02
DGMGRL> edit database ACFSDB set state="APPLY-ON";
SOURCE SQL> Backup controlfile to trace as '...' reuse resetlogs;
SOURCE SQL> create pfile='...' from spfile;
... sed-modify controlfile and pfile
CLONE SQL> create spfile from pfile ='...';
CLONE SQL> create controlfile …
CLONE SQL> alter database open resetlogs;
CLONE SQL> alter tablespace TEMP add tempfile ...;
CLONE SQL> shutdown immediate;
CLONE SQL> startup mount exclusive;
# nid TARGET=SYS DBNAME=CLONE
$ srvctl add database –db CLONE –oh $ORACLE_HOME –spfile=/u02/.ACFS/snaps/CLONE/.../ ...
Advantages of DG + ACFS
Oracle ACFS and Oracle Database: a Perfect Marriage?73 04.09.2015
No need to recover datafiles, no fuzzy datafiles
– Stopping the redo apply on a standby database leaves the datafiles recovered to a
point in time
– Subsequent «alter database open resetlogs» just works
Decoupled disks, no impact on source database (primary)
DEMO?
gDBClone.pl
Oracle ACFS and Oracle Database: a Perfect Marriage?74 04.09.2015
gDBClone.pl
http://www.oracle.com/technetwork/indexes/samplecode/gdbclone-download-2295388.html
Not production ready
Give a look into the source code. It does not look as something written by a DBA…
– Shuts down the source (but requires it in archivelog mode)
– Get the lists of datafiles for CREATE CONTROLFILE by doing a ls -l of /…/datafiles/
Oracle ACFS and Oracle Database: a Perfect Marriage?75 04.09.2015
Create Pluggable Database
Snapshot Copy
Create Pluggable Database Snapshot Copy
Oracle ACFS and Oracle Database: a Perfect Marriage?76 04.09.2015
If you use Multitenant, you can thin copy a PDB from another one, inside the same CDB:
SQL> create pluggable database CLONE1 from SOURCE snapshot copy;
Pluggable database created.
Create Pluggable Database Snapshot Copy
Oracle ACFS and Oracle Database: a Perfect Marriage?77 04.09.2015
Internally:
– it creates the snapshot on ACFS
– It copies the definition of the PDB using the same datafiles
– It replaces the datafiles in file$ directly with symlinks pointing to the snapshot
Cloning inside multitenant means consolidating per business line, not per environment.
Ludovico Caldara
Senior Consultant
ludovico.caldara@trivadis.com
04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?78

More Related Content

What's hot

Autonomous を支える技術、Oracle Database 18c デモンストレーション
Autonomous を支える技術、Oracle Database 18c デモンストレーションAutonomous を支える技術、Oracle Database 18c デモンストレーション
Autonomous を支える技術、Oracle Database 18c デモンストレーション
オラクルエンジニア通信
 
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
Markus Michalewicz
 
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
Mohamed Farouk
 
Bind Peek をもっと使おうぜ!(柴田 歩) - JPOUG Advent Calendar 2014(Day 5) -
Bind Peek をもっと使おうぜ!(柴田 歩) - JPOUG Advent Calendar 2014(Day 5) -Bind Peek をもっと使おうぜ!(柴田 歩) - JPOUG Advent Calendar 2014(Day 5) -
Bind Peek をもっと使おうぜ!(柴田 歩) - JPOUG Advent Calendar 2014(Day 5) -
歩 柴田
 
One PDB to go, please!
One PDB to go, please!One PDB to go, please!
One PDB to go, please!
Christian Gohmann
 
[A31]AWS上でOracleを利用するためのはじめの一歩!by Masatoshi Yoshida
[A31]AWS上でOracleを利用するためのはじめの一歩!by Masatoshi Yoshida[A31]AWS上でOracleを利用するためのはじめの一歩!by Masatoshi Yoshida
[A31]AWS上でOracleを利用するためのはじめの一歩!by Masatoshi YoshidaInsight Technology, Inc.
 
Oracle 12cR2 Installation On Linux With ASM
Oracle 12cR2 Installation On Linux With ASMOracle 12cR2 Installation On Linux With ASM
Oracle 12cR2 Installation On Linux With ASM
Arun Sharma
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
SrirakshaSrinivasan2
 
Why Use an Oracle Database?
Why Use an Oracle Database?Why Use an Oracle Database?
Why Use an Oracle Database?
Markus Michalewicz
 
Oracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesOracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer Examples
Markus Michalewicz
 
Enable GoldenGate Monitoring with OEM 12c/JAgent
Enable GoldenGate Monitoring with OEM 12c/JAgentEnable GoldenGate Monitoring with OEM 12c/JAgent
Enable GoldenGate Monitoring with OEM 12c/JAgent
Bobby Curtis
 
Oracle Enterprise Manager
Oracle Enterprise ManagerOracle Enterprise Manager
Oracle Enterprise Manager
Bob Rhubart
 
Obia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platformObia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platform
Sheikh Zakirulla
 
Oracle Database Cloud Service
Oracle Database Cloud ServiceOracle Database Cloud Service
Oracle Database Cloud Service
Jean-Philippe PINTE
 
[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力
[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力
[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力
オラクルエンジニア通信
 
Oracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAsOracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAs
Gokhan Atil
 
Terraform
TerraformTerraform
Terraform
Phil Wilkins
 

What's hot (20)

Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Autonomous を支える技術、Oracle Database 18c デモンストレーション
Autonomous を支える技術、Oracle Database 18c デモンストレーションAutonomous を支える技術、Oracle Database 18c デモンストレーション
Autonomous を支える技術、Oracle Database 18c デモンストレーション
 
Convert single instance to RAC
Convert single instance to RACConvert single instance to RAC
Convert single instance to RAC
 
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
 
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
 
Bind Peek をもっと使おうぜ!(柴田 歩) - JPOUG Advent Calendar 2014(Day 5) -
Bind Peek をもっと使おうぜ!(柴田 歩) - JPOUG Advent Calendar 2014(Day 5) -Bind Peek をもっと使おうぜ!(柴田 歩) - JPOUG Advent Calendar 2014(Day 5) -
Bind Peek をもっと使おうぜ!(柴田 歩) - JPOUG Advent Calendar 2014(Day 5) -
 
One PDB to go, please!
One PDB to go, please!One PDB to go, please!
One PDB to go, please!
 
[A31]AWS上でOracleを利用するためのはじめの一歩!by Masatoshi Yoshida
[A31]AWS上でOracleを利用するためのはじめの一歩!by Masatoshi Yoshida[A31]AWS上でOracleを利用するためのはじめの一歩!by Masatoshi Yoshida
[A31]AWS上でOracleを利用するためのはじめの一歩!by Masatoshi Yoshida
 
Oracle 12cR2 Installation On Linux With ASM
Oracle 12cR2 Installation On Linux With ASMOracle 12cR2 Installation On Linux With ASM
Oracle 12cR2 Installation On Linux With ASM
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
 
Why Use an Oracle Database?
Why Use an Oracle Database?Why Use an Oracle Database?
Why Use an Oracle Database?
 
Oracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesOracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer Examples
 
Enable GoldenGate Monitoring with OEM 12c/JAgent
Enable GoldenGate Monitoring with OEM 12c/JAgentEnable GoldenGate Monitoring with OEM 12c/JAgent
Enable GoldenGate Monitoring with OEM 12c/JAgent
 
Oracle Enterprise Manager
Oracle Enterprise ManagerOracle Enterprise Manager
Oracle Enterprise Manager
 
Obia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platformObia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platform
 
Oracle Database Cloud Service
Oracle Database Cloud ServiceOracle Database Cloud Service
Oracle Database Cloud Service
 
[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力
[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力
[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力
 
Oracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAsOracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAs
 
Terraform
TerraformTerraform
Terraform
 
Terraform
TerraformTerraform
Terraform
 

Viewers also liked

Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!
Ludovico Caldara
 
Rapid Home Provisioning
Rapid Home ProvisioningRapid Home Provisioning
Rapid Home Provisioning
Ludovico Caldara
 
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Ludovico Caldara
 
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databasesRACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
Ludovico Caldara
 
Oracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical OverviewOracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical Overview
Ludovico Caldara
 
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
Ludovico Caldara
 
Oracle acfs in oracle 11
Oracle acfs in oracle 11Oracle acfs in oracle 11
Oracle acfs in oracle 11
Guenadi JILEVSKI
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Ludovico Caldara
 
Boost your Oracle RAC manageability with Policy-Managed Databases
Boost your Oracle RAC manageability with Policy-Managed DatabasesBoost your Oracle RAC manageability with Policy-Managed Databases
Boost your Oracle RAC manageability with Policy-Managed Databases
Ludovico Caldara
 
Oracle 12.2 sharded database management
Oracle 12.2 sharded database managementOracle 12.2 sharded database management
Oracle 12.2 sharded database management
Leyi (Kamus) Zhang
 
Evolve your toolchains dev/ops with OpenStack
Evolve your toolchains dev/ops with OpenStackEvolve your toolchains dev/ops with OpenStack
Evolve your toolchains dev/ops with OpenStackRyan Richard
 
Presentation implementing oracle asm successfully
Presentation    implementing oracle asm successfullyPresentation    implementing oracle asm successfully
Presentation implementing oracle asm successfully
xKinAnx
 
O Racle Asm Best Practices Presentation
O Racle Asm Best Practices PresentationO Racle Asm Best Practices Presentation
O Racle Asm Best Practices Presentationeraz
 
ASM
ASMASM
Oracle ASM 11g - The Evolution
Oracle ASM 11g - The EvolutionOracle ASM 11g - The Evolution
Oracle ASM 11g - The Evolution
Alex Gorbachev
 
Mark Farnam : Minimizing the Concurrency Footprint of Transactions
Mark Farnam  : Minimizing the Concurrency Footprint of TransactionsMark Farnam  : Minimizing the Concurrency Footprint of Transactions
Mark Farnam : Minimizing the Concurrency Footprint of Transactions
Kyle Hailey
 
Dan Norris: Exadata security
Dan Norris: Exadata securityDan Norris: Exadata security
Dan Norris: Exadata security
Kyle Hailey
 
OakTable World Sep14 clonedb
OakTable World Sep14 clonedb OakTable World Sep14 clonedb
OakTable World Sep14 clonedb
Connor McDonald
 
Indexes: Structure, Splits and Free Space Management Internals
Indexes: Structure, Splits and Free Space Management InternalsIndexes: Structure, Splits and Free Space Management Internals
Indexes: Structure, Splits and Free Space Management InternalsChristian Antognini
 
OakTable World 2015 - Using XMLType content with the Oracle In-Memory Column...
OakTable World 2015  - Using XMLType content with the Oracle In-Memory Column...OakTable World 2015  - Using XMLType content with the Oracle In-Memory Column...
OakTable World 2015 - Using XMLType content with the Oracle In-Memory Column...
Marco Gralike
 

Viewers also liked (20)

Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!
 
Rapid Home Provisioning
Rapid Home ProvisioningRapid Home Provisioning
Rapid Home Provisioning
 
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
 
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databasesRACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
 
Oracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical OverviewOracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical Overview
 
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
 
Oracle acfs in oracle 11
Oracle acfs in oracle 11Oracle acfs in oracle 11
Oracle acfs in oracle 11
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
 
Boost your Oracle RAC manageability with Policy-Managed Databases
Boost your Oracle RAC manageability with Policy-Managed DatabasesBoost your Oracle RAC manageability with Policy-Managed Databases
Boost your Oracle RAC manageability with Policy-Managed Databases
 
Oracle 12.2 sharded database management
Oracle 12.2 sharded database managementOracle 12.2 sharded database management
Oracle 12.2 sharded database management
 
Evolve your toolchains dev/ops with OpenStack
Evolve your toolchains dev/ops with OpenStackEvolve your toolchains dev/ops with OpenStack
Evolve your toolchains dev/ops with OpenStack
 
Presentation implementing oracle asm successfully
Presentation    implementing oracle asm successfullyPresentation    implementing oracle asm successfully
Presentation implementing oracle asm successfully
 
O Racle Asm Best Practices Presentation
O Racle Asm Best Practices PresentationO Racle Asm Best Practices Presentation
O Racle Asm Best Practices Presentation
 
ASM
ASMASM
ASM
 
Oracle ASM 11g - The Evolution
Oracle ASM 11g - The EvolutionOracle ASM 11g - The Evolution
Oracle ASM 11g - The Evolution
 
Mark Farnam : Minimizing the Concurrency Footprint of Transactions
Mark Farnam  : Minimizing the Concurrency Footprint of TransactionsMark Farnam  : Minimizing the Concurrency Footprint of Transactions
Mark Farnam : Minimizing the Concurrency Footprint of Transactions
 
Dan Norris: Exadata security
Dan Norris: Exadata securityDan Norris: Exadata security
Dan Norris: Exadata security
 
OakTable World Sep14 clonedb
OakTable World Sep14 clonedb OakTable World Sep14 clonedb
OakTable World Sep14 clonedb
 
Indexes: Structure, Splits and Free Space Management Internals
Indexes: Structure, Splits and Free Space Management InternalsIndexes: Structure, Splits and Free Space Management Internals
Indexes: Structure, Splits and Free Space Management Internals
 
OakTable World 2015 - Using XMLType content with the Oracle In-Memory Column...
OakTable World 2015  - Using XMLType content with the Oracle In-Memory Column...OakTable World 2015  - Using XMLType content with the Oracle In-Memory Column...
OakTable World 2015 - Using XMLType content with the Oracle In-Memory Column...
 

Similar to Oracle Database on ACFS: a perfect marriage?

Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Markus Michalewicz
 
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Osama Mustafa
 
How oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 finalHow oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 final
Ajith Narayanan
 
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Markus Michalewicz
 
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
Philippe Fierens
 
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...
Sandesh Rao
 
New Oracle Infrastructure2
New Oracle Infrastructure2New Oracle Infrastructure2
New Oracle Infrastructure2
markleeuw
 
Rac&asm
Rac&asmRac&asm
Rac&asm
Osama Mustafa
 
Unleash oracle 12c performance with cisco ucs
Unleash oracle 12c performance with cisco ucsUnleash oracle 12c performance with cisco ucs
Unleash oracle 12c performance with cisco ucs
solarisyougood
 
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
SAOUG - Connect 2014 - Flex Cluster and Flex ASMSAOUG - Connect 2014 - Flex Cluster and Flex ASM
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
Alex Zaballa
 
gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”
Ruggero Citton
 
Trivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias Zarick
Trivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias ZarickTrivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias Zarick
Trivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias Zarick
Trivadis
 
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 versionOracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Markus Michalewicz
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG version
Ludovico Caldara
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksCloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Scott Jenner
 
Oracle ASM Training
Oracle ASM TrainingOracle ASM Training
Oracle ASM Training
Vigilant Technologies
 
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
Markus Michalewicz
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1
Voeurng Sovann
 
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMAROracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
pasalapudi123
 
ZDLRA in Action
ZDLRA in ActionZDLRA in Action
ZDLRA in Action
Daniele Massimi
 

Similar to Oracle Database on ACFS: a perfect marriage? (20)

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]
 
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
 
How oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 finalHow oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 final
 
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
 
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
 
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...
 
New Oracle Infrastructure2
New Oracle Infrastructure2New Oracle Infrastructure2
New Oracle Infrastructure2
 
Rac&asm
Rac&asmRac&asm
Rac&asm
 
Unleash oracle 12c performance with cisco ucs
Unleash oracle 12c performance with cisco ucsUnleash oracle 12c performance with cisco ucs
Unleash oracle 12c performance with cisco ucs
 
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
SAOUG - Connect 2014 - Flex Cluster and Flex ASMSAOUG - Connect 2014 - Flex Cluster and Flex ASM
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
 
gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”
 
Trivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias Zarick
Trivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias ZarickTrivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias Zarick
Trivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias Zarick
 
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 versionOracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG version
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksCloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
 
Oracle ASM Training
Oracle ASM TrainingOracle ASM Training
Oracle ASM Training
 
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
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1
 
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMAROracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
 
ZDLRA in Action
ZDLRA in ActionZDLRA in Action
ZDLRA in Action
 

More from Ludovico Caldara

Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Ludovico Caldara
 
Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?
Ludovico Caldara
 
Oracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityOracle Drivers configuration for High Availability
Oracle Drivers configuration for High Availability
Ludovico Caldara
 
Long live to CMAN!
Long live to CMAN!Long live to CMAN!
Long live to CMAN!
Ludovico Caldara
 
Let your DBAs get some REST(api)
Let your DBAs get some REST(api)Let your DBAs get some REST(api)
Let your DBAs get some REST(api)
Ludovico Caldara
 
Effective Oracle Home Management - UKOUG_Tech18
Effective Oracle Home Management  - UKOUG_Tech18Effective Oracle Home Management  - UKOUG_Tech18
Effective Oracle Home Management - UKOUG_Tech18
Ludovico Caldara
 
Effective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model eraEffective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model era
Ludovico Caldara
 
Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?
Ludovico Caldara
 
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
Ludovico Caldara
 
Get the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionGet the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW version
Ludovico Caldara
 
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMBADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
Ludovico Caldara
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The Hood
Ludovico Caldara
 
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Ludovico Caldara
 
Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)
Ludovico Caldara
 
Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.
Ludovico Caldara
 
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Ludovico Caldara
 
Galera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HAGalera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HA
Ludovico Caldara
 

More from Ludovico Caldara (17)

Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
 
Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?
 
Oracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityOracle Drivers configuration for High Availability
Oracle Drivers configuration for High Availability
 
Long live to CMAN!
Long live to CMAN!Long live to CMAN!
Long live to CMAN!
 
Let your DBAs get some REST(api)
Let your DBAs get some REST(api)Let your DBAs get some REST(api)
Let your DBAs get some REST(api)
 
Effective Oracle Home Management - UKOUG_Tech18
Effective Oracle Home Management  - UKOUG_Tech18Effective Oracle Home Management  - UKOUG_Tech18
Effective Oracle Home Management - UKOUG_Tech18
 
Effective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model eraEffective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model era
 
Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?
 
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
 
Get the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionGet the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW version
 
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMBADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The Hood
 
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
 
Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)
 
Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.
 
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
 
Galera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HAGalera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HA
 

Recently uploaded

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 

Recently uploaded (20)

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 

Oracle Database on ACFS: a perfect marriage?

  • 1. BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH Oracle ACFS and Oracle Database: a Perfect Marriage? Ludovico Caldara Senior Consultant @ Trivadis Oracle ACE
  • 2. About Ludovico Caldara Oracle ACFS and Oracle Database: a Perfect Marriage?2 04.09.2015 ■ 16 Years DBA (Not Only Oracle) ▪ I do it everywhere (even Windows) ■ RAC ATTACK Ninja & co-writer ■ VP, SOUG & ITOUG Board member ■ OCP (11g, 12c, MySQL) & OCE ■ Italian living in Switzerland ■ http://www.ludovicocaldara.net ■ @ludodba ■ ludovicocaldara Opinions are my own
  • 3. Our company. Oracle ACFS and Oracle Database: a Perfect Marriage?3 04.09.2015 Trivadis is a market leader in IT consulting, system integration, solution engineering and the provision of IT services focusing on and technologies in Switzerland, Germany, Austria and Denmark. We offer our services in the following strategic business fields: Trivadis Services takes over the interactive operation of your IT systems. O P E R A T I O N
  • 4. COPENHAGEN MUNICH LAUSANNE BERN ZURICH BRUGG GENEVA HAMBURG DÜSSELDORF FRANKFURT STUTTGART FREIBURG BASLE VIENNA With over 600 specialists and IT experts in your region. Oracle ACFS and Oracle Database: a Perfect Marriage?4 04.09.2015 14 Trivadis branches and more than 600 employees 200 Service Level Agreements Over 4,000 training participants Research and development budget: CHF 5.0 / EUR 4 million Financially self-supporting and sustainably profitable Experience from more than 1,900 projects per year at over 800 customers
  • 5. Oracle ACFS and Oracle Database: a Perfect Marriage?5 04.09.2015 ASM, ADVM, ACFS?
  • 6. ASM, ADVM, ACFS? Oracle ACFS and Oracle Database: a Perfect Marriage?6 04.09.2015 ASM Disk Group 1 Disk Group 2 ADVM Vol2 ACFS /app .exe.dbf.txt DB03 Disk Group 3 .dbf .ctl .dbf .dbf .dbf .ctl .dbf .dbf DB04APP01 ADVM Vol4ADVM Vol3 Ext4 /abc .exe.dbf.txt APP02 APP02 RAW
  • 7. Cluster File System – ACFS (1) Needs Grid Infrastructure! ASM Cluster File System (ACFS) is a general purpose cluster filesystem implemented as part of ASM – Dynamic loadable OS drivers delivered by Oracle – Based on ASM Dynamic Volume Manager (ADVM) Supports both traditional UNIX-style file access control classes and file access control lists (ACLs) for Windows platforms Uses standard file related system calls – no need to use special tools Cannot be used for Grid Infrastructure home, voting files, OCR, ASM diag dest. 04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?7
  • 8. Cluster File System – ACFS (2) ASM Cluster File System (ACFS) leverages ASM – High performance (Variable extents-based allocation) – Data spread evenly across ASM disks – Same data protection ot the Disk Group (External / Normal / High redundancy) Supports Database Homes and Database diag dests Multi-node, shared filesystem 04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?8
  • 9. Cluster File System – ACFS (3) Main features: Snapshots, Encryption, Security, Replication, Auditing Up to 11.2.0.3, it was part of the Cloud File System option ($$) Starting with 11.2.0.4, ACFS and ADVM are no more an extra-cost option Starting with 12cR1, Oracle ACFS supports Oracle Datafiles if DB release >= 11.2.0.4 – https://docs.oracle.com/database/121/OSTMG/asmfilesystem.htm#OSTMG95961 Since ODA sw version 12.1.2, databases are created on ACFS 04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?9
  • 10. Oracle ACFS and Oracle Database: a Perfect Marriage?10 04.09.2015 Datafiles on ACFS
  • 11. ASM, ADVM, ACFS? Oracle ACFS and Oracle Database: a Perfect Marriage?11 04.09.2015 ASM Disk Group 1 Disk Group 2 ADVM Vol2 ACFS /app .exe.dbf.txt DB03 Disk Group 3 .dbf .ctl .dbf .dbf .dbf .ctl .dbf .dbf DB04APP01 ADVM Vol4ADVM Vol3 Ext4 /abc .exe.dbf.txt APP02 APP02 RAW
  • 12. ASM, ADVM, ACFS? Oracle ACFS and Oracle Database: a Perfect Marriage?12 04.09.2015 ASM Disk Group 1 Disk Group 2 ADVM Vol1 ADVM Vol2 ACFS /u02 ACFS /app .ctl.dbf.dbf .exe.dbf.txt DB01 DB03 Disk Group 3 .dbf .ctl .dbf .dbf .dbf .ctl .dbf .dbf DB04APP01 ADVM Vol4ADVM Vol3 Ext4 /abc .exe.dbf.txt APP02 APP02 RAW
  • 13. ASM, ADVM, ACFS? Oracle ACFS and Oracle Database: a Perfect Marriage?13 04.09.2015 ASM Disk Group 1 Disk Group 2 ADVM Vol1 ADVM Vol2 ACFS /u02 ACFS /app .ctl.dbf.dbf .exe.dbf.txt DB01 DB03 Disk Group 3 .dbf .ctl .dbf .dbf .dbf .ctl .dbf .dbf DB04APP01 ADVM Vol4ADVM Vol3 Ext4 /abc .exe.dbf.txt APP02 APP02 RAW NEW: 12c
  • 14. Requirements Oracle ACFS and Oracle Database: a Perfect Marriage?14 04.09.2015 No Oracle Restart, only Grid Infrastructure (even single-node, but cluster installation) advm.compatible and asm.compatible must be >= 12.1 Volume stripe columns must be set to 1 in 12.1.0.1. – From 12.1.0.2 onwards the default is ok (columns 8, width 1024kb) The DB must be running with filesystemio_options=setall If Grid Infrastructure 12.1.0.1, only Unix/Linux – Starting with 12.1.0.2, also Windows
  • 15. Implementation steps (1) Oracle ACFS and Oracle Database: a Perfect Marriage?15 04.09.2015 ## create the Disk Group with compatible 12.1 cat dg_acfs.xml <dg name="ACFS" redundancy="external"> <dsk string="ORCL:DISK5" /><dsk string="ORCL:DISK6" /><dsk string="ORCL:DISK7" /><dsk string="ORCL:DISK8" /> <a name="compatible.asm" value="12.1.0.0.0"/> <a name="compatible.rdbms" value="12.1.0.0.0"/> <a name="compatible.advm" value="12.1.0.0.0"/> </dg>
  • 16. Implementation steps (1) Oracle ACFS and Oracle Database: a Perfect Marriage?16 04.09.2015 ## create the Disk Group with compatible 12.1 cat dg_acfs.xml <dg name="ACFS" redundancy="external"> <dsk string="ORCL:DISK5" /><dsk string="ORCL:DISK6" /><dsk string="ORCL:DISK7" /><dsk string="ORCL:DISK8" /> <a name="compatible.asm" value="12.1.0.0.0"/> <a name="compatible.rdbms" value="12.1.0.0.0"/> <a name="compatible.advm" value="12.1.0.0.0"/> </dg> asmcmd mkdg dg_acfs.xml
  • 17. Implementation steps (1) Oracle ACFS and Oracle Database: a Perfect Marriage?17 04.09.2015 ## create the Disk Group with compatible 12.1 cat dg_acfs.xml <dg name="ACFS" redundancy="external"> <dsk string="ORCL:DISK5" /><dsk string="ORCL:DISK6" /><dsk string="ORCL:DISK7" /><dsk string="ORCL:DISK8" /> <a name="compatible.asm" value="12.1.0.0.0"/> <a name="compatible.rdbms" value="12.1.0.0.0"/> <a name="compatible.advm" value="12.1.0.0.0"/> </dg> asmcmd mkdg dg_acfs.xml ## create the Volume (stripe columns must be set to 1 in 12.1.0.1. From 12.1.0.2 onwards the default is ok) asmcmd volcreate -G acfs -s 19G volacfs --column 1
  • 18. Implementation steps (1) Oracle ACFS and Oracle Database: a Perfect Marriage?18 04.09.2015 ## create the Disk Group with compatible 12.1 cat dg_acfs.xml <dg name="ACFS" redundancy="external"> <dsk string="ORCL:DISK5" /><dsk string="ORCL:DISK6" /><dsk string="ORCL:DISK7" /><dsk string="ORCL:DISK8" /> <a name="compatible.asm" value="12.1.0.0.0"/> <a name="compatible.rdbms" value="12.1.0.0.0"/> <a name="compatible.advm" value="12.1.0.0.0"/> </dg> asmcmd mkdg dg_acfs.xml ## create the Volume (stripe columns must be set to 1 in 12.1.0.1. From 12.1.0.2 onwards the default is ok) asmcmd volcreate -G acfs -s 19G volacfs --column 1 asmcmd volinfo --all Diskgroup Name: ACFS Volume Name: VOLACFS Volume Device: /dev/asm/volacfs-167 State: ENABLED Size (MB): 19456 Resize Unit (MB): 8 Redundancy: UNPROT Stripe Columns: 1 ...
  • 19. Implementation steps (2) Oracle ACFS and Oracle Database: a Perfect Marriage?19 04.09.2015 grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167 mkfs.acfs: version = 12.1.0.2.0 mkfs.acfs: on-disk version = 39.0 mkfs.acfs: volume = /dev/asm/volacfs-167 mkfs.acfs: volume size = 20401094656 ( 19.00 GB ) mkfs.acfs: Format complete.
  • 20. Implementation steps (2) Oracle ACFS and Oracle Database: a Perfect Marriage?20 04.09.2015 grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167 mkfs.acfs: version = 12.1.0.2.0 mkfs.acfs: on-disk version = 39.0 mkfs.acfs: volume = /dev/asm/volacfs-167 mkfs.acfs: volume size = 20401094656 ( 19.00 GB ) mkfs.acfs: Format complete. grid@racvagn1:~/ $ sudo su - # srvctl add filesystem -d /dev/asm/volacfs-167 -m /u02 -u oracle -fstype ACFS -autostart ALWAYS
  • 21. Implementation steps (2) Oracle ACFS and Oracle Database: a Perfect Marriage?21 04.09.2015 grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167 mkfs.acfs: version = 12.1.0.2.0 mkfs.acfs: on-disk version = 39.0 mkfs.acfs: volume = /dev/asm/volacfs-167 mkfs.acfs: volume size = 20401094656 ( 19.00 GB ) mkfs.acfs: Format complete. grid@racvagn1:~/ $ sudo su - # srvctl add filesystem -d /dev/asm/volacfs-167 -m /u02 -u oracle -fstype ACFS -autostart ALWAYS # srvctl start filesystem -d /dev/asm/volacfs-167 # df -k /u02 Filesystem 1K-blocks Used Available Use% Mounted on /dev/asm/volacfs-167 19922944 117616 19805328 1% /u02
  • 22. Implementation steps (2) Oracle ACFS and Oracle Database: a Perfect Marriage?22 04.09.2015 grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167 mkfs.acfs: version = 12.1.0.2.0 mkfs.acfs: on-disk version = 39.0 mkfs.acfs: volume = /dev/asm/volacfs-167 mkfs.acfs: volume size = 20401094656 ( 19.00 GB ) mkfs.acfs: Format complete. grid@racvagn1:~/ $ sudo su - # srvctl add filesystem -d /dev/asm/volacfs-167 -m /u02 -u oracle -fstype ACFS -autostart ALWAYS # srvctl start filesystem -d /dev/asm/volacfs-167 # df -k /u02 Filesystem 1K-blocks Used Available Use% Mounted on /dev/asm/volacfs-167 19922944 117616 19805328 1% /u02 # chown oracle:oinstall /u02 # chmod 775 /u02 # su - oracle oracle@racvagn1:~/ [+ASM1] mkdir -p /u02/app/oracle/oradata
  • 23. Implementation steps (2) Oracle ACFS and Oracle Database: a Perfect Marriage?23 04.09.2015 grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167 mkfs.acfs: version = 12.1.0.2.0 mkfs.acfs: on-disk version = 39.0 mkfs.acfs: volume = /dev/asm/volacfs-167 mkfs.acfs: volume size = 20401094656 ( 19.00 GB ) mkfs.acfs: Format complete. grid@racvagn1:~/ $ sudo su - # srvctl add filesystem -d /dev/asm/volacfs-167 -m /u02 -u oracle -fstype ACFS -autostart ALWAYS # srvctl start filesystem -d /dev/asm/volacfs-167 # df -k /u02 Filesystem 1K-blocks Used Available Use% Mounted on /dev/asm/volacfs-167 19922944 117616 19805328 1% /u02 # chown oracle:oinstall /u02 # chmod 775 /u02 # su - oracle oracle@racvagn1:~/ [+ASM1] mkdir -p /u02/app/oracle/oradata oracle@racvagn1:~/ [+ASM1] crsctl stat res ora.acfs.volacfs.acfs -t Name Target State Server State details Local Resources ora.acfs.volacfs.acfs ONLINE ONLINE racvagn1 mounted on /u02,STABLE ONLINE ONLINE racvagn2 mounted on /u02,STABLE
  • 24. Implementation steps (2) Oracle ACFS and Oracle Database: a Perfect Marriage?24 04.09.2015 grid@racvagn1:~/ $ /sbin/mkfs -t acfs /dev/asm/volacfs-167 mkfs.acfs: version = 12.1.0.2.0 mkfs.acfs: on-disk version = 39.0 mkfs.acfs: volume = /dev/asm/volacfs-167 mkfs.acfs: volume size = 20401094656 ( 19.00 GB ) mkfs.acfs: Format complete. grid@racvagn1:~/ $ sudo su - # srvctl add filesystem -d /dev/asm/volacfs-167 -m /u02 -u oracle -fstype ACFS -autostart ALWAYS # srvctl start filesystem -d /dev/asm/volacfs-167 # df -k /u02 Filesystem 1K-blocks Used Available Use% Mounted on /dev/asm/volacfs-167 19922944 117616 19805328 1% /u02 # chown oracle:oinstall /u02 # chmod 775 /u02 # su - oracle oracle@racvagn1:~/ [+ASM1] mkdir -p /u02/app/oracle/oradata oracle@racvagn1:~/ [+ASM1] crsctl stat res ora.acfs.volacfs.acfs -t Name Target State Server State details Local Resources ora.acfs.volacfs.acfs ONLINE ONLINE racvagn1 mounted on /u02,STABLE ONLINE ONLINE racvagn2 mounted on /u02,STABLE ... Then create the database there... With filesystemio_options=setall!!
  • 25. Implementation steps (3) Oracle ACFS and Oracle Database: a Perfect Marriage?25 04.09.2015 ASM is the default, but the ACFS filesystem is discovered And proposed by default when Storage Type “File System” is selected DBCA
  • 26. Oracle ACFS and Oracle Database: a Perfect Marriage?26 04.09.2015 Performance
  • 27. SLOBing ASM vs ACFS Environment – ACFS filesystem, ASM DiskGroup – Same topology, one SSD disk, same environment – Same database and tablespace, datafile moved online from ASM to ACFS between runs SQL> alter database move datafile 2 to '/u02/ACFSDB/ACFSDB/datafile/slob01.dbf'; Database altered. OWNER TABLE_NAME NUM_ROWS BLOCKS ---------- ---------- ---------------- ---------------- USER2 CF1 97,464 100,493 USER1 CF1 100,000 100,883 04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?27
  • 28. SLOBing ASM vs ACFS 5 SLOB runs on ACFS, 5 SLOB runs on ASM – Instance caging (1CPU) – 20% update, no Hot Blocks – consider only 1-bk reads/second on SLOB TBSP – skip worst, average others 04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?28
  • 29. SLOBing ASM vs ACFS 5 SLOB runs on ACFS, 5 SLOB runs on ASM – Instance caging (1CPU) – 20% update, no Hot Blocks – consider only 1-bk reads/second on SLOB TBSP – skip worst, average others Best ACFS run worse than worst ASM run – Average loss: 3,8% 04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?29 0 500 1000 1500 2000 2500 3000 3500 4000 1 2 3 4 ASM vs ACFS ASM ACFS
  • 30. SLOBing ASM vs ACFS I did different tests (different update pcts, run durations, etc.), almost same results Not a big performance loss, but... not so good either! These are non-exhaustive tests, maybe ACFS has better (or worse!) performances under different loads. Anyway, due to additional layer, ACFS cannot be faster than flat ASM in any case 04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?30
  • 31. Oracle ACFS and Oracle Database: a Perfect Marriage?31 04.09.2015 Magic features (or options?)
  • 32. ACFS and Datafiles - Features For Database files: – ACFS Snapshots require Enterprise Edition 04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?32
  • 33. ACFS and Datafiles - Features For Database files: – ACFS Snapshots require Enterprise Edition – ACFS Encryption, ACFS Security, ACFS Replication, ACFS Auditing are not available. Oracle Database options should be used instead. Respectively: Oracle Advanced Security, Oracle Database Vault, Oracle Data Guard, Oracle Audit Vault) – https://docs.oracle.com/database/121/DBLIC/editions.htm#CIHDDJCJ 04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?33
  • 34. Oracle ACFS and Oracle Database: a Perfect Marriage?34 04.09.2015 So "Datafiles on ACFS" is about snapshots (remember, EE only)
  • 35. Oracle ACFS and Oracle Database: a Perfect Marriage?35 04.09.2015 0 500 1000 1500 2000 2500 3000 3500 4000 1 2 3 4 0 2 4 8 16 Write performance w/ snapshots (on base mountpoint) snapshots SLOB Run IOs/second
  • 36. Oracle ACFS and Oracle Database: a Perfect Marriage?36 04.09.2015 0 500 1000 1500 2000 2500 3000 3500 4000 1 2 3 4 0 2 4 8 16 Write performance w/ snapshots (on base mountpoint) snapshots SLOB Run IOs/second Big regression starting with the first snapshot. No further regressions when more inactive snapshots are created.
  • 37. Copy on Write? Oracle ACFS and Oracle Database: a Perfect Marriage?37 04.09.2015
  • 38. Copy on Write? Oracle ACFS and Oracle Database: a Perfect Marriage?38 04.09.2015 Somebody calls it Redirect on Write.
  • 39. Copy on Write? Oracle ACFS and Oracle Database: a Perfect Marriage?39 04.09.2015 Somebody calls it Redirect on Write. 0x1000000 0x2000000 0x3000000 0x1000000 0x2000000 0x3000000 inode /mp/file
  • 40. Copy on Write? Oracle ACFS and Oracle Database: a Perfect Marriage?40 04.09.2015 Somebody calls it Redirect on Write. 0x1000000 0x2000000 0x3000000 0x1000000 0x2000000 0x3000000 inode /mp/file Modify a block in first extent of /mp/file?
  • 41. Copy on Write? Oracle ACFS and Oracle Database: a Perfect Marriage?41 04.09.2015 Somebody calls it Redirect on Write. 0x1000000 0x2000000 0x3000000 0x1000000 0x2000000 0x3000000 inode /mp/file Modify a block in first extent of /mp/file? No snapshots point to the same extent: OK
  • 42. Copy on Write? Oracle ACFS and Oracle Database: a Perfect Marriage?42 04.09.2015 Somebody calls it Redirect on Write. 0x1000000 0x2000000 0x3000000 0x1000000 0x2000000 0x3000000 inode /mp/file Modify a block in first extent of /mp/file? No snapshots point to the same extent: OK
  • 43. Writes on base FS with snapshots Oracle ACFS and Oracle Database: a Perfect Marriage?43 04.09.2015 What if I have snapshots? 0x1000000 0x2000000 0x3000000 0x1000000 0x2000000 0x3000000 inode /mp/file 0x1000000 0x2000000 0x3000000 inode /mp/../sp1 /file 0x1000000 0x2000000 0x3000000 inode /mp/../sp2 /file
  • 44. Writes on base FS with snapshots Oracle ACFS and Oracle Database: a Perfect Marriage?44 04.09.2015 What if I have snapshots? 0x1000000 0x2000000 0x3000000 0x1000000 0x2000000 0x3000000 inode /mp/file 0x1000000 0x2000000 0x3000000 inode /mp/../sp1 /file 0x1000000 0x2000000 0x3000000 inode /mp/../sp2 /file Modify a block in first extent of /mp/file?
  • 45. Writes on base FS with snapshots Oracle ACFS and Oracle Database: a Perfect Marriage?45 04.09.2015 What if I have snapshots? 0x1000000 0x2000000 0x3000000 0x1000000 0x2000000 0x3000000 inode /mp/file Modify a block in first extent of /mp/file? Snapshots point to the same extent: Redirect 0x4000000 0x1000000 0x2000000 0x3000000 inode /mp/../sp1 /file 0x1000000 0x2000000 0x3000000 inode /mp/../sp2 /file 0x4000000
  • 46. Writes on base FS with snapshots Oracle ACFS and Oracle Database: a Perfect Marriage?46 04.09.2015 What if I have snapshots? 0x1000000 0x2000000 0x3000000 0x1000000 0x2000000 0x3000000 inode /mp/file Modify a block in first extent of /mp/file? Snapshots point to the same extent: Redirect 0x4000000 0x1000000 0x2000000 0x3000000 inode /mp/../sp1 /file 0x1000000 0x2000000 0x3000000 inode /mp/../sp2 /file 0x4000000 Next write on the same block: OK
  • 47. Writes on base FS with snapshots Oracle ACFS and Oracle Database: a Perfect Marriage?47 04.09.2015 What if I have snapshots? 0x1000000 0x2000000 0x3000000 0x1000000 0x2000000 0x3000000 inode /mp/file Modify a block in first extent of /mp/file? Snapshots point to the same extent: Redirect 0x4000000 0x1000000 0x2000000 0x3000000 inode /mp/../sp1 /file 0x1000000 0x2000000 0x3000000 inode /mp/../sp2 /file 0x4000000 Modify a block in first extent of snapshot 1? Next write on the same block: OK
  • 48. Writes on base FS with snapshots Oracle ACFS and Oracle Database: a Perfect Marriage?48 04.09.2015 What if I have snapshots? 0x1000000 0x2000000 0x3000000 0x1000000 0x2000000 0x3000000 inode /mp/file Modify a block in first extent of /mp/file? Snapshots point to the same extent: Redirect 0x4000000 0x1000000 0x2000000 0x3000000 inode /mp/../sp1 /file 0x1000000 0x2000000 0x3000000 inode /mp/../sp2 /file 0x4000000 0x5000000 0x5000000 Modify a block in first extent of snapshot 1? Next write on the same block: OK Snapshot 2 points to the same extent: Redirect
  • 49. Writes on base FS with snapshots Oracle ACFS and Oracle Database: a Perfect Marriage?49 04.09.2015 What if I have snapshots? 0x1000000 0x2000000 0x3000000 0x1000000 0x2000000 0x3000000 inode /mp/file Modify a block in first extent of /mp/file? Snapshots point to the same extent: Redirect 0x4000000 0x1000000 0x2000000 0x3000000 inode /mp/../sp1 /file 0x1000000 0x2000000 0x3000000 inode /mp/../sp2 /file 0x4000000 0x5000000 0x5000000 Modify a block in first extent of snapshot 1? Next write on the same block: OK Snapshot 2 points to the same extent: Redirect Next write on the same block: OK
  • 50. Writes on base FS with snapshots Oracle ACFS and Oracle Database: a Perfect Marriage?50 04.09.2015 What if I have snapshots? 0x1000000 0x2000000 0x3000000 0x1000000 0x2000000 0x3000000 inode /mp/file Modify a block in first extent of /mp/file? Snapshots point to the same extent: Redirect 0x4000000 0x1000000 0x2000000 0x3000000 inode /mp/../sp1 /file 0x1000000 0x2000000 0x3000000 inode /mp/../sp2 /file 0x4000000 0x5000000 0x5000000 Modify a block in first extent of snapshot 1? Next write on the same block: OK Snapshot 2 points to the same extent: Redirect Next write on the same block: OK Modify a block in first extent of snapshot 2 is also ok because no snaps point to the same extent
  • 51. Oracle ACFS and Oracle Database: a Perfect Marriage?51 04.09.2015 Evidence?
  • 52. Evidence of Redirect on Write Snapshot Oracle ACFS and Oracle Database: a Perfect Marriage?52 04.09.2015 # acfsutil snap create -w SNAP1 /u02 acfsutil snap create: Snapshot operation is complete. # acfsutil snap create -w -p SNAP1 SNAP2 /u02 acfsutil snap create: Snapshot operation is complete. Then, two nested snapshots: /u01 <- SNAP1 <- SNAP2 # dd if=/dev/urandom of=/u02/test/file count=16 bs=1048576 16+0 records in 16+0 records out 16777216 bytes (17 MB) copied, 2.83643 s, 5.9 MB/s First, let’s create a file 16MB big
  • 53. Evidence of Redirect on Write Snapshot Oracle ACFS and Oracle Database: a Perfect Marriage?53 04.09.2015 # acfsutil info file /u02/test/file | grep | --offset ----length | -dev --------offset 0 6524928 | 1 30975586304 6524928 5156864 | 1 30982111232 11681792 7925760 | 1 30987268096 # acfsutil info file /u02/.ACFS/snaps/SNAP1/test/file | grep | --offset ----length | -dev --------offset 0 6524928 | 1 30975586304 6524928 5156864 | 1 30982111232 11681792 7925760 | 1 30987268096 # acfsutil info file /u02/.ACFS/snaps/SNAP2/test/file | grep | --offset ----length | -dev --------offset 0 6524928 | 1 30975586304 6524928 5156864 | 1 30982111232 11681792 7925760 | 1 30987268096 All three files (base and snapshots) use the same extents
  • 54. Evidence of Redirect on Write Snapshot Oracle ACFS and Oracle Database: a Perfect Marriage?54 04.09.2015 # dd if=/dev/urandom of=/u02/test/file count=1 bs=8192 conv=notrunc 1+0 records in 1+0 records out 8192 bytes (8.2 kB) copied, 0.068746 s, 119 kB/s # acfsutil info file /u02/test/file | grep | --offset ----length | -dev --------offset 0 6524928 | 1 310378496 (was 30975586304) 6524928 5156864 | 1 30982111232 11681792 7925760 | 1 30987268096 # acfsutil info file /u02/.ACFS/snaps/SNAP1/test/file | grep | --offset ----length | -dev --------offset 0 6524928 | 1 30975586304 6524928 5156864 | 1 30982111232 11681792 7925760 | 1 30987268096 # acfsutil info file /u02/.ACFS/snaps/SNAP2/test/file | grep | --offset ----length | -dev --------offset 0 6524928 | 1 30975586304 6524928 5156864 | 1 30982111232 11681792 7925760 | 1 30987268096 If I modify 8k in the first extent of /u02/test/file, the whole extent of the base file is redirected Redirecting the whole extent. This is why the write is slower. Not because of a double write typical of Copy on Write
  • 55. Evidence of Redirect on Write Snapshot Oracle ACFS and Oracle Database: a Perfect Marriage?55 04.09.2015 # dd if=/dev/urandom of=/u02/test/file count=1 bs=8192 conv=notrunc seek=1 1+0 records in 1+0 records out 8192 bytes (8.2 kB) copied, 0.00299343 s, 2.7 MB/s # acfsutil info file /u02/test/file | grep | --offset ----length | -dev --------offset 0 6524928 | 1 310378496 6524928 5156864 | 1 30982111232 11681792 7925760 | 1 30987268096 # acfsutil info file /u02/.ACFS/snaps/SNAP1/test/file | grep | --offset ----length | -dev --------offset 0 6524928 | 1 30975586304 6524928 5156864 | 1 30982111232 11681792 7925760 | 1 30987268096 # acfsutil info file /u02/.ACFS/snaps/SNAP2/test/file | grep | --offset ----length | -dev --------offset 0 6524928 | 1 30975586304 6524928 5156864 | 1 30982111232 11681792 7925760 | 1 30987268096 Modifying another 8k block on the same extent does not lead to relocation. Write is faster.
  • 56. Evidence of Redirect on Write Snapshot Oracle ACFS and Oracle Database: a Perfect Marriage?56 04.09.2015 # dd if=/dev/urandom of=/u02/.ACFS/snaps/SNAP2/test/file count=1 bs=8192 conv=notrunc seek=1 1+0 records in 1+0 records out 8192 bytes (8.2 kB) copied, 0.0348603 s, 235 kB/s # acfsutil info file /u02/test/file | grep | --offset ----length | -dev --------offset 0 6524928 | 1 310378496 6524928 5156864 | 1 30982111232 11681792 7925760 | 1 30987268096 # acfsutil info file /u02/.ACFS/snaps/SNAP1/test/file | grep | --offset ----length | -dev --------offset 0 6524928 | 1 30975586304 6524928 5156864 | 1 30982111232 11681792 7925760 | 1 30987268096 # acfsutil info file /u02/.ACFS/snaps/SNAP2/test/file | grep | --offset ----length | -dev --------offset 0 6524928 | 1 316903424 (was 30975586304) 6524928 5156864 | 1 30982111232 11681792 7925760 | 1 30987268096 The same would have appened mofiying snapshot 1. Another try: modifying 8k in the first extent of second snapshot file leads to redirect for snapshot 2
  • 57. Snapshot size and Write Latency Avg are correlated Oracle ACFS and Oracle Database: a Perfect Marriage?57 04.09.2015 Snapshot Size IO Latency Snap size= DB Size Same Latency w/o Snapshot Curves depend on the repartition of hot spots / cold spots into the extents New Snapshots == New latency spikes Snap Create
  • 58. Other considerations about performances Oracle ACFS and Oracle Database: a Perfect Marriage?58 04.09.2015 ACFS is variable-extent based – It may incur in fragmentation, especially with snapshots (due to extents redirects) – I do not have elements for saying if it is a major problem or not – [acfsdefrag0] system process exists, let me guess what it is for – One extent may reside on different ASM Allocation Units (see acfsutil info file –d) – Size allocated and size used may differ ## 1 MB file extent lean on two AUs on disks ASMDISK3 and ASMDISK6 ----current offset | -cur vol offset -mir --extent --device name --------doffset --length -ASMdev 0 | 30397808640 0 3622 ORCL:ASMDISK3 5074698240 409600 5 409600 | 30398218240 0 3623 ORCL:ASMDISK6 5090836480 638976 1 --------------------------------------------------------------------------------------------------
  • 59. Oracle ACFS and Oracle Database: a Perfect Marriage?59 04.09.2015 Database on ACFS: snapshot usecases
  • 60. Snapshots are useful for... Oracle ACFS and Oracle Database: a Perfect Marriage?60 04.09.2015 Backup LOL, just kidding Getting a consistent point before a modification – Alternative to RESTORE POINTs? Datafile copy for fast media recovery Database cloning for Q&A, reporting, other Multitenant: create pdb from pdb snapshot copy
  • 61. Oracle ACFS and Oracle Database: a Perfect Marriage?61 04.09.2015 Snapshots for consistent copy
  • 62. Snapshots for consistent copy Oracle ACFS and Oracle Database: a Perfect Marriage?62 04.09.2015 On most snapshot technologies – You take a snapshot – You modify the data – In case of problems, you revert (restore) the snapshot With ACFS, there is still no way to revert a snapshot natively (no acfsutil command or other) Nowadays, it does not make sense!
  • 63. Snapshots for consistent copy Oracle ACFS and Oracle Database: a Perfect Marriage?63 04.09.2015 Workaround 1: Manual datafile copy from the snapshot – shutdown – delete the content from the base FS – move the files from the snapshot – drop/recreate the snapshot (to free up used snapshot space) – startup
  • 64. Snapshots for consistent copy Oracle ACFS and Oracle Database: a Perfect Marriage?64 04.09.2015 Workaround 2: Do some magic with RMAN and a temporary snapshot – create a writable snapshot from snapshot – shutdown – delete the content from the base FS – RMAN catalog start with... switch database to copy – startup – move back the datafiles with online move, then get the rid of the temporary snapshot
  • 65. Snapshots for consistent copy Oracle ACFS and Oracle Database: a Perfect Marriage?65 04.09.2015 Workaround 3: Use guaranteed restore points instead of snapshots. – :-P
  • 66. Oracle ACFS and Oracle Database: a Perfect Marriage?66 04.09.2015 File copy for fast media recovery
  • 67. Datafile copy for fast media recovery Oracle ACFS and Oracle Database: a Perfect Marriage?67 04.09.2015 Follow the same procedure explained before... – new writable snapshot form snapshot – offline datafile – catalog file, switch datafile to copy – recover datafile, online datafile – move datafile to old location (thank you 12c!) – delete temporary snapshot
  • 68. Datafile copy for fast media recovery Oracle ACFS and Oracle Database: a Perfect Marriage?68 04.09.2015 Having snapshots catalogued in RMAN as datafile copies allows also other kinds of recovery – E.g. block recovery
  • 69. Oracle ACFS and Oracle Database: a Perfect Marriage?69 04.09.2015 Database cloning for Q&A, reporting, other
  • 70. ACFS for Database cloning Oracle ACFS and Oracle Database: a Perfect Marriage?70 04.09.2015 Space efficient, fast-created copies Source should not be performance-critical ASM Disk Group 1 ADVM Vol2 ACFS /u02 .dbf DB .dbf.dbf SNAP1 /u02/…/ SNAP2 /u02/…/ SNAP3 /u02/…/ SNAP4 /u02/…/ .dbf.dbf.dbf .dbf.dbf.dbf .dbf.dbf.dbf .dbf.dbf.dbf DB01 DB02 DB03 DB04
  • 71. ACFS for Database cloning – better with DG Oracle ACFS and Oracle Database: a Perfect Marriage?71 04.09.2015 Do not use with SYNC redo transport. If you need protection, setup a second standby. ASM Disk Group 1 ADVM Vol2 ACFS /u02 .dbf STDBY .dbf.dbf SNAP1 /u02/…/ SNAP2 /u02/…/ SNAP3 /u02/…/ SNAP4 /u02/…/ .dbf.dbf.dbf .dbf.dbf.dbf .dbf.dbf.dbf .dbf.dbf.dbf DB01 DB02 DB03 DB04 ASM Disk Group 1 .dbf.dbf.dbf DB
  • 72. Best approach for cloning a standby on the same host Oracle ACFS and Oracle Database: a Perfect Marriage?72 04.09.2015 DGMGRL> edit database ACFSDB set state="APPLY-OFF"; $ acfsutil snap create -w CLONE /u02 DGMGRL> edit database ACFSDB set state="APPLY-ON"; SOURCE SQL> Backup controlfile to trace as '...' reuse resetlogs; SOURCE SQL> create pfile='...' from spfile; ... sed-modify controlfile and pfile CLONE SQL> create spfile from pfile ='...'; CLONE SQL> create controlfile … CLONE SQL> alter database open resetlogs; CLONE SQL> alter tablespace TEMP add tempfile ...; CLONE SQL> shutdown immediate; CLONE SQL> startup mount exclusive; # nid TARGET=SYS DBNAME=CLONE $ srvctl add database –db CLONE –oh $ORACLE_HOME –spfile=/u02/.ACFS/snaps/CLONE/.../ ...
  • 73. Advantages of DG + ACFS Oracle ACFS and Oracle Database: a Perfect Marriage?73 04.09.2015 No need to recover datafiles, no fuzzy datafiles – Stopping the redo apply on a standby database leaves the datafiles recovered to a point in time – Subsequent «alter database open resetlogs» just works Decoupled disks, no impact on source database (primary) DEMO?
  • 74. gDBClone.pl Oracle ACFS and Oracle Database: a Perfect Marriage?74 04.09.2015 gDBClone.pl http://www.oracle.com/technetwork/indexes/samplecode/gdbclone-download-2295388.html Not production ready Give a look into the source code. It does not look as something written by a DBA… – Shuts down the source (but requires it in archivelog mode) – Get the lists of datafiles for CREATE CONTROLFILE by doing a ls -l of /…/datafiles/
  • 75. Oracle ACFS and Oracle Database: a Perfect Marriage?75 04.09.2015 Create Pluggable Database Snapshot Copy
  • 76. Create Pluggable Database Snapshot Copy Oracle ACFS and Oracle Database: a Perfect Marriage?76 04.09.2015 If you use Multitenant, you can thin copy a PDB from another one, inside the same CDB: SQL> create pluggable database CLONE1 from SOURCE snapshot copy; Pluggable database created.
  • 77. Create Pluggable Database Snapshot Copy Oracle ACFS and Oracle Database: a Perfect Marriage?77 04.09.2015 Internally: – it creates the snapshot on ACFS – It copies the definition of the PDB using the same datafiles – It replaces the datafiles in file$ directly with symlinks pointing to the snapshot Cloning inside multitenant means consolidating per business line, not per environment.
  • 78. Ludovico Caldara Senior Consultant ludovico.caldara@trivadis.com 04.09.2015 Oracle ACFS and Oracle Database: a Perfect Marriage?78