Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Expected accuracy of planner statistics



Tom Lane wrote:

The information we've seen says that the only statistically reliable way
to arrive at an accurate n_distinct estimate is to examine most of the
table :-(.

IIRC I picked an equation out of the literature partially on the basis
of it being simple and fairly cheap to compute...

I'm very curious about this - can you recall where you got this, or at least point me to where in the code this happens?

Thanks.

- John Burger
  MITRE



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group