Whats a Block? The basic unit Oracle uses to manage data. Typically 8k in size. Some data warehouses or any other database with a lot of long sequential reads will have 16k or 32k. You can have a database with mixed block sizes, but it is very rare 6
Block Structure. It has a header that contains a database address, SCN number, checksum, etc. It has a tail with more metadata about the block. Not a good candidate for deduplication. 7
Block Structure: Deduplication 8 The header should be globally unique in the whole database, meaning that first 4k WAFL block will have no duplicates. The tail is not 100% unique, but its highly variant, meaning that final 4k WAFL block will have very few duplicates.
NetApp Deduplication and Data Compression Sample Use Cases and Space Savings 9 Legend Compression & Deduplication Deduplication Only Compression Only Neither
Oracle Database Backup and Recovery Backup and recovery –Archivelog mode Control files Redo logs Archive logs SCN Benefits Consequences –Non-Archivelog mode Control files Redo logs Benefits Consequences 10
Oracle Database Backup and Recovery 11
Automatic Storage Manager What is it? Features Mirroring and Striping Dynamic Storage Configuration Interoperability with non-ASM databases RAC and single instance Components Disk Groups Disks Failure groups Files Templates NetApp interoperability 12
NetApp Adds Value to Oracle ASM Oracle ASMNetAppOracle ASM + NetApp Data Resilience Protect against Single Disk FailureYes Protect against Double Disk failureNoYes Passive Block corruption detectionYes Active Block corruption detectionYes Lost disk write detectionNoYes Performance Stripe data across ASM DisksYesNoYes Balance I/O across ASM DisksYesNoYes Stripe data across Physical DisksNoYes Balance I/O across Physical DisksNoYes I/O prioritizationNoYes Storage Utilization Free space management across physical disks NoYes Thin provisioning of ASM DisksNoYes Space efficient CloningNoYes Data Protection Storage Snapshot based BackupsNoYes Storage Snapshot based RestoresNoYes 13
ASM versus FC: IO Layers 14
Real Application Cluster Shared database Cluster-aware storage –ASM –Oracle Cluster File System (OCFS) –NFS –Raw devices Distance between RAC nodes 15
Oracle RAC 16
Introducing Oracle dNFS Collaborative solution from NetApp & Oracle NFSv3 client within Oracle RDBMS server NFS files accessed directly from Oracle Eliminates extra O/S NFS client code path Optimized NFS code path for database I/O patterns via direct I/O and asynchronous I/O support 17 What is Direct NFS client?
Introducing Oracle dNFS Eliminates the need for NFS mount options Standard NFS client implementation across all platforms supported by the Oracle Database, even Windows. No infrastructure changes are required to change from kNFS to dNFS. 18 What is Direct NFS client?
19 dNFS Optimizes Oracle I/O Traffic 19 TCP / IP layer Driver + NIC HW FS layer NFS client TCP / IP layer Driver + NIC HW Traditional NFS I/ODirect NFS I/O dNFS OS Database Extra layers Not optimized for Oracle Extra network traffic Storage
Oracle dNFS Innovation Scales across 4 separate network paths between DB host & NFS server Load balances across available paths Scales linearly with number of paths High Availability across paths Tested with NetApp VIF technology No configuring O/S LACP bonding 20 dNFS is scalable, reliable, & easy to use!
Improved Scalability with dNFS Performs on par with blocks protocols Higher concurrent access to NFS server 21
Protocols FCP/FCoE iSCSI Native NFS Direct NFS (DNFS) DO NOT USE CIFS 22
Performance Considerations FCP/FCoE iSCSI Native NFS Direct NFS (DNFS) Which one do you choose? –The customer is always right –Current infrastructure –Expertise level –Requirements –DO NOT GET IN A PROTOCOL WAR! 23
Performance Considerations – TR
Performance Considerations – TR
Oracle Disaster Recovery Methods: Data Guard Data availability, data protection and disaster recovery solution What: Replicates Oracle databases from one data center to another Ability to perform backups from the standby database instead of the production database Both physical and logical versions Image from Oracle Corp