pg_dumpall blocking other sessions

Поиск
Список
Период
Сортировка
От Terry Schmitt
Тема pg_dumpall blocking other sessions
Дата
Msg-id AANLkTi=ztzVi4k1KkAMNLSNKjM7SP5tDBmvb1oPbfrMs@mail.gmail.com
обсуждение исходный текст
Ответы Re: pg_dumpall blocking other sessions  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-admin
Hi All,

I had a situation where a session was getting blocked while per
performing a pg_dumpall.

I could see the pg_dumpall session executing a COPY command on a table
in one schema.
Another user session was attempting to truncate a different table in a
different schema, but in the same database. This session was being
blocked by the pg_dumpall session.

I intend to test this further, but my understanding was that pg_dump
was a non-blocking operation. I'm still on the learning curve with
Postgres 8.4 (actually EnterpriseDB Advanced Server), so maybe I just
need more detail on how pg_dumpall works.
Is the truncate perhaps the problem, but other dml is allowed?

Thanks much,
Terry

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

Предыдущее
От: Victor Hugo
Дата:
Сообщение: PGPOOL-II
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: pg_dumpall blocking other sessions