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

Commit55af2a4

Browse files
committed
Duplicate:
< * Maintain a map of recently-expired rows<< This allows vacuum to target specific pages for possible free space< without requiring a sequential scan.<Update entry:> One complexity is that index entries still have to be vacuumed, and> doing this without an index scan (by using the heap values to find the> index entry) might be slow and unreliable, especially for user-defined> index functions.
1 parentce128c0 commit55af2a4

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

‎doc/TODO

Lines changed: 5 additions & 6 deletions
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:Tue Aug 30 19:25:23 EDT 2005
5+
Last updated:Thu Sep 1 20:49:44 EDT 2005
66

77
The most recent version of this document can be viewed at
88
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -810,11 +810,6 @@ Vacuum
810810
write lock. However, the read lock promotion to write lock could lead
811811
to deadlock situations.
812812

813-
* Maintain a map of recently-expired rows
814-
815-
This allows vacuum to target specific pages for possible free space
816-
without requiring a sequential scan.
817-
818813
* Auto-fill the free space map by scanning the buffer cache or by
819814
checking pages written by the background writer
820815
* Create a bitmap of pages that need vacuuming
@@ -823,6 +818,10 @@ Vacuum
823818
writer or some other process record pages that have expired rows, then
824819
VACUUM can look at just those pages rather than the entire table. In
825820
the event of a system crash, the bitmap would probably be invalidated.
821+
One complexity is that index entries still have to be vacuumed, and
822+
doing this without an index scan (by using the heap values to find the
823+
index entry) might be slow and unreliable, especially for user-defined
824+
index functions.
826825

827826
* %Add system view to show free space map contents
828827

‎doc/src/FAQ/TODO.html

Lines changed: 5 additions & 5 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:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
11-
Last updated:Tue Aug 30 19:25:23 EDT 2005
11+
Last updated:Thu Sep 1 20:49:44 EDT 2005
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>.
@@ -730,10 +730,6 @@ <h1><a name="section_16">Vacuum</a></h1>
730730
<p> Moved tuples are invisible to other backends so they don't require a
731731
write lock. However, the read lock promotion to write lock could lead
732732
to deadlock situations.
733-
</p>
734-
</li><li>Maintain a map of recently-expired rows
735-
<p> This allows vacuum to target specific pages for possible free space
736-
without requiring a sequential scan.
737733
</p>
738734
</li><li>Auto-fill the free space map by scanning the buffer cache or by
739735
checking pages written by the background writer
@@ -742,6 +738,10 @@ <h1><a name="section_16">Vacuum</a></h1>
742738
writer or some other process record pages that have expired rows, then
743739
VACUUM can look at just those pages rather than the entire table. In
744740
the event of a system crash, the bitmap would probably be invalidated.
741+
One complexity is that index entries still have to be vacuumed, and
742+
doing this without an index scan (by using the heap values to find the
743+
index entry) might be slow and unreliable, especially for user-defined
744+
index functions.
745745
</p>
746746
</li><li>%Add system view to show free space map contents
747747
</li><li>Auto-vacuum

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp