Re: raising the default default_statistics_target

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: raising the default default_statistics_target
Дата
Msg-id 200403081922.i28JMaR18689@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: raising the default default_statistics_target  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Do all the columns have to have the same number of statistics buckets? 
> 
> They do not, but the effort spent by ANALYZE is proportional to the
> largest stats target among all the columns of the table.

Could we use previous stats to determine how many buckets to use when
running ANALYZE.  Also, if columns have a different number of buckets,
does that mean that we don't have the same per-query overhead for a
larger stats target?

--  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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: raising the default default_statistics_target
Следующее
От: Tom Lane
Дата:
Сообщение: Re: COMMENT ON [GROUP/USER]