
Getting large volumes of data into an Oracle Exadata Database Machine is a common task, and there are two main architectures for it: loading through a data integration server, or loading files through a staging area. This post explains both, then takes a closer look at the four staging options: ACFS, DBFS, SAN, and NAS.
Option 1: Load through a data integration server
A tool such as Oracle GoldenGate harvests data from the source system and loads it directly into the target Exadata database over Oracle Net.
- No intermediate files. Data flows straight from source to target.
- In-flight processing. The integration server can transform or aggregate data along the way.
- Platform-specific details. Implementation varies depending on the integration server you use.
Option 2: Load file-based data through a staging area
The source system writes its data into files, which are moved to a staging area accessible to Exadata.
Getting files to the staging area
- Over the network (file transfer), or
- By physically shipping storage media such as disk, tape, or flash.
Loading from the staging area
Several mechanisms exist, but the two most common are external tables and SQL*Loader.
Important: Using the internal disk drives of the database servers for staging data files is highly discouraged. Host the staging area on ACFS or DBFS inside Exadata, or on separate SAN/NAS storage.
Staging options in depth
1. ACFS (ASM Cluster File System)
What it is. ACFS is a fully featured, general-purpose cluster file system built on top of Oracle ASM. It is Oracle’s preferred file manager for non-database files, which makes it a natural home for flat files waiting to be loaded.
Core capabilities
- Same path on every node. Files and directories are visible from all cluster members using identical path names, so any RAC node can read the staged files through an external table.
- ASM underneath. It benefits from ASM’s balanced distribution across disk group storage (more I/O parallelism) and from ASM mirroring for data protection.
- Scales to many files. It is designed for very large capacities and for directories containing millions of files.
- Resilience. Metadata checksums and journaling support integrity and fast recovery.
- Standard tooling. It can be managed with native OS tools, Oracle Enterprise Manager, or ASMCA.
Data management and protection features
- Snapshots. Point-in-time, space-efficient copies of a file system. For staging, you could snapshot a directory before a load to record exactly which files were processed, or to return to that state later.
- Replication. A file system can be replicated to a standby site, which helps when landed files must survive a site failure.
- Realm-based security and encryption. A realm is a set of rules defining which users may do what to which files, and these rules can restrict access even for privileged OS users. Encryption protects files at rest. Together they matter when staged files contain sensitive data.
- Tagging API for metadata. Files can carry tags, and operations such as replication can then be applied to tagged files only.
- HANFS (Highly Available NFS). ACFS can export a file system over NFS through a virtual IP address that fails over between cluster nodes. Source systems can push files to Exadata over NFS without losing the mount if a node goes down. ACFS can also be accessed through CIFS.
Performance. For the typical staging pattern (write large files, then read them through external tables or SQL*Loader), ACFS delivers performance comparable to DBFS for bulk loads. Performance alone should therefore not decide between the two.
Separate from all databases. This is the biggest architectural difference from DBFS:
- Files are stored outside the Oracle databases. They live on ASM-backed volumes, not in database tables, and they are not part of any database’s datafiles, redo, or undo.
- Files can only be accessed through file system APIs. You work with them using OS tools (
ls,cp,mv, standard POSIX calls) or over NFS/CIFS. You cannot query them with SQL or manage them with PL/SQL packages. The database reads them like any other external file, through a directory object, an external table, or SQL*Loader.
In practice, this separation means:
- Staged files remain accessible even when a database is down.
- One file system can serve several databases on the cluster.
- Staged files consume no database tablespace and generate no redo or undo.
- Database-level features such as SecureFiles compression and deduplication are not available, although ACFS has its own security and encryption.
- Database backups such as RMAN do not cover these files, so plan a separate approach (snapshots, replication, or file-level backup).
Things to keep in mind
- ACFS shares Exadata storage with your databases, so size the staging file system with care and clean up loaded files.
- It lives on the database tier, so data producers must be able to deliver files to the Exadata servers (for example over the network).
2. DBFS (Database File System)
What it is. DBFS presents a POSIX-like file system, mounted through FUSE, whose content is stored in the database itself as SecureFiles LOBs. Directories, metadata, and permissions are held in ordinary relational tables.
Why it suits staging
- Everything stays in Exadata. No external storage, extra connectivity, or additional tuning is needed to stage files.
- Scales with RAC. Because it sits on the database, the file system is shared and coherent across nodes.
- SecureFiles features. Compression, deduplication, and encryption are available, which can reduce the space that staged files occupy.
- Mountable from outside. A DBFS file system can be mounted on any Linux host that can connect to the database, which is handy for pushing files in from a separate machine.
- Long-standing use case. Staging flat files for loading on Exadata is one of DBFS’s best-known uses.
Things to keep in mind
- Reading external tables is CPU-intensive, because text is converted to Oracle data types on the fly. Do not expect staging I/O alone to determine load speed.
- For critical environments, community guidance recommends configuring DBFS in a separate staging database, so that staged files do not share a database with production data.
- Setup involves FUSE configuration on every node, so plan for the extra administration.
ACFS vs. DBFS at a glance
| ACFS | DBFS | |
|---|---|---|
| Built on | ASM volumes | SecureFiles LOBs in database tables |
| Relationship to databases | Separate from all databases | Stored inside a database |
| Presented as | Native cluster file system | FUSE-mounted file system |
| Access methods | File system APIs only | File system APIs and SQL/PL/SQL |
| Visible to all RAC nodes | Yes | Yes |
| Bulk load performance | Comparable | Comparable |
| Available if databases are down | Yes | No, requires the hosting database |
| Can be mounted off-Exadata | Not designed for it (use NFS/CIFS or HANFS export) | Yes, on any Linux host that can reach the database |
| Special features | Snapshots, replication, realms, encryption, tagging, HANFS | Compression, deduplication, encryption |
| Backup | Needs its own approach | Covered by database backup |
3. SAN (Storage Area Network)
What it is. A SAN provides block-level storage over a dedicated network. In this architecture it is a staging area that sits outside Exadata.
How it fits the architecture
- Block storage cannot be read by the database directly as files, so a gateway server sits between the SAN and the target database. The gateway server mounts the staged files and makes them reachable from Exadata (for example, as a network file system).
- The pattern is typically chosen to reuse existing infrastructure, where upstream systems already deliver files to SAN-backed storage.
Trade-offs
- The gateway server is an extra hop and a potential bottleneck, so size its network connectivity to match the load throughput you need.
- More components mean more administration and more things to monitor.
- Staged data no longer benefits from the Exadata-internal bandwidth that ACFS and DBFS use.
4. NAS (e.g., Oracle ZFS Storage)
What it is. NAS provides file-level storage over the network, and a typical example is ZFS Storage. Unlike the SAN path, the NAS connects to the target database directly, with no gateway server.
Why it suits staging
- Files are already files. Exports are mounted over NFS, so external tables or SQL*Loader can read them without an intermediate server.
- Built for Exadata networks. Oracle’s ZFS Storage Appliance offers native QDR InfiniBand and 10 Gb Ethernet connectivity, and Oracle documents it as a good match for Exadata’s high-bandwidth network.
- Direct NFS (dNFS). Oracle’s optimized NFS client is designed for high-bandwidth transfers between the database and the appliance. Oracle documents configuring it through
oranfstabon each database node. - Shared and centralized. One NAS can serve as a common landing zone for many source systems, and Oracle’s documentation lists NFS accessed through Direct NFS among the supported shared file systems for external tables.
Trade-offs
- Network throughput between the NAS and the database servers is the limit, so check the links and tuning.
- It is separate hardware to buy, administer, and secure.
Which staging option should you choose?
| If your priority is… | Consider |
|---|---|
| Keeping everything inside Exadata, independent of any database | ACFS |
| Snapshots, replication, realms, or highly available NFS delivery of files | ACFS |
| Compression, dedup, or SQL access to staged files, or staging from other Linux hosts | DBFS |
| Reusing existing SAN-based file delivery | SAN + gateway server |
| A shared, high-bandwidth landing zone outside Exadata | NAS (ZFS Storage) |
Key takeaways
- Direct loading (GoldenGate and similar) avoids files entirely and can transform data in transit.
- File-based loading relies on a staging area, with external tables and SQL*Loader as the usual tools.
- On-Exadata staging should use ACFS or DBFS, never the database servers’ internal disks.
- ACFS vs. DBFS is mostly about independence versus integration: ACFS keeps files outside every database, while DBFS keeps them inside one.
- Off-Exadata staging can reuse SAN (through a gateway server) or NAS (connected directly) infrastructure.
- Whichever you pick, loading speed depends on both how fast files arrive in the staging area and how fast they are loaded from it.
Sources and caveats: the ACFS, DBFS, and ZFS Storage details come from Oracle documentation, community articles, and general product knowledge, and some sources describe older releases or backup use cases. The SAN and gateway server discussion is a general explanation of the architecture. Check the current Exadata documentation for your version before implementing.