Skip to content

Commit 4e02337

Browse files
committed
Re-add TODO and clarify it is for the kernel cache:
< * Allow free-behind capability for large sequential scans, perhaps using < posix_fadvise() > * Allow free-behind capability for large sequential scans to avoid > kernel cache spoiling
1 parent ededa6d commit 4e02337

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

doc/TODO

Lines changed: 9 additions & 1 deletion
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 22:46:01 EDT 2007
4+
Last updated: Sat Jun 2 07:27:46 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,6 +1090,14 @@ Fsync
10901090
Cache Usage
10911091
===========
10921092

1093+
* Allow free-behind capability for large sequential scans to avoid
1094+
kernel cache spoiling
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+
10931101
* Speed up COUNT(*)
10941102

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

doc/src/FAQ/TODO.html

Lines changed: 9 additions & 2 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 22:46:01 EDT 2007
11+
Last updated: Sat Jun 2 07:27:46 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,7 +971,14 @@ <h1><a name="section_13">Fsync</a></h1>
971971
<h1><a name="section_14">Cache Usage</a></h1>
972972

973973
<ul>
974-
<li>Speed up COUNT(*)
974+
<li>Allow free-behind capability for large sequential scans to avoid
975+
kernel cache spoiling
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(*)
975982
<p> We could use a fixed row count and a +/- count to follow MVCC
976983
visibility rules, or a single cached value could be used and
977984
invalidated if anyone modifies the table. Another idea is to

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy