Re: pg_upgrade and statistics

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: pg_upgrade and statistics
Дата
Msg-id 4F61C25302000025000462F4@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: pg_upgrade and statistics  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: pg_upgrade and statistics
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> wrote:
> I think we have two choices --- either migrate the statistics, or
> adopt my approach to generating incremental statistics quickly.
> Does anyone see any other options?
Would it make any sense to modify the incremental approach to do a
first pass of any tables with target overrides, using the default
GUC setting, and then proceed through the passes you describe for
all tables *except* those?  I'm thinking that any overrides were
probably set because the columns are particularly important in terms
of accurate statistics, and that running with different GUC settings
will just be a waste of time for those tables -- if they have a high
setting for any column, they will sample more blocks for every run,
right?
-Kevin


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_upgrade and statistics
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade and statistics