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 D458CD1B529 for ; Sat, 11 Oct 2003 01:55:34 +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 53678-03 for ; Fri, 10 Oct 2003 22:54:51 -0300 (ADT) Received: from mail.hive.nj2.inquent.com (mc.carriermail.com [205.178.180.9]) by svr1.postgresql.org (Postfix) with SMTP id A5C6AD1B549 for ; Fri, 10 Oct 2003 22:54:47 -0300 (ADT) Received: (qmail 7009 invoked from network); 11 Oct 2003 01:54:51 -0000 Received: from unknown (HELO ?192.168.1.199?) (134.22.69.154) by 205.178.180.9 with SMTP; 11 Oct 2003 01:54:51 -0000 Subject: Re: go for a script! / ex: PostgreSQL vs. MySQL From: Rod Taylor To: Sean Chittenden Cc: Vivek Khera , Postgresql Performance In-Reply-To: <20031010225924.GC8664@perrin.nxad.com> References: <007901c38f2b$0b585590$2802a8c0@webbased10> <200310101034.52073.josh@agliodbs.com> <3F86F5BB.90605@chuckie.co.uk> <20031010225924.GC8664@perrin.nxad.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-rNA2OK2rGeTZoh4whapq" Message-Id: <1065837333.12875.1.camel@jester> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 10 Oct 2003 21:55:34 -0400 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/379 X-Sequence-Number: 4127 --=-rNA2OK2rGeTZoh4whapq Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2003-10-10 at 18:59, Sean Chittenden wrote: > > NB> So far: > >=20 > > NB> shared_buffers =3D 1/16th of total memory > > NB> effective_cache_size =3D 80% of the supposed kernel cache. > >=20 > > Please take into account the blocksize compiled into PG, too... >=20 > Would anyone object to a patch that exports the blocksize via a > readonly GUC? Too many tunables are page dependant, which is > infuriating when copying configs from DB to DB. I wish pgsql had some > notion of percentages for values that end with a '%'. Rather than showing the block size, how about we change the tunables to be physical sizes rather than block based? effective_cache_size =3D 1.5GB shared_buffers =3D 25MB Percentages would be slick as well, but doing the above should fix most of the issue -- and be friendlier to read. --=-rNA2OK2rGeTZoh4whapq 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/h2MV6DETLow6vwwRArg5AJ9OnAlnLPtk4Nua+zUgBCLUUGiscACdF/ZR vpySO7LXPMhdrmTznWEqOsA= =eYRm -----END PGP SIGNATURE----- --=-rNA2OK2rGeTZoh4whapq--