Re: [GENERAL] Locks Postgres

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: [GENERAL] Locks Postgres
Дата
Msg-id 62f1ee81-c2ee-b5fd-d521-bc5ba763916f@hogranch.com
обсуждение исходный текст
Ответ на [GENERAL] Locks Postgres  (Patrick B <patrickbakerbr@gmail.com>)
Ответы Re: [GENERAL] Locks Postgres  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
On 2/9/2017 9:00 PM, Patrick B wrote:
>
> Access share = Does that mean queries were waiting because an
> update/delete/insert was happening?
>

access share is taken by a SELECT, and all it blocks is an ACCESS
EXCLUSIVE lock, which is taken by operations like ALTER TABLE, VACUUM
FULL, and such global table operations.   that spike in your graph
suggests you had 8000 concurrent SELECT operations going on, which is
likely way more than you have compute and IO resources to handle
efficiently.


--
john r pierce, recycling bits in santa cruz



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: [GENERAL] Locks Postgres
Следующее
От: John R Pierce
Дата:
Сообщение: Re: [GENERAL] Locks Postgres