Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y9FFv-0007TK-MW for pgsql-admin@arkaria.postgresql.org; Thu, 08 Jan 2015 15:44:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y9FFv-0001kl-29 for pgsql-admin@arkaria.postgresql.org; Thu, 08 Jan 2015 15:44:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y9FFu-0001kd-8e for pgsql-admin@postgresql.org; Thu, 08 Jan 2015 15:44:14 +0000 Received: from proofpoint1.mail.rice.edu ([128.42.201.100] helo=pp1.rice.edu) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Y9FFp-0007As-8h for pgsql-admin@postgresql.org; Thu, 08 Jan 2015 15:44:12 +0000 Received: from pps.filterd (pp1.rice.edu [127.0.0.1]) by pp1.rice.edu (8.14.5/8.14.5) with SMTP id t08FWODr026357; Thu, 8 Jan 2015 09:44:04 -0600 Received: from mh1.mail.rice.edu (mh1.mail.rice.edu [128.42.201.20]) by pp1.rice.edu with ESMTP id 1rp2ajjhex-1; Thu, 08 Jan 2015 09:44:04 -0600 X-Virus-Scanned: by amavis-2.7.0 at mh1.mail.rice.edu, auth channel X-SMTP-Auth: no X-SMTP-Auth: no Received: from aart.rice.edu (aart.rice.edu [168.7.56.48]) by mh1.mail.rice.edu (Postfix) with ESMTP id 5947A4601ED; Thu, 8 Jan 2015 09:44:04 -0600 (CST) Received: by aart.rice.edu (Postfix, from userid 18612) id 476B7100754; Thu, 8 Jan 2015 09:44:04 -0600 (CST) Date: Thu, 8 Jan 2015 09:44:04 -0600 From: "ktm@rice.edu" To: David G Johnston Cc: pgsql-admin@postgresql.org Subject: Re: PostgreSQL Dump rate is too slow Message-ID: <20150108154404.GH3783@aart.rice.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1501080148 X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Thu, Jan 08, 2015 at 08:38:37AM -0700, David G Johnston wrote: > On Thu, Jan 8, 2015 at 12:12 AM, Adalkonda Harshad [via PostgreSQL] < > ml-node+s1045698n5833283h97@n5.nabble.com> wrote: > > > > > As the database size is too large and tweaking few database parameters > > will result towards performance improvement on pg_dump to some extent and > > pg_dump -j option would have helped if the DB version is PostgreSQL 9.3 but > > unfortunately your DB version is PostgreSQL 9.2 > > > > > ​pg_dump 9.3+ can be used against the 9.2 server without problems. Read > the documentation for the --jobs option for details. > > David J. > ​ > +1 This is a nice option for allowing you to leverage more than a single CPU core for the dump, provided you have the CPU and I/O cycles to support it. As others have suggested, offloading to a replica can help with that. Regards, Ken -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin