Re: Better estimates of index correlation

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, jd <jd(at)commandprompt(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Better estimates of index correlation
Date: 2011-03-14 14:42:04
Message-ID: AANLkTi=oEmZzD0feYQzpXo8VjmOFUGB8p6zRDCGZJoHv@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 14, 2011 at 10:38 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Note that we could remove the correlation
> calculations from ANALYZE altogether.

Only if you don't mind having them only get updated when somebody
vacuums. If a table is mostly getting inserted into, it may not get
vacuumed very often (or possibly even - never).

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Susanne Ebrecht 2011-03-14 14:42:09 Re: Collations versus user-defined functions
Previous Message Bruce Momjian 2011-03-14 14:40:46 Re: Macros for time magic values