Re: slow query - Mailing list pgsql-performance

From Robert Treat
Subject Re: slow query
Date
Msg-id 1046105913.1014.66.camel@camel
Whole thread Raw
In response to Re: slow query  (Oleg Lebedev <oleg.lebedev@waterford.org>)
Responses Re: slow query
List pgsql-performance
On Mon, 2003-02-24 at 10:59, Oleg Lebedev wrote:
> Thanks everybody for your help.
> VACUUM FULL did the job, and now the query performance is the same in
> both databases. I am surprised that FULL option makes such a dramatic
> change to the query performance: from 4min. to 5sec.!!! It also changed
> planner stats from ~9 sec to ~8sec.

If your seeing wildly dramatic improvments from vacuum full, you might
want to look into running regular vacuums more often (especially for
high turnover tables), increase your max_fsm_relations to 1000, and
increasing your max_fsm_pages.

Robert Treat



pgsql-performance by date:

Previous
From: Oleg Lebedev
Date:
Subject: Re: slow query
Next
From: Oleg Lebedev
Date:
Subject: Re: slow query