X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id DE351D1B4E9 for ; Mon, 6 Oct 2003 18:24: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 25151-01 for ; Mon, 6 Oct 2003 15:23:16 -0300 (ADT) Received: from davinci.ethosmedia.com (unknown [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id C9E1FD1B4FF for ; Mon, 6 Oct 2003 15:23:14 -0300 (ADT) Received: from [66.219.92.2] (HELO temoku) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 3732902; Mon, 06 Oct 2003 11:23:51 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Stef Subject: Re: Postgres low end processing. Date: Mon, 6 Oct 2003 11:21:20 -0700 User-Agent: KMail/1.4.3 Cc: pgsql-performance@postgresql.org References: <20031003163040.3641f39a.svb@ucs.co.za> <200310031108.49002.josh@agliodbs.com> <20031006095551.1d7bfeb8.svb@ucs.co.za> In-Reply-To: <20031006095551.1d7bfeb8.svb@ucs.co.za> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200310061121.20681.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/185 X-Sequence-Number: 3933 Stef, > =3D> 1. Make sure that the WAL files (pg_xlog) are on a seperate disk fro= m the=20 > =3D> database files, either through mounting or symlinking. >=20=20 > I'm not sure I understand how this helps? It gives you better fsync write performance on a low-end disk setup.=20=20= =20 Otherwise, the disk is forced to do a hop-back-and-forth between the databa= se=20 and the xlog, resulting in much slower updates and thus the database tying = up=20 blocks of RAM longer -- particularly if your shared_buffers are set very lo= w,=20 which they will be. On RAID setups, this is unnecessary becuase the RAID takes care of disk acc= ess=20 management. But on a low-end, 2-IDE-disk machine, you have to do it. --=20 -Josh Berkus Aglio Database Solutions San Francisco