SlideShare a Scribd company logo
Comparison of
ACFS and DBFS
Value Transformation Services
Daniel Hillinger
Database Administrator
Daniel Hillinger
Value Transformation Services
1
Index Exadata Backup Clone
Solaris Performance Tuning Patching TAF
DBA Grid Infrastructur ONS Database Vault
Redhat NFS Partitioning ClusterwareClient Linux
ZFS RACFAN Security Dataguard ACFS
Disaster Recovery ASM Replication
High Availability Restore DBFS
Agenda
• Architectural Overview
• Presentation to the Client
• Presentation to the Server/DB
• High Availability and Disaster Recovery
• Extended Architecture
• Setup / Installation
• Tests
• Use cases
• Perspective 12c
Value Transformation Services
2
Architectural Overview - ACFS
Value Transformation Services
3
Client
Server
NFS
ASM
DB
ADVM
ACFS
NFS Server
Storage/
Disks
Architectural Overview - DBFS
Value Transformation Services
4
ClientServer
SQL Net
ASM
DB
Storage/
Disks
Oracle
Client
DBFS
FUSE
Presentation to the Client - ACFS
• Standard NFS mount
$ mount
<IP>:/acfs on /acfs type nfs
(rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,nfsvers
=3,timeo=600,addr=<IP>)
$ df –hTt nfs
<IP>:/acfs nfs 170G 16G 154G 10% /acfs
Value Transformation Services
5
Presentation to the Client - DBFS
• DBFS is based on FUSE (Filesystem in USErspace)
• Oracle Client required
$ mount
dbfs-@DBFS_DBFS:/ on /dbfs type fuse
(rw,nosuid,nodev,max_read=1048576,default_permissions,allow_othe
r)
$ df -hTt fuse
dbfs-@DBFS_DBFS:/ fuse 4.5G 313M 4.2G 7% /dbfs
Restrictions:
ioctl, locking, asynchronous I/O, O_DIRECT file opens,
hard links, pipes, and other special file modes
Value Transformation Services
6
Oracle Client
Value Transformation Services
7
FUSE
Filesystem in UserSpace
• Usable by non privileged users
• Availible on Linux and Solaris 11
Value Transformation Services
8
userspace
kernel
ls /my_file
glibc
VFS
FUSE
NFS, EXT3, …
glibc
libfuse
my_script
Presentation to the Server - ACFS
ASM Dynamic Volume Manager (ADVM)
provides a block device in /dev/asm
Mounted as standard Linux filesystem
$ df –hTt acfs
Filesystem Type Size Used Avail Use% Mounted on
/dev/asm/lv_acfs-46 acfs 170G 16G 154G 10% /acfs
$ lsmod
oracleacfs 2001119 3
oracleadvm 250040 7
oracleoks 427736 2 oracleacfs,oracleadvm
Value Transformation Services
9
Presentation to the DB - ACFS
Can be accessed with
• External Tables
• UTL_FILE
• Datapump
• …
Value Transformation Services
10
Presentation to the Server / DB - DBFS
Server:
Not visible for the server
But could be configured as client
DB:
Access via SQL
SELECT UTL_RAW.cast_to_varchar2(filedata) AS filedata
FROM dbfs_content
WHERE path = '/dbfs/test1';
Value Transformation Services
11
High Availability and Disaster Recovery
High Availability(HA):
automated solution in order to conceal the failure of a
component
Disaster Recovery(DR):
steps to restore a minimum operation after a major
failure, usually manually
Value Transformation Services
12
High Availability and Desaster Recovery
ACFS DBFS
High Availability
without interruption None RAC
with interruption Failover NFS Server Failover DB
Desaster Recovery
without dataloss None Dataguard
with dataloss ACFS Replication/Rsync Rsync
Backup Filesystem RMAN/Filesystem
Value Transformation Services
13
Extended Architecture - ACFS
Value Transformation Services
14
Client
Server1
NFS
ASM
DB
Storage/Disks Storage/Disks
ACFS
Rep.
ADVM
ACFS
Server2
ASM
DB
ADVM
ACFS
Server3
ASM
DB
ADVM
ACFS
NFSNFS
Extended Architecture - DBFS
Value Transformation Services
15
Client
Server1
SQL Net
ASM
DB_1
Storage/Disks
Oracle
Client
DBFS
Server2
ASM
DB_2
DBFS
Storage/Disks
Server3
ASM
DB_3
DBFS
DG
Setup / Installation - ACFS
Supported on Linux, Solaris, AIX and Windows
Requires ASM
Diskgroup can be shared
Value Transformation Services
16
Disk4Disk3Disk2Disk1
Diskgroup
Logical Volume
ACFS2
LV
ACFS1
Setup / Installation - DBFS
Dedicated Tablespace
Dedicated user with create session, table, view,
procedure privileges and granted dbfs_role
Filesystem creation with script:
$ORACLE_HOME/rdbms/admin/dbfs_create_filesystem.sql
Files are stored as LOBs in a table called as the
filesystem name
Value Transformation Services
17
Setup / Installation - DBFS
SQL> desc mydbfs
Name Null? Type
--------------------- -------- -----------------
...
PATHNAME NOT NULL VARCHAR2(1024)
FILEDATA BLOB
POSIX_MODE NUMBER(38)
POSIX_UID NUMBER(38)
POSIX_GID NUMBER(38)
...
Value Transformation Services
18
HA Tests - ACFS
1. Shutdown server hosting NFS server
NFS server switched to another node
2. Kill NFS server
NFS server was restarted
3. Umount ACFS
Umount hanging – not possible
The FS was always available for the client!
Value Transformation Services
19
HA Tests - DBFS
1. Shutdown one server
session failover to other instance
2. Kill one instance
session failover to other instance
3. Kill listener
sessions are established only during the mount
4. Client: Kill dbfs_client process
FS is umounted and all open IOs are lost
The FS was always available for the client!
Value Transformation Services
20
Remote Filesystems
Value Transformation Services
21
touch test
Kernel
driver
Disk
NFS Protocol
TCP,IP,Ethernet
Local
Remote
TCP,IP,Ethernet
NFS
Kernel
touch test
Kernel
driver
Disk
Local
Performance Tests
Value Transformation Services
22
local 10 B local 100 B local 1 M remote 10 B remote 100 B remote 1 M
Local 3600 34300 1400000 0 0 0
ACFS 1500 14600 1800000 902 8200 104000
DBFS 0 0 0 159 1300 113000
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
Use cases
ACFS DBFS
Database related Files
DB Files(redo,datafiles,...) Not supported Not supported
Exports(datapump) + -
DB logs + Not supported
Shared, DB and Application
external tables,etc + +
Application Files
Large + +
Small + -
Value Transformation Services
23
Perspective12c - ACFS
High Availible NFS (HANFS)
Supports all database files
Supported on Exadata
unlimited expansions
Value Transformation Services
24
Perspective12c - DBFS
New ways to access DBFS:
• http/https
• ftp
• WebDAV
Based on Enterprise Manager Database Express
Value Transformation Services
25
SecureFiles
SecureFile is an storage option for LOBs and was
introduced in 11g
LOBs can be stored as BasicFile or SecureFile
Advantages of SecureFiles:
• Compression
• Deduplication
• Encryption
Value Transformation Services
26
SecureFiles
$ sqlplus @dbfs_create_filesystem_advanced
tablespace_name file_systemname
[compress-high|compress-medium|compress-low|nocompress]
[deduplicate | nodeduplicate]
[encrypt | noencrypt]
[partition | non-partition]
Value Transformation Services
27
SecureFiles
The Parameter DB_SECUREFILE specifies whether
LOBs stored as BasicFiles or SecureFiles.
Value Transformation Services
28
Extended Architecture Support - DBFS
Value Transformation Services
29
Client
Server
NFS
ASM
DB DBFS
NFS Server
Storage/
Disks
NO SUPPORT
dbfs_client as CLI
All DBFS paths must be absolute and preceded by
“dbfs:”.
All commands are ls, cp, rm, mkdir.
$ dbfs_client db_user@db_server --command command
[switches] [arguments]
$ dbfs_client db_user@db_server --command ls dbfs:/mydbfs
Value Transformation Services
30
References
Dbfs doku 12c
https://docs.oracle.com/database/121/ADLOB/adlob_client.htm#ADLOB46011
Dbfs doku 11g
http://docs.oracle.com/cd/E11882_01/appdev.112/e18294/adlob_client.htm
Acsf doku 12c
DBFS
https://oracle-base.com/articles/11g/dbfs-apis-11gr2
Value Transformation Services
31

