Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4e02337

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 parentededa6d commit4e02337

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 Jun1 22:46:01 EDT 2007
4+
Last updated:Sat Jun2 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
<bodybgcolor="#FFFFFF"text="#000000"link="#FF0000"vlink="#A00000"alink="#0000FF">
99
<h1><aname="section_1">PostgreSQL TODO List</a></h1>
1010
<p>Current maintainer: Bruce Momjian (<ahref="mailto:bruce@momjian.us">bruce@momjian.us</a>)<br/>
11-
Last updated:Fri Jun1 22:46:01 EDT 2007
11+
Last updated:Sat Jun2 07:27:46 EDT 2007
1212
</p>
1313
<p>The most recent version of this document can be viewed at<br/>
1414
<ahref="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><aname="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)

[8]ページ先頭

©2009-2025 Movatter.jp