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

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Felix Scheicher <mandavi(at)web(dot)de>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: queries are fast after dump->restore but slow again after some days dispite vacuum
Date: 2012-07-19 17:04:41
Message-ID: CAOR=d=0jKdsQPEduC4YFnhdGjEBVi5EZ9mFGS6b7_KL03M7kNw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Are you running a lot of full table updates?

On Thu, Jul 19, 2012 at 9:13 AM, Felix Scheicher <mandavi(at)web(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message mandavi 2012-07-19 17:24:59 Re: queries are fast after dump->restore but slow again after some days dispite vacuum
Previous Message Robert Haas 2012-07-19 16:17:12 Re: [PERFORM] DELETE vs TRUNCATE explanation