Re: choosing the right locking mode

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: PgSQL General ML <pgsql-general(at)postgresql(dot)org>
Subject: Re: choosing the right locking mode
Date: 2008-04-03 19:12:21
Message-ID: 47F52C15.5060808@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message rihad 2008-04-03 19:22:05 Re: deadlock
Previous Message Darcy Buskermolen 2008-04-03 19:03:43 Re: modules