Skip site navigation (1) Skip section navigation (2)

Re: count(*) performance

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Brendan Duddridge <brendan(at)clickspace(dot)com>
Cc: Luke Lonergan <llonergan(at)greenplum(dot)com>,G?briel ?kos <akos(dot)gabriel(at)i-logic(dot)hu>,pgsql-performance(at)postgresql(dot)org
Subject: Re: count(*) performance
Date: 2006-03-28 17:26:35
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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(at)pervasive(dot)com
Pervasive Software    work: 512-231-6117
vcard:       cell: 512-569-9461

In response to

pgsql-performance by date

Next:From: Jim C. NasbyDate: 2006-03-28 17:30:47
Subject: Re: simple join uses indexes, very slow
Previous:From: Dave DutcherDate: 2006-03-28 17:20:19
Subject: Re: simple join uses indexes, very slow

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group