More Related Content

What's hot

Deep review of LMS process
Deep review of LMS processDeep review of LMS process
Deep review of LMS process
Riyaj Shamsudeen
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
Satishbabu Gunukula
 
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 Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesOracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Markus Michalewicz
 
One PDB to go, please!
One PDB to go, please!One PDB to go, please!
One PDB to go, please!
Christian Gohmann
 
A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN
Riyaj Shamsudeen
 
Oracle sql high performance tuning
Oracle sql high performance tuningOracle sql high performance tuning
Oracle sql high performance tuning
Guy Harrison
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
Mohamed Farouk
 
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder
 
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
 
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
Sandesh Rao
 
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsHow to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
Sandesh Rao
 
Em13c New Features- Two of Two
Em13c New Features- Two of TwoEm13c New Features- Two of Two
Em13c New Features- Two of Two
Kellyn Pot'Vin-Gorman
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
Markus Michalewicz
 
Oracle GoldenGate導入Tips
Oracle GoldenGate導入TipsOracle GoldenGate導入Tips
Oracle GoldenGate導入Tips
オラクルエンジニア通信
 
SQL Plan Directives explained
SQL Plan Directives explainedSQL Plan Directives explained
SQL Plan Directives explained
Mauro Pagano
 
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
オラクルエンジニア通信
 
