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

Commit 487990e

Browse files
committed
Add description:
> > 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. >
1 parent 1bc9235 commit 487990e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

doc/TODO

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
PostgreSQL TODO List
33
====================
44
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
5-
Last updated: Fri Jun 3 17:42:10 EDT 2005
5+
Last updated: Sat Jun 4 12:53:41 EDT 2005
66

77
The most recent version of this document can be viewed at
88
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -722,6 +722,10 @@ Cache
722722

723723
* Consider use of open/fcntl(O_DIRECT) to minimize OS caching,
724724
especially for WAL writes
725+
726+
O_DIRECT doesn't have the same media write guarantees as fsync, so it
727+
is in addition to the fsync method, not in place of it.
728+
725729
* -Cache last known per-tuple offsets to speed long tuple access
726730
* Speed up COUNT(*)
727731

doc/src/FAQ/TODO.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
99
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
1010
<p>Current maintainer: Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
11-
Last updated: Fri Jun 3 17:42:10 EDT 2005
11+
Last updated: Sat Jun 4 12:53:41 EDT 2005
1212
</p>
1313
<p>The most recent version of this document can be viewed at<br/>
1414
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
@@ -663,6 +663,9 @@ <h1><a name="section_13">Cache</a></h1>
663663
</p>
664664
</li><li>Consider use of open/fcntl(O_DIRECT) to minimize OS caching,
665665
especially for WAL writes
666+
<p> O_DIRECT doesn't have the same media write guarantees as fsync, so it
667+
is in addition to the fsync method, not in place of it.
668+
</p>
666669
</li><li>-<em>Cache last known per-tuple offsets to speed long tuple access</em>
667670
</li><li>Speed up COUNT(*)
668671
<p> We could use a fixed row count and a +/- count to follow MVCC

0 commit comments

Comments
 (0)