From: Guido Neitzer <guido.neitzer@pharmaline.de>
To: Brendan Duddridge <brendan@clickspace.com>
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: count(*) performance
Date: Mon, 27 Mar 2006 21:43:43 +0200
Message-ID: <2C2F0FEF-084D-422C-A355-373CD18C38B3@pharmaline.de> (raw)
In-Reply-To: <CE860B90-6CAB-441A-870B-397696599418@clickspace.com>
References: <C04D6B95.20285%llonergan@greenplum.com>
<CE860B90-6CAB-441A-870B-397696599418@clickspace.com>
On 27.03.2006, at 21:20 Uhr, Brendan Duddridge wrote:
> Does that mean that even though autovacuum is turned on, you still
> should do a regular vacuum analyze periodically?
It seems that there are situations where autovacuum does not a really
good job.
However, in our application I have made stupid design decision which
I want to change as soon as possible. I have a "visit count" column
in one of the very large tables, so updates are VERY regular. I've
just checked and saw that autovacuum does a great job with that.
Nevertheless I have set up a cron job to do a standard vacuum every
month. I've used vacuum full only once after I did a bulk update of
about 200.000 rows ...
cug
--
PharmaLine, Essen, GERMANY
Software and Database Development
Attachments:
smime.p7s (application/pkcs7-signature, 2.4K) download
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-performance@postgresql.org
Cc: guido.neitzer@pharmaline.de, brendan@clickspace.com
Subject: Re: count(*) performance
In-Reply-To: <2C2F0FEF-084D-422C-A355-373CD18C38B3@pharmaline.de>
References: <C04D6B95.20285%llonergan@greenplum.com> <CE860B90-6CAB-441A-870B-397696599418@clickspace.com> <2C2F0FEF-084D-422C-A355-373CD18C38B3@pharmaline.de>
* 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