Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 6DA902E0040 for ; Mon, 5 May 2008 19:04:24 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 60760-03 for ; Mon, 5 May 2008 19:04:16 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.245]) by developer.postgresql.org (Postfix) with ESMTP id ABF6F2E002D for ; Mon, 5 May 2008 19:04:21 -0300 (ADT) Received: by ag-out-0708.google.com with SMTP id 31so1551754agc.5 for ; Mon, 05 May 2008 15:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=F4lBCrKy50ZQNVHFchoS7M16kp5ft5xyUL6FRGzFe1Q=; b=v/3tqm0O+MyUnRT0kB4dV3jEEtVfyZUuZdQ+LujjSF+KN5xRzTZ+Mhzf5MqFKURcv2tfMuNiT5kVzrpYcUY25LGPsTH0R1rFsjgoh3eWsXLgGbpKTyY8h0DR5ouSsAv69Ezsi4GqTcEB0Wzpt8m6BkArpotWmE1UpRfn9aNMvG0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ya2ojb4X30MEyC1IV+r0hzzLRnJnDKLBt+47CgcGGKwM/0fT+4/oRsZgk+YnicuZoqTpekGEDD4WU6q4tFGKmBBGatnpETxDJTLfkbK+aH2E5kLC8aQNCpy+3V+c90H/ZiEzSiE/yk0+yrZc2Vx/IPDgLQa2FYKmSSQRq/zl7U4= Received: by 10.115.18.1 with SMTP id v1mr6217624wai.81.1210024232671; Mon, 05 May 2008 14:50:32 -0700 (PDT) Received: by 10.114.137.7 with HTTP; Mon, 5 May 2008 14:50:30 -0700 (PDT) Message-ID: Date: Mon, 5 May 2008 15:50:30 -0600 From: "Scott Marlowe" To: "Greg Smith" Subject: Re: Backup causing poor performance - suggestions Cc: "Campbell, Lance" , pgsql-performance@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/61 X-Sequence-Number: 30029 On Mon, May 5, 2008 at 2:03 PM, Greg Smith wrote: > On Mon, 5 May 2008, 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? > > > > Uh, don't do that? pg_dump works OK doing periodic backups during > relatively calm periods, it's not really appropriate to run all the time > like that. Wow, my reading comprehension must be dropping. I totally missed the every half hour bit and read it as every day. If you're backing up a live database every hour, then yes, it's a very good idea to switch to a hot or cold standby method with PITR