Re: Slow Restoration of a template1 Database (ALTER GROUP)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Slow Restoration of a template1 Database (ALTER GROUP)
Дата
Msg-id 9190.1107889060@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Slow Restoration of a template1 Database (ALTER GROUP)  ("Ben Young" <Ben.Young@etrials.com>)
Список pgsql-performance
"Ben Young" <Ben.Young@etrials.com> writes:
> When trying to restore my template1 database (7.3.4) I am
> experiencing very long delays.  For 600 users (pg_shadow)
> and 4 groups (pg_group) it is taking 1hr and 17 minutes to
> complete.  All of the create user statements are processed in a
> matter of seconds, but each alter groups statement takes
> about 10 seconds to process.

I tried doing 1000 ALTER GROUP ADD USER commands in 7.3, and didn't
see any particular performance problem.  Could we see the output
of "VACUUM FULL VERBOSE pg_group"?

            regards, tom lane

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

Предыдущее
От: "Ben Young"
Дата:
Сообщение: Slow Restoration of a template1 Database (ALTER GROUP)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Slow Restoration of a template1 Database (ALTER GROUP)