Skip to content

Commit ededa6d

Browse files
committed
TODO item not needed anymore now that the buffer cache is
scan-resistant: < < * Allow free-behind capability for large sequential scans, perhaps using < posix_fadvise() < < Posix_fadvise() can control both sequential/random file caching and < free-behind behavior, but it is unclear how the setting affects other < backends that also have the file open, and the feature is not supported < on all operating systems.
1 parent 15f8202 commit ededa6d

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

doc/TODO

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PostgreSQL TODO List
22
====================
33
Current maintainer: Bruce Momjian (bruce@momjian.us)
4-
Last updated: Fri Jun 1 14:41:49 EDT 2007
4+
Last updated: Fri Jun 1 22:46:01 EDT 2007
55

66
The most recent version of this document can be viewed at
77
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -1090,14 +1090,6 @@ Fsync
10901090
Cache Usage
10911091
===========
10921092

1093-
* Allow free-behind capability for large sequential scans, perhaps using
1094-
posix_fadvise()
1095-
1096-
Posix_fadvise() can control both sequential/random file caching and
1097-
free-behind behavior, but it is unclear how the setting affects other
1098-
backends that also have the file open, and the feature is not supported
1099-
on all operating systems.
1100-
11011093
* Speed up COUNT(*)
11021094

11031095
We could use a fixed row count and a +/- count to follow MVCC

doc/src/FAQ/TODO.html

Lines changed: 2 additions & 9 deletions
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:bruce@momjian.us">bruce@momjian.us</a>)<br/>
11-
Last updated: Fri Jun 1 14:41:49 EDT 2007
11+
Last updated: Fri Jun 1 22:46:01 EDT 2007
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>.
@@ -971,14 +971,7 @@ <h1><a name="section_13">Fsync</a></h1>
971971
<h1><a name="section_14">Cache Usage</a></h1>
972972

973973
<ul>
974-
<li>Allow free-behind capability for large sequential scans, perhaps using
975-
posix_fadvise()
976-
<p> Posix_fadvise() can control both sequential/random file caching and
977-
free-behind behavior, but it is unclear how the setting affects other
978-
backends that also have the file open, and the feature is not supported
979-
on all operating systems.
980-
</p>
981-
</li><li>Speed up COUNT(*)
974+
<li>Speed up COUNT(*)
982975
<p> We could use a fixed row count and a +/- count to follow MVCC
983976
visibility rules, or a single cached value could be used and
984977
invalidated if anyone modifies the table. Another idea is to

0 commit comments

Comments
 (0)