SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Downloaden Sie, um offline zu lesen
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 2
Backup to ZFS Storage Appliance Best Practices
for Exadata Database Machine
Emre Baransel
Principal Advanced Support Engineer
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Using ESBU
Oracle Engineered Systems Backup Utility for Oracle ZFS Storage Appliance
Which tasks are performed?
1. Oracle ZFS Storage Appliance configuration  storage administrator
A project including NFS shares is configured in a user-selected storage pool.
2. Engineered System nodes configuration  system administrator
The client NFS and Oracle Direct NFS (dNFS) are configured in this step.
3. RMAN run block script generation  database administrator
RMAN scripts are generated in this step.
3
http://www.oracle.com/technetwork/server-storage/sun-unified-storage/downloads/zfssa-plugins-1489830.html
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Enable dNFS & configure oranfstab file
• What is dNFS?
• How to enable/disable dNFS?
• How to configure oranfstab file?
• How to understand if dNFS is enabled?
• How to understand if dNFS is being used?
• How to monitor dNFS performance?
• What about fstab options?
• What about filesystemio_options?
4
Instead of using the operating system
kernel NFS client, you can configure
Oracle Database to access NFS V3
servers directly using an
Oracle Internal Direct NFS client,
which is faster.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Enable dNFS & configure oranfstab file
• What is dNFS?
• How to enable/disable dNFS?
• How to configure oranfstab file?
• How to understand if dNFS is enabled?
• How to understand if dNFS is being used?
• How to monitor dNFS performance?
• What about fstab options?
• What about filesystemio_options?
5
$ cd $ORACLE_HOME/rdbms/lib
$ make -f ins_rdbms.mk dnfs_on
$ make -f ins_rdbms.mk dnfs_off
! Requires database restart
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• What is dNFS?
• How to enable/disable dNFS?
• How to configure oranfstab file?
• How to understand if dNFS is enabled?
• How to understand if dNFS is being used?
• How to monitor dNFS performance?
• What about fstab options?
• What about filesystemio_options?
server: zfsserver1  NFS server Host name (Alias)
path: 10.177.52.158  First path to NFS server, NFS server NIC
local: 10.177.52.151  First client-side NIC
path: 10.177.52.159  Second path to NFS server, NFS server NIC
local: 10.177.52.151  Second client-side NIC (For load balance purpose)
export: /oraclenfs mount: /zfsbackup
| |mount point on a database server
|mount point on the NFS server
Enable dNFS & configure oranfstab file
6
DNFS searches for mount entries in the following order:
1. $ORACLE_HOME/dbs/oranfstab
2. /etc/oranfstab
3. /etc/mtab
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• What is dNFS?
• How to enable/disable dNFS?
• How to configure oranfstab file?
• How to understand if dNFS is enabled?
• How to understand if dNFS is being used?
• How to monitor dNFS performance?
• What about fstab options?
• What about filesystemio_options?
Reported in the alert.log:
...
Oracle instance running with ODM: Oracle Direct NFS ODM Library Version 3.0
...
Direct NFS: channel id [0] path [celntap3-bc] to filer [celntap3-bc] via local [] is UP
Direct NFS: channel id [1] path [celntap3-bc] to filer [celntap3-bc] via local [] is UP
Enable dNFS & configure oranfstab file
7
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Enable dNFS & configure oranfstab file
• What is dNFS?
• How to enable/disable dNFS?
• How to configure oranfstab file?
• How to understand if dNFS is enabled?
• How to understand if dNFS is being used?
• How to monitor dNFS performance?
• What about fstab options?
• What about filesystemio_options?
8
- v$dnfs_servers
- v$dnfs_files
- v$dnfs_channels
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Enable dNFS & configure oranfstab file
• What is dNFS?
• How to enable/disable dNFS?
• How to configure oranfstab file?
• How to understand if dNFS is enabled?
• How to understand if dNFS is being used?
• How to monitor dNFS performance?
• What about fstab options?
• What about filesystemio_options?
9
- v$dnfs_stats
NFS_READ: Read operations
NFS_WRITE: Write operations
- Performance Monitoring script here:
Direct NFS monitoring and v$views (Doc ID 1495739.1)
- OS utilities sar,nmon.. can be used
to monitor network traffic
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Enable dNFS & configure oranfstab file
• What is dNFS?
• How to enable/disable dNFS?
• How to configure oranfstab file?
• How to understand if dNFS is enabled?
• How to understand if dNFS is being used?
• How to monitor dNFS performance?
• What about fstab options?
• What about filesystemio_options?
10
DNFS does not utilize NFS mount options.
However setting the proper mount options is
recommended to be in compliance with database
requirements and to improve performance if DNFS is
not operational and the system defaults to NFS.
Oracle ZFS Storage: FAQ: Exadata RMAN Backup with The Oracle ZFS
Storage Appliance (Doc ID 1354980.1)
Sun ZFS Storage Appliance: Oracle Database 11g R2 NFS Mount
Point Recommendations (Doc ID 1567137.1)
Mount Options for Oracle files when used with NFS on NAS devices
(Doc ID 359515.1)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Enable dNFS & configure oranfstab file
• What is dNFS?
• How to enable/disable dNFS?
• How to configure oranfstab file?
• How to understand if dNFS is enabled?
• How to understand if dNFS is being used?
• How to monitor dNFS performance?
• What about fstab options?
• What about filesystemio_options?
11
Direct NFS does not depend on the value of
filesystemio_options.
Direct NFS always issues async and direct I/O as it
does not depend on OS support. However, since we
can always fall back to the OS NFS client in case of
mis-configuration, as a precaution, set
filesystemio_options to 'directio' or 'setall' if the OS
supports it.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Increase MTU size
• To avoid backup performance regression, the MTU size should be set to 65520.
• Backup/restore performance and stability will be higher on the higher MTU settings.
• The MTU size reduction should be utilized if page allocation failure events have been
experienced
12
Exadata version Recommended Permitted
< 11.2.3.3.0 or >= 12.1.2.1.0 65520 7000,15000,31000,64000
>= 11.2.3.3.0 and < 12.1.2.1.0 7000 15000,31000,64000,65520
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Configure Projects To Use a Write Bias of “Throughput”
Synchronous writes are optimized for
throughput. Data is written to the
primary data disks instead of the log
device(s), and the writes are
performed in a way that optimizes for
total bandwidth of the system.
13
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Increase "Database record size"
• 2013.1.1 or later code levels are
required to use large 1MB record sizes.
• If the ZFS Storage Appliance is running
earlier code, 128K record size is the
largest available option.
14
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Backup Compression
• Attempting to compress data that doesn’t typically yield good compression
results lengthens the backup window significantly, consumes unnecessary
CPU resources, and results in very little space savings.
15
Backup Type Duration Compression Ratio
nocompress 3 min. -
ZFS LZJB compression 2 min. 58% compression
ZFS GZIP compression 16 min. 75% compression
RMAN compression 16 min. 75% compression
A recent tablespace backup test
results of Exa-ZFS configuration.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Keep some free space
• The recommendation from Oracle Exadata MAA and Sun ZFS Storage
Appliance development team is to keep 20% free space on
each disk pool created, allowing the copy and write operations to
run optimally. If the free space is allowed to reduce past the 20%
recommendation, then write operations to the Sun ZFS Storage Appliance
might be impacted because the appliance will be forced to spend more
time looking for free space.
16
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
ZFS-Exadata Configuration References
• Oracle ZFS Storage: FAQ: Exadata RMAN Backup with The Oracle ZFS Storage Appliance
(Doc ID 1354980.1)
• Backup and Recovery Performance and Best Practices using Oracle Sun ZFS Storage Appliance and Oracle
Exadata Database Machine
http://www.oracle.com/technetwork/database/features/availability/maa-wp-dbm-zfs-backup-1593252.pdf
• "Oracle Engineered Systems Backup Utility for Oracle ZFS Storage Appliance" tool
http://www.oracle.com/technetwork/server-storage/sun-unified-storage/downloads/zfssa-plugins-1489830.html
17
Backup to ZFS Storage Appliance Best Practices for Exadata Database Machine

