X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id E8117D1B914 for ; Thu, 4 Sep 2003 17:47:14 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 59917-09 for ; Thu, 4 Sep 2003 14:46:43 -0300 (ADT) Received: from mailav.tor1.inquent.com (mail.inquent.com [216.208.117.106]) by svr1.postgresql.org (Postfix) with ESMTP id 9FD24D1B53A for ; Thu, 4 Sep 2003 14:46:42 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mailav.tor1.inquent.com (Postfix) with ESMTP id 96BDC1025C; Thu, 4 Sep 2003 13:38:21 -0400 (EDT) Received: from [10.0.2.5] (unknown [10.0.2.5]) by mailav.tor1.inquent.com (Postfix) with ESMTP id 18CEB10260; Thu, 4 Sep 2003 13:38:19 -0400 (EDT) Subject: Re: [GENERAL] how to get accurate values in pg_statistic From: Rod Taylor To: Mary Edie Meredith Cc: pgsql-performance , OSDL - DB General In-Reply-To: <1062697270.6854.3475.camel@ibm-e.pdx.osdl.net> References: <1062697270.6854.3475.camel@ibm-e.pdx.osdl.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-BhL2i6Xr3wD7stp4E1O0" Message-Id: <1062697606.88158.7.camel@jester> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Thu, 04 Sep 2003 13:46:47 -0400 X-Virus-Scanned: by AMaViS perl-11 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/68 X-Sequence-Number: 3434 --=-BhL2i6Xr3wD7stp4E1O0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-09-04 at 13:41, Mary Edie Meredith wrote: > Our port of OSDL DBT3 test suite to PostgreSQL (see Background > information below) is nearing completion. We would also like to confirm > our understanding of an outstanding consistency issue. >=20 > We have not been able to do meaningful kernel testing since the runs > (all parameters/kernels being equal) arewildly varying - sometimes > 20-25% differences in the metrics run to run.=20 Run a VACUUM FULL ANALYZE between runs. This will force a full scan of all data for stats, as well as ensure the table is consistently compacted. --=-BhL2i6Xr3wD7stp4E1O0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/V3qG6DETLow6vwwRAp9gAJ4zkYIOKsxrJ9o4iSjmDXRMOiAOlgCbBGff jeCNRMGsXwXCpldxJtNXXMI= =uQYr -----END PGP SIGNATURE----- --=-BhL2i6Xr3wD7stp4E1O0--