|
| 1 | +--- |
| 2 | +title: Benefits of using Azure NetApp Files with Oracle Database | Microsoft Docs |
| 3 | +description: Describes the technology and provides a performance comparison between Oracle Direct NFS (dNFS) and the traditional NFS client. Shows the advantages of using dNFS with Azure NetApp Files. |
| 4 | +services: azure-netapp-files |
| 5 | +documentationcenter: '' |
| 6 | +author: b-juche |
| 7 | +manager: '' |
| 8 | +editor: '' |
| 9 | + |
| 10 | +ms.assetid: |
| 11 | +ms.service: azure-netapp-files |
| 12 | +ms.workload: storage |
| 13 | +ms.tgt_pltfrm: na |
| 14 | +ms.devlang: na |
| 15 | +ms.topic: conceptual |
| 16 | +ms.date: 04/20/2020 |
| 17 | +ms.author: b-juche |
| 18 | +--- |
| 19 | +# Benefits of using Azure NetApp Files with Oracle Database |
| 20 | + |
| 21 | +Oracle Direct NFS (dNFS) makes it possible to drive higher performance than the operating system's own NFS driver. This article explains the technology and provides a performance comparison between dNFS and the traditional NFS client (Kernel NFS). It also shows the advantages and the ease of using dNFS with Azure NetApp Files. |
| 22 | + |
| 23 | +## How Oracle Direct NFS works |
| 24 | + |
| 25 | +Oracle Direct NFS (dNFS) bypasses the operating system’s buffer cache. Data is cached only once in the user space, eliminating the overhead of memory copies. |
| 26 | + |
| 27 | +The traditional NFS client uses a single network flow, as the following example shows: |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | +In contrast, Oracle dNFS improves performance by load-balancing network traffic across multiple network flows. This capability enables the Oracle database to dynamically establish a significant number of 650 distinct network connections, as shown in the example below: |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | +The [Oracle FAQ for Direct NFS](http://www.orafaq.com/wiki/Direct_NFS) shows that Oracle dNFS is an optimized NFS client. It provides fast and scalable access to NFS storage that is located on NAS storage devices (accessible over TCP/IP). dNFS is built into the database kernel just like ASM, which is used primarily with DAS or SAN storage. As such, *the guideline is to use dNFS when implementing NAS storage and use ASM when implementing SAN storage.* |
| 36 | + |
| 37 | +dNFS is the default option in Oracle 18c and the default for RAC. |
| 38 | + |
| 39 | +dNFS is available starting with Oracle Database 11g. The diagram below compares dNFS with native NFS. When you use dNFS, an Oracle database that runs on an Azure virtual machine can drive more I/O than the native NFS client. |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | +You can enable or disable dNFS by running two commands and restarting the database. |
| 44 | + |
| 45 | +To enable: |
| 46 | +`cd $ORACLE_HOME/rdbms/lib ; make -f ins_rdbms.mk dnfs_on` |
| 47 | + |
| 48 | +To disable: |
| 49 | +`cd $ORACLE_HOME/rdbms/lib ; make -f ins_rdbms.mk dnfs_off` |
| 50 | + |
| 51 | +## Azure NetApp Files combined with Oracle Direct NFS |
| 52 | + |
| 53 | +You can enhance the performance of Oracle dNFS with the Azure NetApp Files service. The service gives you total control over your application performance. It can meet extremely demanding applications. The combination of Oracle dNFS with Azure NetApp Files provides great advantage to your workloads. |
| 54 | + |
| 55 | +## Next steps |
| 56 | + |
| 57 | +- [Solution architectures using Azure NetApp Files](azure-netapp-files-solution-architectures.md) |
| 58 | +- [Overview of Oracle Applications and solutions on Azure](https://docs.microsoft.com/azure/virtual-machines/workloads/oracle/oracle-overview) |
0 commit comments