Weitere ähnliche Inhalte

Andere mochten auch

Deploying JRuby Web Applications
Deploying JRuby Web ApplicationsDeploying JRuby Web Applications
Deploying JRuby Web ApplicationsJoe Kutner
 
3 storage innovations for improving performance, efficiency, and manageability
3 storage innovations for improving performance, efficiency, and manageability3 storage innovations for improving performance, efficiency, and manageability
3 storage innovations for improving performance, efficiency, and manageabilityDr. Wilfred Lin (Ph.D.)
 
BI Forum 2012 - Analýza nestrukturovaných dat pomocí Oracle Endeca Informatio...
BI Forum 2012 - Analýza nestrukturovaných dat pomocí Oracle Endeca Informatio...BI Forum 2012 - Analýza nestrukturovaných dat pomocí Oracle Endeca Informatio...
BI Forum 2012 - Analýza nestrukturovaných dat pomocí Oracle Endeca Informatio...OKsystem
 
Oracle Solaris Day 2013 - Oracle DB and OS Solaris
Oracle Solaris Day 2013 - Oracle DB and OS SolarisOracle Solaris Day 2013 - Oracle DB and OS Solaris
Oracle Solaris Day 2013 - Oracle DB and OS SolarisMartin Cerveny
 
Oracle it runs zfs storage appliance
Oracle it runs zfs storage applianceOracle it runs zfs storage appliance
Oracle it runs zfs storage appliancesolarisyougood
 
