Re: choosing the right locking mode

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: choosing the right locking mode
Дата
Msg-id 47F52C15.5060808@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: choosing the right locking mode  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-general
Scott Marlowe wrote:
>>
>>  The serial based approach sounds a fair bit better.
>>
Er, I meant "sequence".
>
> Add prepared select statements and you'd get get pretty fast
> performance.
>
Yep, and if DB round trips are a problem it can always be wrapped up in
a stored procedure. I'd be tempted to do that anyway just to simplify
the client's job, guarantee query plan caching, etc.

--
Craig Ringer

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: choosing the right locking mode
Следующее
От: rihad
Дата:
Сообщение: Re: deadlock