Re: Pg_upgrade speed for many tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Pg_upgrade speed for many tables
Дата
Msg-id 23703.1352146480@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Pg_upgrade speed for many tables  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Pg_upgrade speed for many tables  (Magnus Hagander <magnus@hagander.net>)
Re: Pg_upgrade speed for many tables  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Magnus reported that a customer with a million tables was finding
> pg_upgrade slow.

You sure there's not an O(N^2) issue in there somewhere?

> I don't see anything unsafe about having pg_upgrade use
> synchronous_commit=off.

No objection, but this seems unlikely to be better than linear speedup,
with a not-terribly-large constant factor.

BTW, does pg_upgrade run pg_restore in --single-transaction mode?
That would probably make synchronous_commit moot, at least for that
step.
        regards, tom lane



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Pg_upgrade speed for many tables
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Limiting the number of parameterized indexpaths created