Re: Time limit for a process to hold Content lock in Buffer Cache

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Time limit for a process to hold Content lock in Buffer Cache
Дата
Msg-id 16026.1369322170@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Time limit for a process to hold Content lock in Buffer Cache  (Atri Sharma <atri.jiit@gmail.com>)
Ответы Re: Time limit for a process to hold Content lock in Buffer Cache
Список pgsql-hackers
Atri Sharma <atri.jiit@gmail.com> writes:
>> For instance, take out exclusive locks on all your tables and just
>> go to sleep (although I think this is limited by table permissions in
>> recent PG versions).

> This is what I have been worried about. The locks(exclusive locks or
> content locks in buffers) can be held and stalled. Cant we do anything
> about it? This is why I contemplated the timeout part.

No, you're not following.  These would be table-level heavyweight locks,
and there already are timeout mechanisms that work at that level.
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Move unused buffers to freelist
Следующее
От: Amit Langote
Дата:
Сообщение: Re: Time limit for a process to hold Content lock in Buffer Cache