Re: Better estimates of index correlation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, jd(at)commandprompt(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Better estimates of index correlation
Date: 2011-03-15 00:51:44
Message-ID: 8231.1300150304@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Josh Berkus <josh(at)agliodbs(dot)com> writes:
>> I'm not convinced you can get a sufficiently good estimate from a small
>> subset of pages.

> Note that if this requires VACUUM rather than ANALYZE, it introduces a
> problem for data warehousing users, who can go years between vacuums of
> their largest tables.

It's likely that the default estimate of zero index correlation will
work just fine for such users ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2011-03-15 00:53:56 Re: Better estimates of index correlation
Previous Message Josh Berkus 2011-03-15 00:27:29 Re: Better estimates of index correlation