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 7596C5287E for ; Wed, 1 Jun 2005 18:27:54 -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 29388-10 for ; Wed, 1 Jun 2005 21:27:51 +0000 (GMT) Received: from server07.icaen.uiowa.edu (server07.icaen.uiowa.edu [128.255.17.47]) by svr1.postgresql.org (Postfix) with ESMTP id 7A9CF52876 for ; Wed, 1 Jun 2005 18:27:50 -0300 (ADT) Received: from server11.icaen.uiowa.edu (server11.icaen.uiowa.edu [128.255.17.51]) by server07.icaen.uiowa.edu (8.13.3/8.12.9) with ESMTP id j51LRo0X004243; (envelope-from ) Wed, 1 Jun 2005 16:27:50 -0500 (CDT) Received: from [192.168.1.11] (12-215-118-172.client.mchsi.com [12.215.118.172]) (authenticated user=jfmeinel) by server11.icaen.uiowa.edu (8.13.2/smtp-serv-1.7) with ESMTP id j51LRmND017603 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256); (envelope-from ) Wed, 1 Jun 2005 16:27:49 -0500 (CDT) Message-ID: <429E2854.1050209@arbash-meinel.com> Date: Wed, 01 Jun 2005 16:27:48 -0500 From: John A Meinel User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: KeithW@narrowpathinc.com, PostgreSQL Perform Subject: Re: Moving pg_xlog References: <20050601151618.M48325@narrowpathinc.com> <14825.1117642780@sss.pgh.pa.us> <20050601200610.M12354@narrowpathinc.com> <18210.1117657854@sss.pgh.pa.us> In-Reply-To: <18210.1117657854@sss.pgh.pa.us> X-Enigmail-Version: 0.91.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig939E8471C3AFB202FA85FB09" X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on clamav.icaen.uiowa.edu X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on clamav.icaen.uiowa.edu X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/21 X-Sequence-Number: 12659 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig939E8471C3AFB202FA85FB09 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Tom Lane wrote: ... >Now that I think about it, you were (if I understood your layout >correctly) proposing to put the xlog on your system's root disk. >This is probably a bad idea for performance, because there will always >be other traffic to the root disk. What you are really trying to >accomplish is to make sure the xlog is on a disk spindle that has no >other traffic besides xlog, so that the disk heads never have to move >off the current xlog file. The xlog traffic is 100% sequential writes >and so you can cut the seeks involved to near nil if you can dedicate >a spindle to it. > > I certainly agree with what you wrote. But my understanding is that if you only have 2 arrays, then moving xlog onto the array not on the database is better than having it with the database. It isn't optimum, but it is better. Because that way there isn't as much contention between the database and xlog. John =:-> --------------enig939E8471C3AFB202FA85FB09 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 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCnihUJdeBCYSNAAMRAtHTAKCjq3chgZZR2lBkqFS822kqUs4gXQCgw9Ex eYSZCIqa5qr2MjHlu0pZBPA= =XzcO -----END PGP SIGNATURE----- --------------enig939E8471C3AFB202FA85FB09--