Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cb98f61

Browse files
committed
fsync test tools
Add link to exteran fsync testing script and our fsync test tool.
1 parent 017c47b commit cb98f61

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

doc/src/sgml/config.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.233 2009/11/13 22:43:39 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.234 2009/11/28 16:21:31 momjian Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -1432,6 +1432,8 @@ SET ENABLE_SEQSCAN TO OFF;
14321432
The default is the first method in the above list that is supported
14331433
by the platform.
14341434
The <literal>open_</>* options also use <literal>O_DIRECT</> if available.
1435+
The utility <filename>src/tools/fsync</> in the PostgreSQL source tree
1436+
can do performance testing of various fsync methods.
14351437
This parameter can only be set in the <filename>postgresql.conf</>
14361438
file or on the server command line.
14371439
</para>

doc/src/sgml/wal.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.59 2009/04/09 16:20:50 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.60 2009/11/28 16:21:31 momjian Exp $ -->
22

33
<chapter id="wal">
44
<title>Reliability and the Write-Ahead Log</title>
@@ -86,6 +86,8 @@
8686
ensure data integrity. Avoid disk controllers that have non-battery-backed
8787
write caches. At the drive level, disable write-back caching if the
8888
drive cannot guarantee the data will be written before shutdown.
89+
You can test for reliable I/O subsystem behavior using <ulink
90+
url="http://brad.livejournal.com/2116715.html">diskchecker.pl</ulink>.
8991
</para>
9092

9193
<para>

0 commit comments

Comments
 (0)