Oracle ACFS High Availability NFS Services (HANFS)
Oracle ACFS High Availability NFS Services (HANFS)Oracle ACFS High Availability NFS Services (HANFS)
Oracle ACFS High Availability NFS Services (HANFS)
Anju Garg
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best Practices
Bobby Curtis
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
Anil Nair
 

What's hot (20)

Deep review of LMS process
Deep review of LMS processDeep review of LMS process
Deep review of LMS process
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
 
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 Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesOracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
 
One PDB to go, please!
One PDB to go, please!One PDB to go, please!
One PDB to go, please!
 
A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN
 
Oracle sql high performance tuning
Oracle sql high performance tuningOracle sql high performance tuning
Oracle sql high performance tuning
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
 
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata Migrations
 
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
 
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
 
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsHow to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
 
Em13c New Features- Two of Two
Em13c New Features- Two of TwoEm13c New Features- Two of Two
Em13c New Features- Two of Two
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
 
Oracle GoldenGate導入Tips
Oracle GoldenGate導入TipsOracle GoldenGate導入Tips
Oracle GoldenGate導入Tips
 
SQL Plan Directives explained
SQL Plan Directives explainedSQL Plan Directives explained
SQL Plan Directives explained
 
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
 
Oracle ACFS High Availability NFS Services (HANFS)
Oracle ACFS High Availability NFS Services (HANFS)Oracle ACFS High Availability NFS Services (HANFS)
Oracle ACFS High Availability NFS Services (HANFS)
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best Practices
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
 

Similar to Comparison of ACFS and DBFS

BIND DNS IPWorks Introduction To Advanced
BIND DNS IPWorks Introduction To AdvancedBIND DNS IPWorks Introduction To Advanced
BIND DNS IPWorks Introduction To Advanced
Mustafa Golam
 
Moving to ws2003
Moving to ws2003Moving to ws2003
Moving to ws2003
Sumit Tambe
 
