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 8 of 11 Topic 4047 of 4352
Post > Topic >>

Re: Backup causing poor performance - suggestions

by scott.marlowe@[EMAIL PROTECTED] ("Scott Marlowe") May 5, 2008 at 01:44 PM

On Mon, May 5, 2008 at 11:19 AM, Campbell, Lance <lance@[EMAIL PROTECTED]
> wrote:
> Scott,
>  When I do a df -h I see that the database takes up a total of 8Gig of
>  disk space.  This is not the size of the backup file of the database.

Ok.  Just wanted to make sure.  Looking at vmstat, with little or no
blocks read in, it would appear your database fits in memory.

>  I have attached the vmstats as a text file.  Are there any properties I
>  could adjust that would help with writing data during a backup?  Are
>  there any properties that might help with improving pg_dump
performance?

With as much writing as you have going on, it might help to crank up
your setting for checkpoint segments to something like 100 or more.
With as much disk space as you've got you can afford it.  Other than
that, you might wanna look at a faster / better RAID controller in the
future.  One with lots of battery backed cache set to write back.

>  Ideally I want to keep the backups as simple a process as possible
>  before we have to go to the next level of backup.  My next strategy is
>  to put some of the tables in tablespaces on a couple different disks. 
I
>  will also backup to a dedicated set of disks.  If there are a few
>  performance tweaks I can make I will.  I was hoping to wait a few years
>  before we have to go to a more involved backup process.

It may well be cheaper to go the route of a faster RAID controller
with battery backed cache, since it's a one time investment, not an
ongoing maintenance issue like running PITR or slony can become.  Plus
it helps overall performance quite a bit.

-- 
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 Sun Oct 12 9:41:35 CDT 2008.