Re: New feature: skip row locks when table is locked.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: New feature: skip row locks when table is locked.
Дата
Msg-id 201104291025.02503.andres@anarazel.de
обсуждение исходный текст
Ответ на Re: New feature: skip row locks when table is locked.  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: New feature: skip row locks when table is locked.  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-general
On Thursday, April 28, 2011 11:44:37 PM Jeff Davis wrote:
> On Thu, 2011-04-28 at 07:29 +0200, pasman pasmański wrote:
> > Hi. Yesterday i have an idea, that sometimes row locks may be skipped,
> > when table is already locked with LOCK command. It may to reduce an
> > overhead from row locks.
> > What do you think about it?
> be using row locks if they already have an EXCLUSIVE lock on the table.
> Do you have a use-case in mind?
It could possibly reduce the disk overhead of doing foreign key checks during
large operations somewhat as fewer buffers would get dirtied.
At least thats the situation where I thought about it before.

Andres

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

Предыдущее
От: Toby Corkindale
Дата:
Сообщение: Re: SSDs with Postgresql?
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: SSDs with Postgresql?