Re: Why we don't want hints Was: Slow count(*) again... - Mailing list pgsql-performance

From Robert Haas
Subject Re: Why we don't want hints Was: Slow count(*) again...
Date
Msg-id AANLkTimjt7PGuSyXFsedjCsANzMiVYNDfUUaPJ6_wqrr@mail.gmail.com
Whole thread Raw
In response to Re: Why we don't want hints Was: Slow count(*) again...  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Why we don't want hints Was: Slow count(*) again...  (pasman pasmański <pasman.p@gmail.com>)
List pgsql-performance
On Wed, Feb 16, 2011 at 4:22 PM, Bruce Momjian <bruce@momjian.us> wrote:
> I am not excited about the idea of putting these correlations in
> queries.  What would be more intesting would be for analyze to build a
> correlation coeffficent matrix showing how columns are correlated:
>
>        a   b   c
>    a   1   .4  0
>    b   .1  1   -.3
>    c   .2  .3  1
>
> and those correlations could be used to weigh how the single-column
> statistics should be combined.

If you can make it work, I'll take it... it's (much) easier said than
done, though.

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

pgsql-performance by date:

Previous
From: Clemens Eisserer
Date:
Subject: Re: Slow query execution over high latency network
Next
From: Robert Haas
Date:
Subject: Re: Query performance with disabled hashjoin and mergejoin