Distributed Virtual Transaction Directory Server
Distributed Virtual Transaction Directory ServerDistributed Virtual Transaction Directory Server
Distributed Virtual Transaction Directory Server
LDAPCon
 
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
 
Travel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech infoTravel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech info
Rakuten Group, Inc.
 
Oracle HA, DR, data warehouse loading, and license reduction through edge app...
Oracle HA, DR, data warehouse loading, and license reduction through edge app...Oracle HA, DR, data warehouse loading, and license reduction through edge app...
Oracle HA, DR, data warehouse loading, and license reduction through edge app...
Continuent
 
SQL Server Reporting Services Disaster Recovery webinar
SQL Server Reporting Services Disaster Recovery webinarSQL Server Reporting Services Disaster Recovery webinar
SQL Server Reporting Services Disaster Recovery webinar
Denny Lee
 
Joint NetApp and Cisco Solutions for SAP: FlexPod and HANA
Joint NetApp and Cisco Solutions for SAP: FlexPod and HANAJoint NetApp and Cisco Solutions for SAP: FlexPod and HANA
Joint NetApp and Cisco Solutions for SAP: FlexPod and HANA
NetApp
 
Experience sql server on l inux and docker
Experience sql server on l inux and dockerExperience sql server on l inux and docker
Experience sql server on l inux and docker
Bob Ward
 
Citrix XenDesktop and XenApp 7.5 Architecture Deployment
Citrix XenDesktop and XenApp 7.5 Architecture DeploymentCitrix XenDesktop and XenApp 7.5 Architecture Deployment
Citrix XenDesktop and XenApp 7.5 Architecture Deployment
Huy Pham
 
Tsm7.1 seminar Stavanger
Tsm7.1 seminar StavangerTsm7.1 seminar Stavanger
Tsm7.1 seminar Stavanger
Solv AS
 
AWS CLOUD 2018- Amazon DynamoDB기반 글로벌 서비스 개발 방법 (김준형 솔루션즈 아키텍트)
AWS CLOUD 2018- Amazon DynamoDB기반 글로벌 서비스 개발 방법 (김준형 솔루션즈 아키텍트)AWS CLOUD 2018- Amazon DynamoDB기반 글로벌 서비스 개발 방법 (김준형 솔루션즈 아키텍트)
AWS CLOUD 2018- Amazon DynamoDB기반 글로벌 서비스 개발 방법 (김준형 솔루션즈 아키텍트)
Amazon Web Services Korea
 
Rama kumar nadipalli
Rama kumar nadipalliRama kumar nadipalli
Rama kumar nadipalli
Rama Kumar
 
Discovery Day 2019 Sofia - Big data clusters
Discovery Day 2019 Sofia - Big data clustersDiscovery Day 2019 Sofia - Big data clusters
Discovery Day 2019 Sofia - Big data clusters
Ivan Donev
 
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
 
Getting Started with Managed Database Services on AWS
Getting Started with Managed Database Services on AWSGetting Started with Managed Database Services on AWS
Getting Started with Managed Database Services on AWS
Amazon Web Services
 
A10 Itil Oasys Webex 090309
A10 Itil Oasys  Webex 090309A10 Itil Oasys  Webex 090309
A10 Itil Oasys Webex 090309
Open Access Systems Corporation
 
VMworld 2013: Architecting VMware Horizon Workspace for Scale and Performance
VMworld 2013: Architecting VMware Horizon Workspace for Scale and PerformanceVMworld 2013: Architecting VMware Horizon Workspace for Scale and Performance
VMworld 2013: Architecting VMware Horizon Workspace for Scale and Performance
VMworld
 
New VMware Continuent 5.0 - A powerful and cost-efficient Oracle GoldenGate a...
New VMware Continuent 5.0 - A powerful and cost-efficient Oracle GoldenGate a...New VMware Continuent 5.0 - A powerful and cost-efficient Oracle GoldenGate a...
New VMware Continuent 5.0 - A powerful and cost-efficient Oracle GoldenGate a...
Continuent
 
