Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Re: Backup caus...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 11 Topic 4047 of 4424
Post > Topic >>

Re: Backup causing poor performance - suggestions

by craig_james@[EMAIL PROTECTED] (Craig James) May 5, 2008 at 09:10 AM

Campbell, Lance wrote:
> We currently backup all of our database tables per schema using pg_dump 
> every half hour.  We have been noticing that the database performance 
> has been very poor during the backup process.  How can I improve the 
> performance?

It sounds like the goal is to have frequent, near-real-time backups of
your databases for recovery purposes.  Maybe instead of looking at
pg_dump's performance, a better solution would be a replication system
such as Slony, or a "warm backup" using Skype Tools.

Backing up the database every half hour puts a large load on the system
during the dump, and means you are re-dumping the same data, 48 times per
day.  If you use a replication solution, the backup process is continuous
(spread out through the day), and you're not re-dumping static data; the
only data that moves around is the new data.

I've used Slony with mixed success; depending on the complexity and size
of your database, it can be quite effective.  I've heard very good re****ts
about Skype Tools, which has both a Slony-like replicator (not as
configurable as Slony, but easier to set up and use), plus an entirely
separate set of scripts that simplifies "warm standby" using WAL logging.

Craig

-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 11 Posts in Topic:
Backup causing poor performance - suggestions
lance@[EMAIL PROTECTED]   2008-05-05 09:59:57 
Re: Backup causing poor performance - suggestions
scott.marlowe@[EMAIL PROT  2008-05-05 09:05:32 
Re: Backup causing poor performance - suggestions
lance@[EMAIL PROTECTED]   2008-05-05 10:10:22 
Re: Backup causing poor performance - suggestions
scott.marlowe@[EMAIL PROT  2008-05-05 09:54:15 
Re: Backup causing poor performance - suggestions
craig_james@[EMAIL PROTEC  2008-05-05 09:10:16 
Re: Backup causing poor performance - suggestions
scott.marlowe@[EMAIL PROT  2008-05-05 11:05:03 
Re: Backup causing poor performance - suggestions
simon@[EMAIL PROTECTED]   2008-05-05 18:43:52 
Re: Backup causing poor performance - suggestions
scott.marlowe@[EMAIL PROT  2008-05-05 13:44:16 
Re: Backup causing poor performance - suggestions
gsmith@[EMAIL PROTECTED]   2008-05-05 16:03:58 
Re: Backup causing poor performance - suggestions
gsmith@[EMAIL PROTECTED]   2008-05-05 16:11:27 
Re: Backup causing poor performance - suggestions
scott.marlowe@[EMAIL PROT  2008-05-05 15:50:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 11:42:46 CST 2008.