X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id ECA07D7083 for ; Tue, 20 Sep 2005 01:25:05 -0300 (ADT) 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 26420-04 for ; Tue, 20 Sep 2005 04:25:02 +0000 (GMT) Received: from ionian.i-clic.uihc.uiowa.edu (ionian.i-clic.uihc.uiowa.edu [129.255.211.20]) by svr1.postgresql.org (Postfix) with ESMTP id E4795D6F9A for ; Tue, 20 Sep 2005 01:25:02 -0300 (ADT) Received: by ionian.i-clic.uihc.uiowa.edu (Postfix, from userid 76) id 9E9A361DAF; Mon, 19 Sep 2005 22:14:29 -0500 (CDT) Received: from [192.168.1.12] (12-214-18-81.client.mchsi.com [12.214.18.81]) by ionian.i-clic.uihc.uiowa.edu (Postfix) with ESMTP id 4BED661DAD; Mon, 19 Sep 2005 22:14:28 -0500 (CDT) Message-ID: <432F8F1B.7030901@arbash-meinel.com> Date: Tue, 20 Sep 2005 00:24:59 -0400 From: John A Meinel User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "bm\\mbn" Cc: pgsql-performance@postgresql.org Subject: Re: RAID Stripe size References: <1126871503.157442.314670@g49g2000cwa.googlegroups.com> In-Reply-To: <1126871503.157442.314670@g49g2000cwa.googlegroups.com> X-Enigmail-Version: 0.92.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBED3454481BF187A190F69A9" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.019 required=5 tests=[AWL=0.019] X-Spam-Level: X-Archive-Number: 200509/210 X-Sequence-Number: 14518 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBED3454481BF187A190F69A9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit bm\mbn wrote: > Hi Everyone > > The machine is IBM x345 with ServeRAID 6i 128mb cache and 6 SCSI 15k > disks. > > 2 disks are in RAID1 and hold the OS, SWAP & pg_xlog > 4 disks are in RAID10 and hold the Cluster itself. > > the DB will have two major tables 1 with 10 million rows and one with > 100 million rows. > All the activities against this tables will be SELECT. What type of SELECTs will you be doing? Mostly sequential reads of a bunch of data, or indexed lookups of random pieces? > > Currently the strip size is 8k. I read in many place this is a poor > setting. From what I've heard of RAID, if you are doing large sequential transfers, larger stripe sizes (128k, 256k) generally perform better. For postgres, though, when you are writing, having the stripe size be around the same size as your page size (8k) could be advantageous, as when postgres reads a page, it only reads a single stripe. So if it were reading a series of pages, each one would come from a different disk. I may be wrong about that, though. John =:-> > > Am i right ? --------------enigBED3454481BF187A190F69A9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDL48bJdeBCYSNAAMRAs40AJsGKRxP1Kof/DliHwldecMXkx2rvACdEtvd w3WWrbrsu8zOfexGpuelkAE= =0ucd -----END PGP SIGNATURE----- --------------enigBED3454481BF187A190F69A9--