Thread: Direct I/O versus OS-Caching

Direct I/O versus OS-Caching

From
KÖPFERL Robert
Date:
Yeah, as the subject quetiones.

What's the better/faster alternative?
Enabling OS-file system caching or disabling it and forcing direct I/O?

Re: Direct I/O versus OS-Caching

From
Peter Eisentraut
Date:
KÖPFERL Robert wrote:
> What's the better/faster alternative?
> Enabling OS-file system caching or disabling it and forcing direct
> I/O?

PostgreSQL is designed to rely on OS file-system caching, so you better
not turn that off.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/