Re: Lock during insert statement

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: Lock during insert statement
Дата
Msg-id CAMkU=1zJhkWWAca8MgXC8ER0cWUg7aWqNF5spnn3nbZ0yfkTbw@mail.gmail.com
обсуждение исходный текст
Ответ на Lock during insert statement  (AI Rumman <rummandba@gmail.com>)
Ответы Re: Lock during insert statement
Список pgsql-general
On Wed, May 21, 2014 at 3:14 PM, AI Rumman <rummandba@gmail.com> wrote:
Could any one please tell me why my system is waiting to get lock for an INSERT statement?

2014-05-21 07:52:49.965 PDT [9-1]LOG:  process 31407 acquired ExclusiveLock on extension of relation 429298276 of database 21497 after 3219.963 ms

"on extension of relation" means that it needs to add 8KB to the end of the table.  That it takes so long to obtain that locks suggests you have a some serious IO congestion.

Cheers,

Jeff

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

Предыдущее
От: AI Rumman
Дата:
Сообщение: Lock during insert statement
Следующее
От: AI Rumman
Дата:
Сообщение: Re: Lock during insert statement