Skip to content

Commit c28c00e

Browse files
committed
Add:
> > * Add estimated_count(*) to return an estimate of COUNT(*) > > This would use the planner ANALYZE statistatics to return an estimated > count.
1 parent e96925f commit c28c00e

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

doc/TODO

Lines changed: 6 additions & 1 deletion
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: Wed Nov 16 13:44:51 EST 2005
5+
Last updated: Tue Nov 22 17:53:39 EST 2005
66

77
The most recent version of this document can be viewed at
88
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -841,6 +841,11 @@ Cache Usage
841841
faster than a sequential scan it must avoid access to the heap
842842
to obtain tuple visibility information.
843843

844+
* Add estimated_count(*) to return an estimate of COUNT(*)
845+
846+
This would use the planner ANALYZE statistatics to return an estimated
847+
count.
848+
844849
* Allow data to be pulled directly from indexes
845850

846851
Currently indexes do not have enough tuple visibility information

doc/src/FAQ/TODO.html

Lines changed: 5 additions & 1 deletion
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: Wed Nov 16 13:44:51 EST 2005
11+
Last updated: Tue Nov 22 17:53:39 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>.
@@ -762,6 +762,10 @@ <h1><a name="section_15">Cache Usage</a></h1>
762762
get a count directly from a unique index, but for this to be
763763
faster than a sequential scan it must avoid access to the heap
764764
to obtain tuple visibility information.
765+
</p>
766+
</li><li>Add estimated_count(*) to return an estimate of COUNT(*)
767+
<p> This would use the planner ANALYZE statistatics to return an estimated
768+
count.
765769
</p>
766770
</li><li>Allow data to be pulled directly from indexes
767771
<p> Currently indexes do not have enough tuple visibility information

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