X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E94F99FA1A8 for ; Fri, 2 Jun 2006 09:43:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 53148-08 for ; Fri, 2 Jun 2006 09:43:29 -0300 (ADT) X-Greylist: delayed 00:25:43.135324 by SQLgrey- Received: from office1.i-free.ru (office1.i-free.ru [81.222.216.82]) by postgresql.org (Postfix) with ESMTP id 5D16B9FA040 for ; Fri, 2 Jun 2006 09:43:29 -0300 (ADT) Received: from [192.168.0.185] (helo=mail.i-free.local) by office1.i-free.ru with esmtp (Exim 3.36 #1 (Debian)) id 1Fm8as-0007AV-00 for ; Fri, 02 Jun 2006 16:17:34 +0400 Received: from deepcore.i-free.ru ([192.168.0.250]) by mail.i-free.local with Microsoft SMTPSVC(6.0.3790.1830); Fri, 2 Jun 2006 16:17:24 +0400 Date: Fri, 2 Jun 2006 16:17:35 +0400 From: Evgeny Gridasov To: pgsql-performance@postgresql.org Subject: Re: pg_dump issue Message-Id: <20060602161735.2a24bc5a.eugene@i-free.ru> In-Reply-To: <9765373733A7DF4681B12225D2FC44050D6D0C@bosexprod001.bostonstock.local> References: <9765373733A7DF4681B12225D2FC44050D6D0C@bosexprod001.bostonstock.local> Organization: i-free.ru X-Mailer: Sylpheed version 2.2.5 (GTK+ 2.6.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 Jun 2006 12:17:24.0206 (UTC) FILETIME=[814D50E0:01C6863E] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/27 X-Sequence-Number: 19384 try to dump-restore your 'slow' database, this might help if your db or filesystem gets too fragmented. On Tue, 30 May 2006 10:31:08 -0400 "mcelroy, tim" wrote: > Good morning, > > I have identical postgres installations running on identical machines. Dual > Core AMD Opteron(tm) Processor 870 , 16GB RAM, Red Hat Linux 3.2.3-20 and > 120GB worth of disk space on two drives. > > Recently, I have noticed that my nightly backups take longer on one machine > than on the other. I back up five (5) databases totaling 8.6GB in size. On > Prod001 the backups take app. 7 minutes, on Prod002 the backups take app. 26 > minutes! Quite a discrepancy. I checked myself than checked with our > Engineering staff and have been assured that the machines are identical > hardware wise, CPU, disk, etc. > > Question; has anyone run into a similar issue? Here is the command I use > for the nightly backup on both machines: > > pg_dump -F c -f $DB.backup.$DATE $DB > > Kind of scratching my head on this one.... > > Thank you, > Tim McElroy > > -- Evgeny Gridasov Software Engineer I-Free, Russia