Search Postgresql Archives

Re: Expected accuracy of planner statistics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In article <20060929010011.GQ34238@xxxxxxxxx>,
 jim@xxxxxxxxx ("Jim C. Nasby") wrote:

> The problem is that you can't actually get
> a good n_distinct estimate if you're sampling less than a very large
> chunk of the table. Since our sampling maxes out at something like 30k
> pages, at some point the n_distinct estimates just degrade. :(

Can the DBA just set n_distinct?  Sometimes s/he just knows what the 
value should be.

Then, of course, the questions becomes how to keep vacuum et al from 
messing it up.

-arturo


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux