From: John Abel <jabel@plus.net>
To: pgsql-admin@postgresql.org
Subject: Speed Up clean_pending.pl?
Date: Fri, 29 Jul 2005 10:36:09 +0100
Message-ID: <42E9F889.10604@plus.net> (raw)
Hi,
The company I'm at is running dbmirror, and we've found a problem with
clean_pending,pl, in that it takes an age to run. I've done some
looking about, and came with up this:
http://www.postgresql.org/docs/7.4/interactive/indexes.html
After reading the comments on that page, I explain'd the query that
clean_pending runs, and found that it is performing a sequential scan on
each of the tables.
Is there a way to make it use the indexes?
Any help would be appreciated.
Thanks
John
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jabel@plus.net
Subject: Re: Speed Up clean_pending.pl?
In-Reply-To: <42E9F889.10604@plus.net>
References: <42E9F889.10604@plus.net>
* 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