Re: count(*) performance - Mailing list pgsql-performance

From Jim C. Nasby
Subject Re: count(*) performance
Date
Msg-id 20060328172634.GM75181@pervasive.com
Whole thread Raw
In response to Re: count(*) performance  (Brendan Duddridge <brendan@clickspace.com>)
List pgsql-performance
On Mon, Mar 27, 2006 at 12:20:54PM -0700, Brendan Duddridge wrote:
> Does that mean that even though autovacuum is turned on, you still
> should do a regular vacuum analyze periodically?

Doing a periodic vacuumdb -avz and keeping an eye on the last few lines
isn't a bad idea. It would also be helpful if there was a log parser
that could take a look at the output of a vacuumdb -av and look for any
problem areas, such as relations that have a lot of free space in them.
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

pgsql-performance by date:

Previous
From: "Dave Dutcher"
Date:
Subject: Re: simple join uses indexes, very slow
Next
From: "Jim C. Nasby"
Date:
Subject: Re: simple join uses indexes, very slow