Re: pg_upgrade: Pass -j down to vacuumdb

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pg_upgrade: Pass -j down to vacuumdb
Дата
Msg-id 18557ba2-3ee7-9e17-44f2-e208d26b8640@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: pg_upgrade: Pass -j down to vacuumdb  (Justin Pryzby <pryzby@telsasoft.com>)
Ответы Re: pg_upgrade: Pass -j down to vacuumdb  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2019-04-03 23:24, Justin Pryzby wrote:
> I just did a test on one of our large-but-not-huge customers.  With
> stats_target=1, analyzing a 145GB partitioned table looks like it'll take
> perhaps an hour; they have ~1TB data, so delaying services during ANALYZE would
> nullify the utility of pg_upgrade.  I can restore the essential tables from
> backup in 15-30 minutes.

I think the real fix is to have pg_upgrade copy over the statistics.
They are right there after all, just take them.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Antonin Houska
Дата:
Сообщение: Re: "WIP: Data at rest encryption" patch and, PostgreSQL 11-beta3
Следующее
От: Amit Langote
Дата:
Сообщение: Re: [HACKERS] generated columns