pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Max Baker <max@warped.org>
Cc: Manfred Koizar <mkoi-pg@aon.at>
Cc: PostgreSQL Performance Mailing List <pgsql-performance@postgresql.org>
Subject: Re: speeding up COUNT and DISTINCT queries
Date: Wed, 12 Mar 2003 17:57:50 -0800
Message-ID: <3E6FE59E.1050602@joeconway.com> (raw)
In-Reply-To: <20030313015540.GP30411@warped.org>
References: <20030312223811.GM30411@warped.org>
	<a7hv6v4c6vt4vi2eg8s3dmgg3dskggob84@4ax.com>
	<20030313015540.GP30411@warped.org>

Max Baker wrote:
> Thanks for the help.  I guess i'm not clear on why there is so much
> extra cruft.  Does postgres leave a little bit behind every time it does
> an update?  Because this table is updated constantly.
> 

Yes. See:
http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/routine-vacuuming.html

Joe




view thread (14+ messages)  latest in thread

Message-ID: <3E6FE59E.1050602@joeconway.com>
Permalink:  ../3E6FE59E.1050602@joeconway.com/
Also on:    postgresql.org/message-id/3E6FE59E.1050602@joeconway.com

 · 

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 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: mail@joeconway.com, max@warped.org, mkoi-pg@aon.at
  Subject: Re: speeding up COUNT and DISTINCT queries
  In-Reply-To: <3E6FE59E.1050602@joeconway.com>
  References: <20030312223811.GM30411@warped.org> <a7hv6v4c6vt4vi2eg8s3dmgg3dskggob84@4ax.com> <20030313015540.GP30411@warped.org> <3E6FE59E.1050602@joeconway.com>

* 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