Skip to content

Commit 9322a04

Browse files
committed
Add calcluation of bitmap storage capacity.
< be cleared when a heap tuple is expired. Another idea is to maintain < a bitmap of heap pages where all rows are visible to all backends, < and allow index lookups to reference that bitmap to avoid heap < lookups, perhaps the same bitmap we might add someday to determine < which heap pages need vacuuming. > be cleared when a heap tuple is expired. > > Another idea is to maintain a bitmap of heap pages where all rows > are visible to all backends, and allow index lookups to reference > that bitmap to avoid heap lookups, perhaps the same bitmap we might > add someday to determine which heap pages need vacuuming. Frequently > accessed bitmaps would have to be stored in shared memory. One 8k > page of bitmaps could track 512MB of heap pages.
1 parent cf17131 commit 9322a04

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

doc/TODO

Lines changed: 9 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: Thu Dec 1 17:30:23 EST 2005
5+
Last updated: Thu Dec 1 23:28:03 EST 2005
66

77
The most recent version of this document can be viewed at
88
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -862,11 +862,14 @@ Cache Usage
862862
the heap. One way to allow this is to set a bit on index tuples
863863
to indicate if a tuple is currently visible to all transactions
864864
when the first valid heap lookup happens. This bit would have to
865-
be cleared when a heap tuple is expired. Another idea is to maintain
866-
a bitmap of heap pages where all rows are visible to all backends,
867-
and allow index lookups to reference that bitmap to avoid heap
868-
lookups, perhaps the same bitmap we might add someday to determine
869-
which heap pages need vacuuming.
865+
be cleared when a heap tuple is expired.
866+
867+
Another idea is to maintain a bitmap of heap pages where all rows
868+
are visible to all backends, and allow index lookups to reference
869+
that bitmap to avoid heap lookups, perhaps the same bitmap we might
870+
add someday to determine which heap pages need vacuuming. Frequently
871+
accessed bitmaps would have to be stored in shared memory. One 8k
872+
page of bitmaps could track 512MB of heap pages.
870873

871874
* Consider automatic caching of queries at various levels:
872875

doc/src/FAQ/TODO.html

Lines changed: 9 additions & 6 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:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
11-
Last updated: Thu Dec 1 17:30:23 EST 2005
11+
Last updated: Thu Dec 1 23:28:03 EST 2005
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>.
@@ -781,11 +781,14 @@ <h1><a name="section_15">Cache Usage</a></h1>
781781
the heap. One way to allow this is to set a bit on index tuples
782782
to indicate if a tuple is currently visible to all transactions
783783
when the first valid heap lookup happens. This bit would have to
784-
be cleared when a heap tuple is expired. Another idea is to maintain
785-
a bitmap of heap pages where all rows are visible to all backends,
786-
and allow index lookups to reference that bitmap to avoid heap
787-
lookups, perhaps the same bitmap we might add someday to determine
788-
which heap pages need vacuuming.
784+
be cleared when a heap tuple is expired.
785+
</p>
786+
<p> Another idea is to maintain a bitmap of heap pages where all rows
787+
are visible to all backends, and allow index lookups to reference
788+
that bitmap to avoid heap lookups, perhaps the same bitmap we might
789+
add someday to determine which heap pages need vacuuming. Frequently
790+
accessed bitmaps would have to be stored in shared memory. One 8k
791+
page of bitmaps could track 512MB of heap pages.
789792
</p>
790793
</li><li>Consider automatic caching of queries at various levels:
791794
<ul>

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