Re: Vaccum analyze.

From: Lonni J Friedman <netllama(at)gmail(dot)com>
To: Fernando Lujan <flujan(at)uol(dot)com(dot)br>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Vaccum analyze.
Date: 2005-03-19 00:13:49
Message-ID: 7c1574a90503181613324720d4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 18 Mar 2005 20:28:50 -0300, Fernando Lujan <flujan(at)uol(dot)com(dot)br> wrote:
> Hi folks,
>
> I wanna know from you, how often must I run vaccum analyze on my db?
>
> Once per day, twice... One per hour and so on...
>
> I didn't find a especific document about this question.

That's because it depends on how you are using the database. In
general, running it once/day is a minimum safe assumption. However,
if the data is changing really quickly, then you should run it more
frequently. The only way to judge is to run it and see how much work
is being done each time.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama(at)gmail(dot)com
LlamaLand http://netllama.linux-sxs.org

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Paul Tillotson 2005-03-19 01:48:35 Re: Query performance problem
Previous Message Dann Corbit 2005-03-18 23:38:14 Re: Vaccum analyze.