X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id E0BD8D1C922 for ; Fri, 8 Aug 2003 15:40: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 47130-02 for ; Fri, 8 Aug 2003 12:38:32 -0300 (ADT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by svr1.postgresql.org (Postfix) with ESMTP id 77263D1C4E1 for ; Fri, 8 Aug 2003 12:39:49 -0300 (ADT) Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19l9LH-0008PE-00; Fri, 08 Aug 2003 17:39:47 +0200 Received: from [217.230.196.156] (helo=ecologic.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19l9LG-0004zK-00; Fri, 08 Aug 2003 17:39:47 +0200 Message-ID: <3F33C442.2000809@ecologic.de> Date: Fri, 08 Aug 2003 17:39:46 +0200 From: Dani Oderbolz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Wilson A. Galafassi Jr." Cc: pgsql-admin@postgresql.org Subject: Re: ext3 block size References: <032901c35c59$bf6b2260$70c0b4c8@notebook> In-Reply-To: <032901c35c59$bf6b2260$70c0b4c8@notebook> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/116 X-Sequence-Number: 9838 Wilson A. Galafassi Jr. wrote: > hello. > my database size is 5GB. what is the block size recommend? > thanks > wilson Hmm, IMHO this depends more on your IO System rather than on the DB size. It doesnt make sense to have a blocksize which your IO System (HD, Controller...) cannot fetch in one read. And it also depends on the type of Processing you are doing. If you will have mostly big tablescans, a big blocksize is good, whereas if you will be doing lots of Index acess, a lower one can make more sense. (And also if you store lots of data in one row). In general I guess 8K (the default) is ok, but 16K can make sense. Regards, Dani