Re: Pg_upgrade speed for many tables

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Pg_upgrade speed for many tables
Дата
Msg-id CA+TgmoZE9re47+F9m6EuuJamvCa38Yi6M7Qs4WOGdbfXBXThgw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Pg_upgrade speed for many tables  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Pg_upgrade speed for many tables  (Bruce Momjian <bruce@momjian.us>)
Re: Pg_upgrade speed for many tables  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
On Mon, Nov 5, 2012 at 4:33 PM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> AFAIR any transaction that modifies catalogs gets sync commit forcibly,
> regardless of the setting.  And sync commit means you get to wait for
> all previous transactions to be flushed as well.  So simply creating a
> temp table ought to do the trick ...

I don't think there's a carve-out for system tables ... but creating a
temp table with synchronous_commit=on will certainly do the trick.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Pg_upgrade speed for many tables
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Pg_upgrade speed for many tables