pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ow Mun Heng <Ow.Mun.Heng@wdc.com>
To: Harsh Azad <harsh.azad@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Index files
Date: Fri, 14 Sep 2007 10:57:24 +0800
Message-ID: <1189738644.22645.14.camel@neuromancer.home.net> (raw)
In-Reply-To: <a199704d0709131950i3c23ea35wb0a19f393533197e@mail.gmail.com>
References: <a199704d0709131950i3c23ea35wb0a19f393533197e@mail.gmail.com>

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




view thread (10+ messages)  latest in thread

Message-ID: <1189738644.22645.14.camel@neuromancer.home.net>
Permalink:  ../1189738644.22645.14.camel@neuromancer.home.net/
Also on:    postgresql.org/message-id/1189738644.22645.14.camel@neuromancer.home.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: Ow.Mun.Heng@wdc.com, harsh.azad@gmail.com
  Subject: Re: Index files
  In-Reply-To: <1189738644.22645.14.camel@neuromancer.home.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox