Re: Default Stats Revisited

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Default Stats Revisited
Дата
Msg-id 200403120229.i2C2Tpk11246@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Default Stats Revisited  (Robert Treat <xzilla@users.sourceforge.net>)
Ответы Re: Default Stats Revisited  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Robert Treat wrote:
> 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) ?

Another idea is whether a foreign key column should get extra
statistics?

> 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... 

Agreed.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Performance and WAL on big inserts/updates
Следующее
От: Marty Scholes
Дата:
Сообщение: Re: Performance and WAL on big inserts/updates