Re: Index files

From: "Harsh Azad" <harsh(dot)azad(at)gmail(dot)com>
To: "Ow Mun Heng" <Ow(dot)Mun(dot)Heng(at)wdc(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Index files
Date: 2007-09-14 03:03:12
Message-ID: a199704d0709132003l5e2bd0cweb3d045c038493bb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

Thanks

On 9/14/07, Ow Mun Heng <Ow(dot)Mun(dot)Heng(at)wdc(dot)com> wrote:
>
> On Fri, 2007-09-14 at 08:20 +0530, Harsh Azad wrote:
> > Hi,
> >
> > Where are the database index files located in the $PGDATA directory? I
> > was thinking on soft linking them to another physical hard disk array.
>
> you have to search through pg_class for the "number"
>
> Alternatively, you can try using tablespaces.
>
> create tablespace indexspace location '/mnt/fastarray'
> create index newindex on table (index_1) tablespace indexspace
>
>

--
Harsh Azad
=======================
Harsh(dot)Azad(at)gmail(dot)com

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Ow Mun Heng 2007-09-14 03:09:49 Re: Index files
Previous Message Ow Mun Heng 2007-09-14 02:57:24 Re: Index files