|
| 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 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 | +Direct NFS makes it possible for Oracle to drive much higher performance than the operating system's own NFS driver. This article explains the technology and provides a performance comparison between Oracle Direct NFS (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 | +Direct NFS bypasses the operating system’s buffer cache. Data is cached just 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 Direct NFS (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 dNFS is an optimized NFS client that provides faster and more scalable access to NFS storage located on NAS storage devices (accessible over TCP/IP). Direct NFS is built directly into the database kernel just like ASM, which is mainly used with DAS or SAN storage. Therefore, *the guideline is to use Direct NFS when implementing NAS storage and use ASM when implementing SAN storage.* |
| 36 | + |
| 37 | +Oracle dNFS is the default option in Oracle 18c also the default for RAC. |
| 38 | + |
| 39 | +dNFS is available starting with Oracle 11g. As shown below, by using dNFS, an Oracle database running on an Azure virtual machine can drive significantly more I/O than the native NFS client, which uses a single network flow. |
| 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 leverage the performance of dNFS with the Azure NetApp Files service. The service gives you total control over your application performance. It can meet extremely demanding applications. Combining the performance benefits of dNFS with the high-performance capabilities of 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