B7 api management_enabling_digital_transformation
B7 api management_enabling_digital_transformationB7 api management_enabling_digital_transformation
B7 api management_enabling_digital_transformationDr. Wilfred Lin (Ph.D.)
 
C7 engineered data_protection_for_oracle_databases
C7 engineered data_protection_for_oracle_databasesC7 engineered data_protection_for_oracle_databases
C7 engineered data_protection_for_oracle_databasesDr. Wilfred Lin (Ph.D.)
 
C6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloud
C6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloudC6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloud
C6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloudDr. Wilfred Lin (Ph.D.)
 
B6 improve operational_efficiency_through_process_and_document_collaboration
B6 improve operational_efficiency_through_process_and_document_collaborationB6 improve operational_efficiency_through_process_and_document_collaboration
B6 improve operational_efficiency_through_process_and_document_collaborationDr. Wilfred Lin (Ph.D.)
 
B3 getting started_with_cloud_native_development
B3 getting started_with_cloud_native_developmentB3 getting started_with_cloud_native_development
B3 getting started_with_cloud_native_developmentDr. Wilfred Lin (Ph.D.)
 
A5 cloud security_now_a_reason_to_move_to_the_cloud
A5 cloud security_now_a_reason_to_move_to_the_cloudA5 cloud security_now_a_reason_to_move_to_the_cloud
A5 cloud security_now_a_reason_to_move_to_the_cloudDr. Wilfred Lin (Ph.D.)
 
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla1512 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla15Frank Munz
 
K1 keynote 1_oracle_integrated_cloud_strategy_and_vision_for_journey_to_cloud...
K1 keynote 1_oracle_integrated_cloud_strategy_and_vision_for_journey_to_cloud...K1 keynote 1_oracle_integrated_cloud_strategy_and_vision_for_journey_to_cloud...
K1 keynote 1_oracle_integrated_cloud_strategy_and_vision_for_journey_to_cloud...Dr. Wilfred Lin (Ph.D.)
 

Andere mochten auch (16)

Deploying JRuby Web Applications
Deploying JRuby Web ApplicationsDeploying JRuby Web Applications
Deploying JRuby Web Applications
 
3 storage innovations for improving performance, efficiency, and manageability
3 storage innovations for improving performance, efficiency, and manageability3 storage innovations for improving performance, efficiency, and manageability
3 storage innovations for improving performance, efficiency, and manageability
 
BI Forum 2012 - Analýza nestrukturovaných dat pomocí Oracle Endeca Informatio...
BI Forum 2012 - Analýza nestrukturovaných dat pomocí Oracle Endeca Informatio...BI Forum 2012 - Analýza nestrukturovaných dat pomocí Oracle Endeca Informatio...
BI Forum 2012 - Analýza nestrukturovaných dat pomocí Oracle Endeca Informatio...
 
Oracle Solaris Day 2013 - Oracle DB and OS Solaris
Oracle Solaris Day 2013 - Oracle DB and OS SolarisOracle Solaris Day 2013 - Oracle DB and OS Solaris
Oracle Solaris Day 2013 - Oracle DB and OS Solaris
 
ZFS Talk Part 1
ZFS Talk Part 1ZFS Talk Part 1
ZFS Talk Part 1
 
Oracle it runs zfs storage appliance
Oracle it runs zfs storage applianceOracle it runs zfs storage appliance
Oracle it runs zfs storage appliance
 
B4 making dev_ops_really_work
B4 making dev_ops_really_workB4 making dev_ops_really_work
B4 making dev_ops_really_work
 
B7 api management_enabling_digital_transformation
B7 api management_enabling_digital_transformationB7 api management_enabling_digital_transformation
B7 api management_enabling_digital_transformation
 
C2 five journeys_to_the_cloud
C2 five journeys_to_the_cloudC2 five journeys_to_the_cloud
C2 five journeys_to_the_cloud
 
C7 engineered data_protection_for_oracle_databases
C7 engineered data_protection_for_oracle_databasesC7 engineered data_protection_for_oracle_databases
C7 engineered data_protection_for_oracle_databases
 
C6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloud
C6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloudC6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloud
C6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloud
 