Samba as a gateway to OpenAFS
Samba as a gateway to OpenAFSSamba as a gateway to OpenAFS
Samba as a gateway to OpenAFS
Manfred Furuholmen
 

Similar to Comparison of ACFS and DBFS (20)

BIND DNS IPWorks Introduction To Advanced
BIND DNS IPWorks Introduction To AdvancedBIND DNS IPWorks Introduction To Advanced
BIND DNS IPWorks Introduction To Advanced
 
Moving to ws2003
Moving to ws2003Moving to ws2003
Moving to ws2003
 
Distributed Virtual Transaction Directory Server
Distributed Virtual Transaction Directory ServerDistributed Virtual Transaction Directory Server
Distributed Virtual Transaction Directory Server
 
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
 
Travel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech infoTravel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech info
 
Oracle HA, DR, data warehouse loading, and license reduction through edge app...
Oracle HA, DR, data warehouse loading, and license reduction through edge app...Oracle HA, DR, data warehouse loading, and license reduction through edge app...
Oracle HA, DR, data warehouse loading, and license reduction through edge app...
 
SQL Server Reporting Services Disaster Recovery webinar
SQL Server Reporting Services Disaster Recovery webinarSQL Server Reporting Services Disaster Recovery webinar
SQL Server Reporting Services Disaster Recovery webinar
 
Joint NetApp and Cisco Solutions for SAP: FlexPod and HANA
Joint NetApp and Cisco Solutions for SAP: FlexPod and HANAJoint NetApp and Cisco Solutions for SAP: FlexPod and HANA
Joint NetApp and Cisco Solutions for SAP: FlexPod and HANA
 
Experience sql server on l inux and docker
Experience sql server on l inux and dockerExperience sql server on l inux and docker
Experience sql server on l inux and docker
 
Citrix XenDesktop and XenApp 7.5 Architecture Deployment
Citrix XenDesktop and XenApp 7.5 Architecture DeploymentCitrix XenDesktop and XenApp 7.5 Architecture Deployment
Citrix XenDesktop and XenApp 7.5 Architecture Deployment
 
Tsm7.1 seminar Stavanger
Tsm7.1 seminar StavangerTsm7.1 seminar Stavanger
Tsm7.1 seminar Stavanger
 
AWS CLOUD 2018- Amazon DynamoDB기반 글로벌 서비스 개발 방법 (김준형 솔루션즈 아키텍트)
AWS CLOUD 2018- Amazon DynamoDB기반 글로벌 서비스 개발 방법 (김준형 솔루션즈 아키텍트)AWS CLOUD 2018- Amazon DynamoDB기반 글로벌 서비스 개발 방법 (김준형 솔루션즈 아키텍트)
AWS CLOUD 2018- Amazon DynamoDB기반 글로벌 서비스 개발 방법 (김준형 솔루션즈 아키텍트)
 
Rama kumar nadipalli
Rama kumar nadipalliRama kumar nadipalli
Rama kumar nadipalli
 
Discovery Day 2019 Sofia - Big data clusters
Discovery Day 2019 Sofia - Big data clustersDiscovery Day 2019 Sofia - Big data clusters
Discovery Day 2019 Sofia - Big data clusters
 
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
 
Getting Started with Managed Database Services on AWS
Getting Started with Managed Database Services on AWSGetting Started with Managed Database Services on AWS
Getting Started with Managed Database Services on AWS
 
A10 Itil Oasys Webex 090309
A10 Itil Oasys  Webex 090309A10 Itil Oasys  Webex 090309
A10 Itil Oasys Webex 090309
 
VMworld 2013: Architecting VMware Horizon Workspace for Scale and Performance
VMworld 2013: Architecting VMware Horizon Workspace for Scale and PerformanceVMworld 2013: Architecting VMware Horizon Workspace for Scale and Performance
VMworld 2013: Architecting VMware Horizon Workspace for Scale and Performance
 
