Re: Thinking About Correlated Columns (again) - Mailing list pgsql-performance

From Shaun Thomas
Subject Re: Thinking About Correlated Columns (again)
Date
Msg-id 5193B771.70502@optionshouse.com
Whole thread Raw
In response to Re: Thinking About Correlated Columns (again)  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-performance
On 05/15/2013 10:52 AM, Heikki Linnakangas wrote:

> I think it would be pretty straightforward to use such a statistic,
> once we have it. So perhaps we should get started by allowing the DBA
> to set a correlation metric manually, and use that in the planner.

The planner already kinda does this with functional indexes. It would
definitely be nice to override the stats with known correlations when
possible.

--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604
312-676-8870
sthomas@optionshouse.com

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email


pgsql-performance by date:

Previous
From: Craig James
Date:
Subject: Re: Thinking About Correlated Columns (again)
Next
From: Andrew Dunstan
Date:
Subject: Re: Thinking About Correlated Columns (again)