Re: [GENERAL] Dumping/Restoring with constraints?

This is a discussion on Re: [GENERAL] Dumping/Restoring with constraints? within the postgresql forums in Other Databases category; Thanks Bill for this recommendation: > *) In the early step dump the data only with pg_dumpall --disable-triggers -a Dumb question. Will this kind of pg_dumpall lead to downtime, I mean is there a database lock during this time? Thanks! -- Sent via pgsql-general mailing list (pgsql-general-at-postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general...

Go Back   Database Forum > Other Databases > postgresql

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-27-2008, 11:26 AM
Default Re: [GENERAL] Dumping/Restoring with constraints?

Thanks Bill for this recommendation:


> *) In the early step dump the data only with pg_dumpall --disable-triggers -a



Dumb question. Will this kind of pg_dumpall lead to downtime, I mean
is there a database lock during this time?

Thanks!

--
Sent via pgsql-general mailing list (pgsql-general-at-postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply With Quote
  #2  
Old 08-27-2008, 12:32 PM
Default Re: [GENERAL] Dumping/Restoring with constraints?

On Wed, Aug 27, 2008 at 10:40:41PM +0800, Phoenix Kiula wrote:

> Thanks. But there seems to be a tangible slowdown of Database operations
> during the time that pg_dump is running.


Yes. Pg_dump copies all the data out, so it puts load on your
database and disks.

A
--
Andrew Sullivan
ajs-at-commandprompt.com
+1 503 667 4564 x104
http://www.commandprompt.com/

--
Sent via pgsql-general mailing list (pgsql-general-at-postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 01:50 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.