New VMware Continuent 5.0 - A powerful and cost-efficient Oracle GoldenGate a...
New VMware Continuent 5.0 - A powerful and cost-efficient Oracle GoldenGate a...New VMware Continuent 5.0 - A powerful and cost-efficient Oracle GoldenGate a...
New VMware Continuent 5.0 - A powerful and cost-efficient Oracle GoldenGate a...
 
Samba as a gateway to OpenAFS
Samba as a gateway to OpenAFSSamba as a gateway to OpenAFS
Samba as a gateway to OpenAFS
 

Recently uploaded

Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)
Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)
Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)
Muhammad Ali
 
Salesforce AI & Einstein Copilot Workshop
Salesforce AI & Einstein Copilot WorkshopSalesforce AI & Einstein Copilot Workshop
Salesforce AI & Einstein Copilot Workshop
CEPTES Software Inc
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
SynapseIndia
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
huseindihon
 
“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...
“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...
“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...
Edge AI and Vision Alliance
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
Yevgen Sysoyev
 
Using LLM Agents with Llama 3, LangGraph and Milvus
Using LLM Agents with Llama 3, LangGraph and MilvusUsing LLM Agents with Llama 3, LangGraph and Milvus
Using LLM Agents with Llama 3, LangGraph and Milvus
Zilliz
 
July Patch Tuesday
July Patch TuesdayJuly Patch Tuesday
July Patch Tuesday
Ivanti
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Mydbops
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
ArgaBisma
 
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
maigasapphire
 
Choose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presenceChoose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presence
rajancomputerfbd
 
WPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide DeckWPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide Deck
Lidia A.
 
High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...
High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...
High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...
aslasdfmkhan4750
 
How to build a generative AI solution A step-by-step guide (2).pdf
How to build a generative AI solution A step-by-step guide (2).pdfHow to build a generative AI solution A step-by-step guide (2).pdf
How to build a generative AI solution A step-by-step guide (2).pdf
ChristopherTHyatt
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
HackersList
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
Kief Morris
 
