X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 1054E9FA5C3 for ; Fri, 16 Jun 2006 09:23:52 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 26411-09 for ; Fri, 16 Jun 2006 09:23:40 -0300 (ADT) X-Greylist: delayed 01:00:08.618976 by SQLgrey- Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by postgresql.org (Postfix) with ESMTP id A77CA9FA42B for ; Fri, 16 Jun 2006 09:23:40 -0300 (ADT) Received: from osgiliath.mathom.us ([72.66.113.164]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J0Y00GTTAAKGED4@vms048.mailsrvcs.net> for pgsql-performance@postgresql.org; Fri, 16 Jun 2006 06:23:08 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by osgiliath.mathom.us (Postfix) with ESMTP id 74D036E5F1 for ; Fri, 16 Jun 2006 07:23:05 -0400 (EDT) Received: from osgiliath.mathom.us ([127.0.0.1]) by localhost (osgiliath.home.mathom.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id O4P5EeefaL5C for ; Fri, 16 Jun 2006 07:23:04 -0400 (EDT) Received: by osgiliath.mathom.us (Postfix, from userid 1000) id 5A7C96F521; Fri, 16 Jun 2006 07:23:04 -0400 (EDT) Date: Fri, 16 Jun 2006 07:23:04 -0400 From: Michael Stone Subject: Re: how to partition disks In-reply-to: <44901DF7.7010200@aeccom.com> To: pgsql-performance@postgresql.org Mail-followup-to: pgsql-performance@postgresql.org Message-id: <20060616112302.GE29023@mathom.us> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline X-Virus-Scanned: Debian amavisd-new at mathom.us X-Pgp-Fingerprint: 53 FF 38 00 E7 DD 0A 9C 84 52 84 C5 EE DF 7C 88 References: <20060614142344.13558.qmail@web31804.mail.mud.yahoo.com> <44901DF7.7010200@aeccom.com> User-Agent: Mutt/1.5.11+cvs20060403 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/348 X-Sequence-Number: 19705 On Wed, Jun 14, 2006 at 04:32:23PM +0200, Sven Geisler wrote: >For example, You run two queries with two clients and each queries needs >to read some indices from disk. In this case it more efficient to read >from different volumes than to read from one large volume where the disc >arms has to jump. Hmm. Bad example, IMO. In the case of reading indices you're doing random IO and the heads will be jumping all over the place anyway. The limiting factor there will be seeks/s, and you'll possibly get better results with the larger array. (That case is fairly complicated to analyze and depends very much on the data.) Where multiple arrays will be faster is if you have a lot of sequential IO--in fact, a couple of cheap disks can blow away a fairly expensive array for purely sequential operations since each disk can handle >60MB/s of if it doesn't have to seek, whereas multiple sequential streams on the big array will cause each disk in the array to seek. (The array controller will try to hide this with its cache; its cache size & software will determine how successful it is at doing so.) Mike Stone