]> granicus.if.org Git - postgresql/commitdiff
Add description:
authorBruce Momjian <bruce@momjian.us>
Sat, 4 Jun 2005 16:53:48 +0000 (16:53 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 4 Jun 2005 16:53:48 +0000 (16:53 +0000)
>
>   O_DIRECT doesn't have the same media write guarantees as fsync, so it
>   is in addition to the fsync method, not in place of it.
>

doc/TODO
doc/src/FAQ/TODO.html

index b897ec1b4e89114f38c91fb08eecaf9899def973..2e93b43906c91012cc5d994580b693decf809f69 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -2,7 +2,7 @@
 PostgreSQL TODO List
 ====================
 Current maintainer:    Bruce Momjian (pgman@candle.pha.pa.us)
-Last updated:          Fri Jun  3 17:42:10 EDT 2005
+Last updated:          Sat Jun  4 12:53:41 EDT 2005
 
 The most recent version of this document can be viewed at
 http://www.postgresql.org/docs/faqs.TODO.html.
@@ -722,6 +722,10 @@ Cache
 
 * Consider use of open/fcntl(O_DIRECT) to minimize OS caching,
   especially for WAL writes
+
+  O_DIRECT doesn't have the same media write guarantees as fsync, so it
+  is in addition to the fsync method, not in place of it.
+
 * -Cache last known per-tuple offsets to speed long tuple access
 * Speed up COUNT(*)
 
index 16df40b9ef993e2d66e961b1f4875a1e47671d31..e42a8f921af203369d83d15b92240665e35b19e3 100644 (file)
@@ -8,7 +8,7 @@
 <body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
 <h1><a name="section_1">PostgreSQL TODO List</a></h1>
 <p>Current maintainer:     Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
-Last updated:           Fri Jun  3 17:42:10 EDT 2005
+Last updated:           Sat Jun  4 12:53:41 EDT 2005
 </p>
 <p>The most recent version of this document can be viewed at<br/>
 <a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
@@ -663,6 +663,9 @@ first.
 </p>
   </li><li>Consider use of open/fcntl(O_DIRECT) to minimize OS caching,
   especially for WAL writes
+<p>  O_DIRECT doesn't have the same media write guarantees as fsync, so it
+  is in addition to the fsync method, not in place of it.
+</p>
   </li><li>-<em>Cache last known per-tuple offsets to speed long tuple access</em>
   </li><li>Speed up COUNT(*)
 <p>  We could use a fixed row count and a +/- count to follow MVCC