Re: Default Stats Revisited - Mailing list pgsql-hackers

From Robert Treat
Subject Re: Default Stats Revisited
Date
Msg-id 200403111755.31689.xzilla@users.sourceforge.net
Whole thread Raw
In response to Re: Default Stats Revisited  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Default Stats Revisited
Re: Default Stats Revisited
List pgsql-hackers
On Thursday 11 March 2004 14:17, Josh Berkus wrote:
> Tom,
>
> > Maybe you should ask on -admin or -general.  Personally I thought there
> > wasn't anything to say until someone did some experiments to show
> > whether an indexed-column differential is really worthwhile and what a
> > plausible default value would be.  The idea sounds good in the abstract,
> > but will it really help or just be another useless setting?
>
> Yeah, that's our next step, a test.
>
> On Monday,  I hope to have comparative stats for a difficult database on
> the 3 solutions (leaving things as-is, raising the general default stats,
> and doing index_stats).

Do you plan on handeling primary key columns differently (since they are 
likely to be unique and indexed) ?

Also how will you handle column that are part of expressional indexes (where 
foo is true for example) ?

Final thought... I'm a DBA and I think the straight number is simpler, though 
could be convinced to go with whichever is higher... 

Robert Treat
-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: unsafe floats
Next
From: Tom Lane
Date:
Subject: Re: unsafe floats