B6 improve operational_efficiency_through_process_and_document_collaboration
B6 improve operational_efficiency_through_process_and_document_collaborationB6 improve operational_efficiency_through_process_and_document_collaboration
B6 improve operational_efficiency_through_process_and_document_collaboration
 
B3 getting started_with_cloud_native_development
B3 getting started_with_cloud_native_developmentB3 getting started_with_cloud_native_development
B3 getting started_with_cloud_native_development
 
A5 cloud security_now_a_reason_to_move_to_the_cloud
A5 cloud security_now_a_reason_to_move_to_the_cloudA5 cloud security_now_a_reason_to_move_to_the_cloud
A5 cloud security_now_a_reason_to_move_to_the_cloud
 
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla1512 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
 
K1 keynote 1_oracle_integrated_cloud_strategy_and_vision_for_journey_to_cloud...
K1 keynote 1_oracle_integrated_cloud_strategy_and_vision_for_journey_to_cloud...K1 keynote 1_oracle_integrated_cloud_strategy_and_vision_for_journey_to_cloud...
K1 keynote 1_oracle_integrated_cloud_strategy_and_vision_for_journey_to_cloud...
 

Kürzlich hochgeladen

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 

Kürzlich hochgeladen (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Backup to ZFS Storage Appliance Best Practices for Exadata Database Machine

  • 1.
  • 2. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 2 Backup to ZFS Storage Appliance Best Practices for Exadata Database Machine Emre Baransel Principal Advanced Support Engineer
  • 3. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Using ESBU Oracle Engineered Systems Backup Utility for Oracle ZFS Storage Appliance Which tasks are performed? 1. Oracle ZFS Storage Appliance configuration  storage administrator A project including NFS shares is configured in a user-selected storage pool. 2. Engineered System nodes configuration  system administrator The client NFS and Oracle Direct NFS (dNFS) are configured in this step. 3. RMAN run block script generation  database administrator RMAN scripts are generated in this step. 3 http://www.oracle.com/technetwork/server-storage/sun-unified-storage/downloads/zfssa-plugins-1489830.html
  • 4. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Enable dNFS & configure oranfstab file • What is dNFS? • How to enable/disable dNFS? • How to configure oranfstab file? • How to understand if dNFS is enabled? • How to understand if dNFS is being used? • How to monitor dNFS performance? • What about fstab options? • What about filesystemio_options? 4 Instead of using the operating system kernel NFS client, you can configure Oracle Database to access NFS V3 servers directly using an Oracle Internal Direct NFS client, which is faster.
  • 5. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Enable dNFS & configure oranfstab file • What is dNFS? • How to enable/disable dNFS? • How to configure oranfstab file? • How to understand if dNFS is enabled? • How to understand if dNFS is being used? • How to monitor dNFS performance? • What about fstab options? • What about filesystemio_options? 5 $ cd $ORACLE_HOME/rdbms/lib $ make -f ins_rdbms.mk dnfs_on $ make -f ins_rdbms.mk dnfs_off ! Requires database restart
  • 6. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | • What is dNFS? • How to enable/disable dNFS? • How to configure oranfstab file? • How to understand if dNFS is enabled? • How to understand if dNFS is being used? • How to monitor dNFS performance? • What about fstab options? • What about filesystemio_options? server: zfsserver1  NFS server Host name (Alias) path: 10.177.52.158  First path to NFS server, NFS server NIC local: 10.177.52.151  First client-side NIC path: 10.177.52.159  Second path to NFS server, NFS server NIC local: 10.177.52.151  Second client-side NIC (For load balance purpose) export: /oraclenfs mount: /zfsbackup | |mount point on a database server |mount point on the NFS server Enable dNFS & configure oranfstab file 6 DNFS searches for mount entries in the following order: 1. $ORACLE_HOME/dbs/oranfstab 2. /etc/oranfstab 3. /etc/mtab
  • 7. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | • What is dNFS? • How to enable/disable dNFS? • How to configure oranfstab file? • How to understand if dNFS is enabled? • How to understand if dNFS is being used? • How to monitor dNFS performance? • What about fstab options? • What about filesystemio_options? Reported in the alert.log: ... Oracle instance running with ODM: Oracle Direct NFS ODM Library Version 3.0 ... Direct NFS: channel id [0] path [celntap3-bc] to filer [celntap3-bc] via local [] is UP Direct NFS: channel id [1] path [celntap3-bc] to filer [celntap3-bc] via local [] is UP Enable dNFS & configure oranfstab file 7
  • 8. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Enable dNFS & configure oranfstab file • What is dNFS? • How to enable/disable dNFS? • How to configure oranfstab file? • How to understand if dNFS is enabled? • How to understand if dNFS is being used? • How to monitor dNFS performance? • What about fstab options? • What about filesystemio_options? 8 - v$dnfs_servers - v$dnfs_files - v$dnfs_channels
  • 9. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Enable dNFS & configure oranfstab file • What is dNFS? • How to enable/disable dNFS? • How to configure oranfstab file? • How to understand if dNFS is enabled? • How to understand if dNFS is being used? • How to monitor dNFS performance? • What about fstab options? • What about filesystemio_options? 9 - v$dnfs_stats NFS_READ: Read operations NFS_WRITE: Write operations - Performance Monitoring script here: Direct NFS monitoring and v$views (Doc ID 1495739.1) - OS utilities sar,nmon.. can be used to monitor network traffic
  • 10. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Enable dNFS & configure oranfstab file • What is dNFS? • How to enable/disable dNFS? • How to configure oranfstab file? • How to understand if dNFS is enabled? • How to understand if dNFS is being used? • How to monitor dNFS performance? • What about fstab options? • What about filesystemio_options? 10 DNFS does not utilize NFS mount options. However setting the proper mount options is recommended to be in compliance with database requirements and to improve performance if DNFS is not operational and the system defaults to NFS. Oracle ZFS Storage: FAQ: Exadata RMAN Backup with The Oracle ZFS Storage Appliance (Doc ID 1354980.1) Sun ZFS Storage Appliance: Oracle Database 11g R2 NFS Mount Point Recommendations (Doc ID 1567137.1) Mount Options for Oracle files when used with NFS on NAS devices (Doc ID 359515.1)
  • 11. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Enable dNFS & configure oranfstab file • What is dNFS? • How to enable/disable dNFS? • How to configure oranfstab file? • How to understand if dNFS is enabled? • How to understand if dNFS is being used? • How to monitor dNFS performance? • What about fstab options? • What about filesystemio_options? 11 Direct NFS does not depend on the value of filesystemio_options. Direct NFS always issues async and direct I/O as it does not depend on OS support. However, since we can always fall back to the OS NFS client in case of mis-configuration, as a precaution, set filesystemio_options to 'directio' or 'setall' if the OS supports it.
  • 12. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Increase MTU size • To avoid backup performance regression, the MTU size should be set to 65520. • Backup/restore performance and stability will be higher on the higher MTU settings. • The MTU size reduction should be utilized if page allocation failure events have been experienced 12 Exadata version Recommended Permitted < 11.2.3.3.0 or >= 12.1.2.1.0 65520 7000,15000,31000,64000 >= 11.2.3.3.0 and < 12.1.2.1.0 7000 15000,31000,64000,65520
  • 13. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Configure Projects To Use a Write Bias of “Throughput” Synchronous writes are optimized for throughput. Data is written to the primary data disks instead of the log device(s), and the writes are performed in a way that optimizes for total bandwidth of the system. 13
  • 14. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Increase "Database record size" • 2013.1.1 or later code levels are required to use large 1MB record sizes. • If the ZFS Storage Appliance is running earlier code, 128K record size is the largest available option. 14
  • 15. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Backup Compression • Attempting to compress data that doesn’t typically yield good compression results lengthens the backup window significantly, consumes unnecessary CPU resources, and results in very little space savings. 15 Backup Type Duration Compression Ratio nocompress 3 min. - ZFS LZJB compression 2 min. 58% compression ZFS GZIP compression 16 min. 75% compression RMAN compression 16 min. 75% compression A recent tablespace backup test results of Exa-ZFS configuration.
  • 16. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Keep some free space • The recommendation from Oracle Exadata MAA and Sun ZFS Storage Appliance development team is to keep 20% free space on each disk pool created, allowing the copy and write operations to run optimally. If the free space is allowed to reduce past the 20% recommendation, then write operations to the Sun ZFS Storage Appliance might be impacted because the appliance will be forced to spend more time looking for free space. 16
  • 17. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | ZFS-Exadata Configuration References • Oracle ZFS Storage: FAQ: Exadata RMAN Backup with The Oracle ZFS Storage Appliance (Doc ID 1354980.1) • Backup and Recovery Performance and Best Practices using Oracle Sun ZFS Storage Appliance and Oracle Exadata Database Machine http://www.oracle.com/technetwork/database/features/availability/maa-wp-dbm-zfs-backup-1593252.pdf • "Oracle Engineered Systems Backup Utility for Oracle ZFS Storage Appliance" tool http://www.oracle.com/technetwork/server-storage/sun-unified-storage/downloads/zfssa-plugins-1489830.html 17