Re: Index files - Mailing list pgsql-performance

From Ow Mun Heng
Subject Re: Index files
Date
Msg-id 1189738644.22645.14.camel@neuromancer.home.net
Whole thread Raw
In response to Index files  ("Harsh Azad" <harsh.azad@gmail.com>)
Responses Re: Index files  ("Harsh Azad" <harsh.azad@gmail.com>)
List pgsql-performance
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


pgsql-performance by date:

Previous
From: "Harsh Azad"
Date:
Subject: Index files
Next
From: "Harsh Azad"
Date:
Subject: Re: Index files