Re: Transaction and table partitioning

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Dragan Zubac <zubacdragan(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Transaction and table partitioning
Date: 2006-07-03 17:03:40
Message-ID: 20060703170340.GA9567@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jul 03, 2006 at 14:59:49 +0200,
Dragan Zubac <zubacdragan(at)gmail(dot)com> wrote:
>
> Is it possible to use transactions with 'per sub table' locks? What I
> mean,if I partition a table and use transaction on that table with
> constraint,will the database lock the master table (and all subtables),or
> only sub table where the data is ?

Are you sure locking will be a problem? MVCC avoids a lot of typical
conflicts.
If you are doing something that is locking the tables in a way that causes
problems, I think you will need to be more specific about what you are
doing to get useful suggestions.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2006-07-03 20:34:46 mysterious nbtree.c comment
Previous Message Simon Riggs 2006-07-03 16:44:08 Re: Transaction and table partitioning