X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.192]) by svr1.postgresql.org (Postfix) with ESMTP id 03072CD987 for ; Fri, 11 Jul 2003 17:28:49 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr4.postgresql.org [64.117.224.192]) (amavisd-new, port 10024) with ESMTP id 32745-05 for ; Fri, 11 Jul 2003 17:29:04 +0000 (GMT) Received: from mailav.tor1.inquent.com (mail.inquent.com [216.208.117.106]) by svr1.postgresql.org (Postfix) with ESMTP id 57662CB834 for ; Fri, 11 Jul 2003 07:56:56 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mailav.tor1.inquent.com (Postfix) with ESMTP id 0CD7D1024D; Fri, 11 Jul 2003 06:50:28 -0400 (EDT) Received: from [10.0.2.7] (unknown [10.0.2.7]) by mailav.tor1.inquent.com (Postfix) with ESMTP id 363AB10248; Fri, 11 Jul 2003 06:50:26 -0400 (EDT) Subject: Re: pre-Vacuum statistics From: Rod Taylor To: Rich Cullingford Cc: Postgresql Performance In-Reply-To: <3F0DAE2E.3020102@sysd.com> References: <3F0DAE2E.3020102@sysd.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-rn2Ra4SNDxOlVZr5kKBX" Message-Id: <1057921066.46100.157.camel@jester> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 11 Jul 2003 10:57:47 +0000 X-Virus-Scanned: by AMaViS perl-11 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/178 X-Sequence-Number: 2471 --=-rn2Ra4SNDxOlVZr5kKBX Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-07-10 at 18:19, Rich Cullingford wrote: > Greetings, > All the recommendations I can locate concerning the use of (the various= =20 > flavors of) VACUUM suggest running it at regular intervals. Is there any= =20 > way, for a given table, to discover how many/what percentage of rows are= =20 Not nicely, but you may want to look at pg_autovacuum either off gborg or in the 7.4 /contrib/pg_autovacuum directory. It will fire off a periodic vacuum based on table activity from the statistics system. --=-rn2Ra4SNDxOlVZr5kKBX Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA/Dpgq6DETLow6vwwRAkXdAJ9CyjuRC/tQ87vinLLhqVcLfuqutACghMH2 bvq5mAl/pZCHJWRixsjJv6Q= =+3jT -----END PGP SIGNATURE----- --=-rn2Ra4SNDxOlVZr5kKBX--