Re: queries are fast after dump->restore but slow again after some days dispite vacuum - Mailing list pgsql-performance

From Scott Marlowe
Subject Re: queries are fast after dump->restore but slow again after some days dispite vacuum
Date
Msg-id CAOR=d=0jKdsQPEduC4YFnhdGjEBVi5EZ9mFGS6b7_KL03M7kNw@mail.gmail.com
Whole thread Raw
In response to Re: queries are fast after dump->restore but slow again after some days dispite vacuum  (Felix Scheicher <mandavi@web.de>)
Responses Re: queries are fast after dump->restore but slow again after some days dispite vacuum
List pgsql-performance
Are you running a lot of full table updates?

On Thu, Jul 19, 2012 at 9:13 AM, Felix Scheicher <mandavi@web.de> wrote:
> Andrew Dunstan <andrew <at> dunslane.net> writes:
>
>> Try running CLUSTER on the relevant tables and see if it makes a
>> difference. If it does you might want to look into using pg_reorg
>> periodically.
>
>
> That worked like a charm! Many thanks. But how comes, the queries are also fast
> after a restore without the cluster?
>
> regards,
> Felix
>
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance



--
To understand recursion, one must first understand recursion.

pgsql-performance by date:

Previous
From: Jeff Janes
Date:
Subject: Re: queries are fast after dump->restore but slow again after some days dispite vacuum
Next
From: mandavi
Date:
Subject: Re: queries are fast after dump->restore but slow again after some days dispite vacuum