From cb98f615383ccf2f9f339b4e812b23e840b12d9f Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 28 Nov 2009 16:21:31 +0000 Subject: [PATCH] fsync test tools Add link to exteran fsync testing script and our fsync test tool. --- doc/src/sgml/config.sgml | 4 +++- doc/src/sgml/wal.sgml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index e4a79782ae..2cb006fa75 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,4 +1,4 @@ - + Server Configuration @@ -1432,6 +1432,8 @@ SET ENABLE_SEQSCAN TO OFF; The default is the first method in the above list that is supported by the platform. The open_* options also use O_DIRECT if available. + The utility src/tools/fsync in the PostgreSQL source tree + can do performance testing of various fsync methods. This parameter can only be set in the postgresql.conf file or on the server command line. diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml index c21e4a4d62..76f1fdcf3b 100644 --- a/doc/src/sgml/wal.sgml +++ b/doc/src/sgml/wal.sgml @@ -1,4 +1,4 @@ - + Reliability and the Write-Ahead Log @@ -86,6 +86,8 @@ ensure data integrity. Avoid disk controllers that have non-battery-backed write caches. At the drive level, disable write-back caching if the drive cannot guarantee the data will be written before shutdown. + You can test for reliable I/O subsystem behavior using diskchecker.pl.