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 07DBED1B537 for ; Sat, 11 Oct 2003 01:50:00 +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 53818-01 for ; Fri, 10 Oct 2003 22:49:17 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 07F96D1B531 for ; Fri, 10 Oct 2003 22:49:12 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h9B1n5905115; Fri, 10 Oct 2003 21:49:05 -0400 (EDT) From: Bruce Momjian Message-Id: <200310110149.h9B1n5905115@candle.pha.pa.us> Subject: Re: go for a script! / ex: PostgreSQL vs. MySQL In-Reply-To: <20031010225924.GC8664@perrin.nxad.com> To: Sean Chittenden Date: Fri, 10 Oct 2003 21:49:05 -0400 (EDT) Cc: Vivek Khera , pgsql-performance@postgresql.org X-Mailer: ELM [version 2.4ME+ PL106 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/378 X-Sequence-Number: 4126 Sean Chittenden wrote: > > NB> So far: > > > > NB> shared_buffers = 1/16th of total memory > > NB> effective_cache_size = 80% of the supposed kernel cache. > > > > Please take into account the blocksize compiled into PG, too... > > 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 '%'. -sc Makes sense to me --- we already have some read-only GUC variables. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073