| От | Tom Lane |
|---|---|
| Тема | Re: Shared row locking |
| Дата | |
| Msg-id | 16460.1103489694@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Shared row locking (Alvaro Herrera <alvherre@dcc.uchile.cl>) |
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> On Sun, Dec 19, 2004 at 09:52:01AM +0000, Simon Riggs wrote:
>> - use a lock mode called Cursor Stability that locks only those rows
>> currently being examined by a cursor, those maintaining the lock usage
>> of a cursor at a constant level as the cursor moves. The lock mode of
>> Repeatable Read *does* lock all rows read
> We can't release the locks until the end of the transaction.
Well, what Simon is essentially proposing is that we work around a
potential performance issue by exposing a less-clean semantic model
to users. I'd prefer to adopt such a thing as a last resort, not a
first one.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера