Re: Stats for multi-column indexes - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Stats for multi-column indexes
Date
Msg-id 1174411134.23455.506.camel@dogma.v10.wvs
Whole thread Raw
In response to Re: Stats for multi-column indexes  ("Simon Riggs" <simon@2ndquadrant.com>)
List pgsql-hackers
On Tue, 2007-03-20 at 09:03 +0000, Simon Riggs wrote:
> We should allow the DBA to specify which groups of cols to keep
> statistics on, if there is no index on that group.
> 
> That solves the combinatorial explosion problem.
> 

I think it would be a good first step if we could just keep stats on
multiple columns in the same table. If we can do more than that, great.

We could probably keep stats on multiple columns across different
tables, but I don't know how those statistics should be used. Using
statistics to estimate joins seems like a tricky problem. Maybe it's
already solved with known algorithms?

Regards,Jeff Davis



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Stats for multi-column indexes
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Buildfarm feature request: some way to track/classify failures