(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...
(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...
(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...
Priyanka Aash
 
CHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSE
CHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSECHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSE
CHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSE
kumarjarun2010
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Bert Blevins
 

Recently uploaded (20)

Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)
Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)
Litestack talk at Brighton 2024 (Unleashing the power of SQLite for Ruby apps)
 
Salesforce AI & Einstein Copilot Workshop
Salesforce AI & Einstein Copilot WorkshopSalesforce AI & Einstein Copilot Workshop
Salesforce AI & Einstein Copilot Workshop
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
 
“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...
“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...
“Deploying Large Language Models on a Raspberry Pi,” a Presentation from Usef...
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
 
Using LLM Agents with Llama 3, LangGraph and Milvus
Using LLM Agents with Llama 3, LangGraph and MilvusUsing LLM Agents with Llama 3, LangGraph and Milvus
Using LLM Agents with Llama 3, LangGraph and Milvus
 
July Patch Tuesday
July Patch TuesdayJuly Patch Tuesday
July Patch Tuesday
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
 
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
 
Choose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presenceChoose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presence
 
WPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide DeckWPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide Deck
 
High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...
High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...
High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...
 
How to build a generative AI solution A step-by-step guide (2).pdf
How to build a generative AI solution A step-by-step guide (2).pdfHow to build a generative AI solution A step-by-step guide (2).pdf
How to build a generative AI solution A step-by-step guide (2).pdf
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
 
(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...
(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...
(CISOPlatform Summit & SACON 2024) Keynote _ Power Digital Identities With AI...
 
CHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSE
CHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSECHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSE
CHAPTER-8 COMPONENTS OF COMPUTER SYSTEM CLASS 9 CBSE
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
 

Comparison of ACFS and DBFS

  • 1. Comparison of ACFS and DBFS Value Transformation Services Daniel Hillinger Database Administrator
  • 2. Daniel Hillinger Value Transformation Services 1 Index Exadata Backup Clone Solaris Performance Tuning Patching TAF DBA Grid Infrastructur ONS Database Vault Redhat NFS Partitioning ClusterwareClient Linux ZFS RACFAN Security Dataguard ACFS Disaster Recovery ASM Replication High Availability Restore DBFS
  • 3. Agenda • Architectural Overview • Presentation to the Client • Presentation to the Server/DB • High Availability and Disaster Recovery • Extended Architecture • Setup / Installation • Tests • Use cases • Perspective 12c Value Transformation Services 2
  • 4. Architectural Overview - ACFS Value Transformation Services 3 Client Server NFS ASM DB ADVM ACFS NFS Server Storage/ Disks
  • 5. Architectural Overview - DBFS Value Transformation Services 4 ClientServer SQL Net ASM DB Storage/ Disks Oracle Client DBFS FUSE
  • 6. Presentation to the Client - ACFS • Standard NFS mount $ mount <IP>:/acfs on /acfs type nfs (rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,nfsvers =3,timeo=600,addr=<IP>) $ df –hTt nfs <IP>:/acfs nfs 170G 16G 154G 10% /acfs Value Transformation Services 5
  • 7. Presentation to the Client - DBFS • DBFS is based on FUSE (Filesystem in USErspace) • Oracle Client required $ mount dbfs-@DBFS_DBFS:/ on /dbfs type fuse (rw,nosuid,nodev,max_read=1048576,default_permissions,allow_othe r) $ df -hTt fuse dbfs-@DBFS_DBFS:/ fuse 4.5G 313M 4.2G 7% /dbfs Restrictions: ioctl, locking, asynchronous I/O, O_DIRECT file opens, hard links, pipes, and other special file modes Value Transformation Services 6
  • 9. FUSE Filesystem in UserSpace • Usable by non privileged users • Availible on Linux and Solaris 11 Value Transformation Services 8 userspace kernel ls /my_file glibc VFS FUSE NFS, EXT3, … glibc libfuse my_script
  • 10. Presentation to the Server - ACFS ASM Dynamic Volume Manager (ADVM) provides a block device in /dev/asm Mounted as standard Linux filesystem $ df –hTt acfs Filesystem Type Size Used Avail Use% Mounted on /dev/asm/lv_acfs-46 acfs 170G 16G 154G 10% /acfs $ lsmod oracleacfs 2001119 3 oracleadvm 250040 7 oracleoks 427736 2 oracleacfs,oracleadvm Value Transformation Services 9
  • 11. Presentation to the DB - ACFS Can be accessed with • External Tables • UTL_FILE • Datapump • … Value Transformation Services 10
  • 12. Presentation to the Server / DB - DBFS Server: Not visible for the server But could be configured as client DB: Access via SQL SELECT UTL_RAW.cast_to_varchar2(filedata) AS filedata FROM dbfs_content WHERE path = '/dbfs/test1'; Value Transformation Services 11
  • 13. High Availability and Disaster Recovery High Availability(HA): automated solution in order to conceal the failure of a component Disaster Recovery(DR): steps to restore a minimum operation after a major failure, usually manually Value Transformation Services 12
  • 14. High Availability and Desaster Recovery ACFS DBFS High Availability without interruption None RAC with interruption Failover NFS Server Failover DB Desaster Recovery without dataloss None Dataguard with dataloss ACFS Replication/Rsync Rsync Backup Filesystem RMAN/Filesystem Value Transformation Services 13
  • 15. Extended Architecture - ACFS Value Transformation Services 14 Client Server1 NFS ASM DB Storage/Disks Storage/Disks ACFS Rep. ADVM ACFS Server2 ASM DB ADVM ACFS Server3 ASM DB ADVM ACFS NFSNFS
  • 16. Extended Architecture - DBFS Value Transformation Services 15 Client Server1 SQL Net ASM DB_1 Storage/Disks Oracle Client DBFS Server2 ASM DB_2 DBFS Storage/Disks Server3 ASM DB_3 DBFS DG
  • 17. Setup / Installation - ACFS Supported on Linux, Solaris, AIX and Windows Requires ASM Diskgroup can be shared Value Transformation Services 16 Disk4Disk3Disk2Disk1 Diskgroup Logical Volume ACFS2 LV ACFS1
  • 18. Setup / Installation - DBFS Dedicated Tablespace Dedicated user with create session, table, view, procedure privileges and granted dbfs_role Filesystem creation with script: $ORACLE_HOME/rdbms/admin/dbfs_create_filesystem.sql Files are stored as LOBs in a table called as the filesystem name Value Transformation Services 17
  • 19. Setup / Installation - DBFS SQL> desc mydbfs Name Null? Type --------------------- -------- ----------------- ... PATHNAME NOT NULL VARCHAR2(1024) FILEDATA BLOB POSIX_MODE NUMBER(38) POSIX_UID NUMBER(38) POSIX_GID NUMBER(38) ... Value Transformation Services 18
  • 20. HA Tests - ACFS 1. Shutdown server hosting NFS server NFS server switched to another node 2. Kill NFS server NFS server was restarted 3. Umount ACFS Umount hanging – not possible The FS was always available for the client! Value Transformation Services 19
  • 21. HA Tests - DBFS 1. Shutdown one server session failover to other instance 2. Kill one instance session failover to other instance 3. Kill listener sessions are established only during the mount 4. Client: Kill dbfs_client process FS is umounted and all open IOs are lost The FS was always available for the client! Value Transformation Services 20
  • 22. Remote Filesystems Value Transformation Services 21 touch test Kernel driver Disk NFS Protocol TCP,IP,Ethernet Local Remote TCP,IP,Ethernet NFS Kernel touch test Kernel driver Disk Local
  • 23. Performance Tests Value Transformation Services 22 local 10 B local 100 B local 1 M remote 10 B remote 100 B remote 1 M Local 3600 34300 1400000 0 0 0 ACFS 1500 14600 1800000 902 8200 104000 DBFS 0 0 0 159 1300 113000 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
  • 24. Use cases ACFS DBFS Database related Files DB Files(redo,datafiles,...) Not supported Not supported Exports(datapump) + - DB logs + Not supported Shared, DB and Application external tables,etc + + Application Files Large + + Small + - Value Transformation Services 23
  • 25. Perspective12c - ACFS High Availible NFS (HANFS) Supports all database files Supported on Exadata unlimited expansions Value Transformation Services 24
  • 26. Perspective12c - DBFS New ways to access DBFS: • http/https • ftp • WebDAV Based on Enterprise Manager Database Express Value Transformation Services 25
  • 27. SecureFiles SecureFile is an storage option for LOBs and was introduced in 11g LOBs can be stored as BasicFile or SecureFile Advantages of SecureFiles: • Compression • Deduplication • Encryption Value Transformation Services 26
  • 28. SecureFiles $ sqlplus @dbfs_create_filesystem_advanced tablespace_name file_systemname [compress-high|compress-medium|compress-low|nocompress] [deduplicate | nodeduplicate] [encrypt | noencrypt] [partition | non-partition] Value Transformation Services 27
  • 29. SecureFiles The Parameter DB_SECUREFILE specifies whether LOBs stored as BasicFiles or SecureFiles. Value Transformation Services 28
  • 30. Extended Architecture Support - DBFS Value Transformation Services 29 Client Server NFS ASM DB DBFS NFS Server Storage/ Disks NO SUPPORT
  • 31. dbfs_client as CLI All DBFS paths must be absolute and preceded by “dbfs:”. All commands are ls, cp, rm, mkdir. $ dbfs_client db_user@db_server --command command [switches] [arguments] $ dbfs_client db_user@db_server --command ls dbfs:/mydbfs Value Transformation Services 30
  • 32. References Dbfs doku 12c https://docs.oracle.com/database/121/ADLOB/adlob_client.htm#ADLOB46011 Dbfs doku 11g http://docs.oracle.com/cd/E11882_01/appdev.112/e18294/adlob_client.htm Acsf doku 12c DBFS https://oracle-base.com/articles/11g/dbfs-apis-11gr2 Value Transformation Services 31