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

Commit9322a04

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 parentcf17131 commit9322a04

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 117:30:23 EST 2005
5+
Last updated:Thu Dec 123: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
<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: Thu Dec 117:30:23 EST 2005
11+
Last updated: Thu Dec 123:28:03 EST 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>.
@@ -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)

[8]ページ先頭

©2009-2025 Movatter.jp