Add URL for:

* Speed up COUNT(*)
>   http://archives.postgresql.org/pgsql-hackers/2005-11/msg00943.php
This commit is contained in:
Bruce Momjian 2006-10-24 02:41:22 +00:00
parent cfb3a42831
commit 2b1ccefe72
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@
PostgreSQL TODO List
====================
Current maintainer: Bruce Momjian (bruce@momjian.us)
Last updated: Sat Oct 21 13:31:12 EDT 2006
Last updated: Mon Oct 23 22:41:16 EDT 2006
The most recent version of this document can be viewed at
http://www.postgresql.org/docs/faqs.TODO.html.
@ -960,6 +960,7 @@ Cache Usage
get a count directly from a unique index, but for this to be
faster than a sequential scan it must avoid access to the heap
to obtain tuple visibility information.
http://archives.postgresql.org/pgsql-hackers/2005-11/msg00943.php
* Add estimated_count(*) to return an estimate of COUNT(*)

View File

@ -8,7 +8,7 @@
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
<p>Current maintainer: Bruce Momjian (<a href="mailto:bruce@momjian.us">bruce@momjian.us</a>)<br/>
Last updated: Sat Oct 21 13:31:12 EDT 2006
Last updated: Mon Oct 23 22:41:16 EDT 2006
</p>
<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>.
@ -867,6 +867,7 @@ first.
get a count directly from a unique index, but for this to be
faster than a sequential scan it must avoid access to the heap
to obtain tuple visibility information.
<a href="http://archives.postgresql.org/pgsql-hackers/2005-11/msg00943.php">http://archives.postgresql.org/pgsql-hackers/2005-11/msg00943.php</a>
</p>
</li><li>Add estimated_count(*) to return an estimate of COUNT(*)
<p> This would use the planner ANALYZE statistics to return an estimated