Re: Autovacuum and Insert wait

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Autovacuum and Insert wait
Дата
Msg-id 202310251115.5kpzzeujhwtn@alvherre.pgsql
обсуждение исходный текст
Ответ на Autovacuum and Insert wait  (Rajesh Kumar <rajeshkumar.dba09@gmail.com>)
Ответы Re: Autovacuum and Insert wait  (Rajesh Kumar <rajeshkumar.dba09@gmail.com>)
Список pgsql-admin
On 2023-Oct-25, Rajesh Kumar wrote:

> Can autovacuum cause insert wait?

Yes, in unlucky situations.

> I could see in log that there are lot of insert waiting for a table ...At
> the same time autovacuum is running for table.

Did you examine pg_locks and pg_stat_activity in detail to see what
exactly was going on?  It's easy to jump to wrong conclusions.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"Aprender sin pensar es inútil; pensar sin aprender, peligroso" (Confucio)



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

Предыдущее
От: Rajesh Kumar
Дата:
Сообщение: Autovacuum and Insert wait
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: User/Roles, Owner, and privileges migration strategy