mirror of
https://github.com/postgres/postgres.git
synced 2025-05-06 19:59:18 +03:00
Add:
> > * Create a bitmap of pages that need vacuuming > > Instead of sequentially scanning the entire table, have the background > writer or some other process record pages that have expired rows, then > VACUUM can look at just those pages rather than the entire table. In > the event of a system crash, the bitmap would probably be invalidated.
This commit is contained in:
parent
a6c7e843da
commit
1b618e50a6
9
doc/TODO
9
doc/TODO
@ -2,7 +2,7 @@
|
|||||||
PostgreSQL TODO List
|
PostgreSQL TODO List
|
||||||
====================
|
====================
|
||||||
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
|
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
|
||||||
Last updated: Tue Jun 14 19:44:43 EDT 2005
|
Last updated: Thu Jun 16 22:20:43 EDT 2005
|
||||||
|
|
||||||
The most recent version of this document can be viewed at
|
The most recent version of this document can be viewed at
|
||||||
http://www.postgresql.org/docs/faqs.TODO.html.
|
http://www.postgresql.org/docs/faqs.TODO.html.
|
||||||
@ -800,6 +800,13 @@ Vacuum
|
|||||||
This allows vacuum to target specific pages for possible free space
|
This allows vacuum to target specific pages for possible free space
|
||||||
without requiring a sequential scan.
|
without requiring a sequential scan.
|
||||||
|
|
||||||
|
* Create a bitmap of pages that need vacuuming
|
||||||
|
|
||||||
|
Instead of sequentially scanning the entire table, have the background
|
||||||
|
writer or some other process record pages that have expired rows, then
|
||||||
|
VACUUM can look at just those pages rather than the entire table. In
|
||||||
|
the event of a system crash, the bitmap would probably be invalidated.
|
||||||
|
|
||||||
* Auto-vacuum
|
* Auto-vacuum
|
||||||
o Move into the backend code
|
o Move into the backend code
|
||||||
o Scan the buffer cache to find free space or use background writer
|
o Scan the buffer cache to find free space or use background writer
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
|
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
|
||||||
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
|
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
|
||||||
<p>Current maintainer: Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
|
<p>Current maintainer: Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
|
||||||
Last updated: Tue Jun 14 19:44:43 EDT 2005
|
Last updated: Thu Jun 16 22:20:43 EDT 2005
|
||||||
</p>
|
</p>
|
||||||
<p>The most recent version of this document can be viewed at<br/>
|
<p>The most recent version of this document can be viewed at<br/>
|
||||||
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
|
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
|
||||||
@ -735,6 +735,12 @@ first.
|
|||||||
</li><li>Maintain a map of recently-expired rows
|
</li><li>Maintain a map of recently-expired rows
|
||||||
<p> This allows vacuum to target specific pages for possible free space
|
<p> This allows vacuum to target specific pages for possible free space
|
||||||
without requiring a sequential scan.
|
without requiring a sequential scan.
|
||||||
|
</p>
|
||||||
|
</li><li>Create a bitmap of pages that need vacuuming
|
||||||
|
<p> Instead of sequentially scanning the entire table, have the background
|
||||||
|
writer or some other process record pages that have expired rows, then
|
||||||
|
VACUUM can look at just those pages rather than the entire table. In
|
||||||
|
the event of a system crash, the bitmap would probably be invalidated.
|
||||||
</p>
|
</p>
|
||||||
</li><li>Auto-vacuum
|
</li><li>Auto-vacuum
|
||||||
<ul>
|
<ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user