Re: [HACKERS] Early locking option to parallel backup
От | Robert Haas |
---|---|
Тема | Re: [HACKERS] Early locking option to parallel backup |
Дата | |
Msg-id | CA+TgmoYA+t37akkH79Dqx4=FJk6VKPmtgsHLQFgBFeDxkk1eVw@mail.gmail.com обсуждение исходный текст |
Ответ на | [HACKERS] Early locking option to parallel backup (Lucas <lucas75@gmail.com>) |
Ответы |
Re: [HACKERS] Early locking option to parallel backup
|
Список | pgsql-hackers |
On Sun, Nov 5, 2017 at 5:17 AM, Lucas <lucas75@gmail.com> wrote: > The patch creates a "--lock-early" option which will make pg_dump to issue > shared locks on all tables on the backup TOC on each parallel worker start. > That way, the backup has a very small chance of failing. When it does, > happen in the first few seconds of the backup job. My backup scripts (not > included here) are aware of that and retries the backup in case of failure. I wonder why we don't do this already ... and by default. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления: