Re: PG_DUMP and table locking in PG7.4 - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: PG_DUMP and table locking in PG7.4
Date
Msg-id 437ADE23.6070107@familyhealth.com.au
Whole thread Raw
In response to Re: PG_DUMP and table locking in PG7.4  (Yann Michel <yann-postgresql@spline.de>)
List pgsql-hackers
> I'm asking, because we have a bigger datawarehouse and dump the data for
> a backup every night. Unfortunately, the backup now takes realy long.
> That means, other processes that insert data will have to wait which is
> sometime really long! I was searching for a way to avoid this. I thought
> besides the query-speedub we could also gain some benefit for the backup
> timing... but it sounds, that this will not automatically help me with
> that. :-(

No, all the tables are locked in ACCESS SHARE mode.  All that means is 
that you cannot alter the schema of the tables in any way.

Chris



pgsql-hackers by date:

Previous
From: Yann Michel
Date:
Subject: Re: PG_DUMP and table locking in PG7.4
Next
From: Martijn van Oosterhout
Date:
Subject: Re: PG_DUMP and table locking in PG7.4