Re: pg_dump issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump issue
Дата
Msg-id 24064.1149002148@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump issue  ("mcelroy, tim" <tim.mcelroy@bostonstock.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Speedup hint needed, if available? :)
Следующее
От: Mario Splivalo
Дата:
Сообщение: Re: Speedup hint needed, if available? :)