Direct I/O (-directio)
- Last Updated: December 1, 2025
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Direct I/O (-directio)
Use Direct I/O (-directio)
to open all files in unbuffered mode, which enables OpenEdge to
use an I/O technique that bypasses the operating system buffer pool
and transfers data directly from a buffer to disk.
| Operating system and syntax | UNIX / Windows |
-directio
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| Client Connection, Database Server | — | — | Not enabled | Not enabled |
This technique has several advantages over buffered reads and writes, such as avoiding the overhead of maintaining the operating system buffer pool and eliminating competition for operating system buffers between OpenEdge programs and other programs. The operating system buffer-pool algorithms are designed for efficient sequential file access; the OpenEdge buffer-pool algorithms are more efficient for access to an OpenEdge database.
Note: Use asynchronous page writers (APWs). They improve
database performance by performing overhead operations in the background.