Re: pg_restore dependencies

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: pg_restore dependencies
Дата
Msg-id 49E289F0.30805@agliodbs.com
обсуждение исходный текст
Ответ на Re: pg_restore dependencies  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew, Tom,

I just did a test run using Andrew's patch with a database with over 400 
objects.  I didn't see any locks waiting during the entire run.  So the 
patch logic appears to work.

Note that it also shows up that some CONSTRAINT declarations really 
shouldn't require an exclusive lock.  I'd estimate that if we could step 
a lot of constraints down to sharelock (yes, I know, there's some issues 
with that), it would shorten a parallel restore by a large chunk (like 
25% in the 4-core case I'm testing).

-- 
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_restore dependencies
Следующее
От: Abhijit Menon-Sen
Дата:
Сообщение: [PATCH] Add a test for pg_get_functiondef()