Re: pg_dump issue - Mailing list pgsql-performance

From Tom Lane
Subject Re: pg_dump issue
Date
Msg-id 24064.1149002148@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump issue  ("mcelroy, tim" <tim.mcelroy@bostonstock.com>)
List pgsql-performance
"mcelroy, tim" <tim.mcelroy@bostonstock.com> writes:
> 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.

Are the resulting backup files identical?  Chasing down the reasons for
any diffs might yield some enlightenment.

One idea that comes to mind is that Prod002 is having performance
problems due to table bloat (maybe a missing vacuum cron job or
some such).  A quick "du" on the two $PGDATA directories to check
for significant size differences would reveal this if so.

            regards, tom lane

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Speedup hint needed, if available? :)
Next
From: Mario Splivalo
Date:
Subject: Re: Speedup hint needed, if available? :)