Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id D75CF9F99B7 for ; Fri, 14 Sep 2007 06:05:44 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 07015-09 for ; Fri, 14 Sep 2007 06:05:38 -0300 (ADT) X-Greylist: delayed 00:27:09.113712 by SQLgrey-1.7.5 Received: from mail.news-companeo.fr (mail.news-companeo.fr [91.121.4.200]) by postgresql.org (Postfix) with ESMTP id 03E829F990A for ; Fri, 14 Sep 2007 06:05:41 -0300 (ADT) X-Virus-Scanned: Debian amavisd-new at mail.news-companeo.fr Subject: Re: Index files From: Philippe Amelant To: pgsql-performance@postgresql.org In-Reply-To: <1189739389.22645.24.camel@neuromancer.home.net> References: <1189738644.22645.14.camel@neuromancer.home.net> <1189739389.22645.24.camel@neuromancer.home.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 14 Sep 2007 10:34:13 +0200 Message-Id: <1189758853.28660.45.camel@phil.companeo.local> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/271 X-Sequence-Number: 26816 Le vendredi 14 septembre 2007 =C3=A0 11:09 +0800, Ow Mun Heng a =C3=A9crit = : > On Fri, 2007-09-14 at 08:33 +0530, Harsh Azad wrote: > > ah.. thanks. Didn't realize table spaces can be mentioned while > > creating a index. BTW, are soft links ok to use for pg_clog / > > pg_xlog . I moved the existing directories to /mnt/logs/pglogs and > > made soft links for both directories in $PGDATA=20 >=20 >=20 > No idea what is the "proper" solution. Me being a newbie itself. > But from what I've read on the net and google, symlink seems to be the > order of the day. >=20 > perhaps others who are more familiar can comment as I'm lost in this. > (I'm doing symlinking btw) >=20 You can also mount a different fs on another disk array in pglogs I thinks update to index are not written to the wal so having index on a different tablespace should reduce read and write on the data tablespace, am I wrong ? >=20 > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend