X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8B6B43ABF26 for ; Wed, 22 Dec 2004 21:04:55 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 39194-09 for ; Wed, 22 Dec 2004 21:04:50 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id E1E7A3ABEE1 for ; Wed, 22 Dec 2004 21:04:51 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id iBML4oSY020323; Wed, 22 Dec 2004 16:04:50 -0500 (EST) To: Vivek Khera Cc: pgsql-performance@postgresql.org Subject: Re: 8rc2 & BLCKSZ In-reply-to: References: Comments: In-reply-to Vivek Khera message dated "Wed, 22 Dec 2004 15:51:02 -0500" Date: Wed, 22 Dec 2004 16:04:50 -0500 Message-ID: <20322.1103749490@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/273 X-Sequence-Number: 9648 Vivek Khera writes: > One of the suggestions handed to me a long time ago for speeding up PG > on FreeBSD was to double the default blocksize in PG. I tried it, but > found not a significant enough speed up to make it worth the trouble > to remember to patch every version of Pg during the upgrade path (ie, > 7.4.0 -> 7.4.2 etc.) Forgetting to do that would be disastrous! Not really --- the postmaster will refuse to start if the BLCKSZ shown in pg_control doesn't match what is compiled in. I concur though that there may be no significant performance gain. For some workloads there may well be a performance loss from increasing BLCKSZ. regards, tom lane