pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Felix Scheicher <mandavi@web.de>
To: pgsql-performance@postgresql.org
Subject: Re: queries are fast after dump->restore but slow again after some days dispite vacuum
Date: Thu, 19 Jul 2012 15:13:14 +0000 (UTC)
Message-ID: <loom.20120719T160306-28@post.gmane.org> (raw)
References: <loom.20120719T133136-384@post.gmane.org>
	<5007FFDD.5050103@dunslane.net>

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




view thread (8+ messages)  latest in thread

Message-ID: <loom.20120719T160306-28@post.gmane.org>
Permalink:  ../loom.20120719T160306-28@post.gmane.org/
Also on:    postgresql.org/message-id/loom.20120719T160306-28@post.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mandavi@web.de
  Subject: Re: queries are fast after dump->restore but slow again after some days dispite vacuum
  In-Reply-To: <loom.20120719T160306-28@post.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox