Re: Deferred constraints and locks...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Deferred constraints and locks...
Дата
Msg-id 1538.1202846665@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Deferred constraints and locks...  (Nathan Wilhelmi <wilhelmi@ucar.edu>)
Ответы Re: Deferred constraints and locks...
Re: Deferred constraints and locks...
Список pgsql-general
Nathan Wilhelmi <wilhelmi@ucar.edu> writes:
> Hello - Trying to track down a lock contention problem, I have a process
> that does a series of select / insert operations. At some point the
> process grabs a series of RowExclusiveLock(s) and has the obvious effect
> of stalling other processes. I logged all the statements and don't see
> any for update or explicit lock statements.

Insert statements would naturally take RowExclusiveLock, but that
doesn't block other DML operations.  So the question is what *else*
are you doing?

            regards, tom lane

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Some Autovacuum Questions
Следующее
От: Robert Treat
Дата:
Сообщение: Re: TSearch2 Migration Guide from 8.2 to 8.3