Re: Vacum Analyze problem

From: Bill Moran <wmoran(at)collaborativefusion(dot)com>
To: rafael(at)akyasociados(dot)com(dot)ar
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Vacum Analyze problem
Date: 2007-09-04 17:55:59
Message-ID: 20070904135559.affb0db0.wmoran@collaborativefusion.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

In response to rafael(at)akyasociados(dot)com(dot)ar:

> Hello everyone:
>
> I wanted to ask you about how the VACUUM ANALYZE works. is it possible
> that something can happen in order to reset its effects forcing to execute
> the VACUUM ANALYZE comand again? i am asking this because i am struggling
> with a query which works ok after i run a VACUUM ANALYZE, however, sudennly,
> it starts to take forever (the execution of the query) until i make another
> VACUUM ANALYZE, and so on ...
> I'd like to point that i am a novice when it comes to non basic
> postgresql performance related stuff.
>
> Thank you all in advance

To add to Mikko's comments:

Periodic vacuuming and analyzing is a mandatory part of running a
PostgreSQL database server. You'll probably be best served to configure
the autovacuum daemon to handle this for you. See the postgresql.conf
config file.

--
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

wmoran(at)collaborativefusion(dot)com
Phone: 412-422-3463x4023

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Jean-David Beyer 2007-09-04 18:39:44 About autovacuum
Previous Message rafael 2007-09-04 17:46:37 Re: Vacum Analyze problem