Re: autovacuum question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Scot Kreienkamp" <SKreien(at)la-z-boy(dot)com>
Cc: "Scott Mead" <scott(dot)lists(at)enterprisedb(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: autovacuum question
Date: 2010-03-09 03:31:42
Message-ID: 29638.1268105502@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Scot Kreienkamp" <SKreien(at)la-z-boy(dot)com> writes:
>> Why not just add an 'analyze' as the last step of the restore job?

> Due to the amount of time it takes. The disks are slow enough to make a
> database-wide analyze painful since I would have to repeat it every 1-2
> hours, IE every reload time.

You claimed that before. It didn't make any sense then and it doesn't
now. There is no way that an analyze is expensive compared to a
database reload.

Maybe what you need to be doing is rethinking the strategy that involves
reloading every couple of hours...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sam Carleton 2010-03-09 05:07:14 Re: managing tablespaces like files?
Previous Message Scot Kreienkamp 2010-03-09 03:11:03 Re: autovacuum question