pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Harsh Azad <harsh.azad@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Index files
Date: Thu, 13 Sep 2007 23:33:23 -0400
Message-ID: <18989.1189740803@sss.pgh.pa.us> (raw)
In-Reply-To: <a199704d0709131950i3c23ea35wb0a19f393533197e@mail.gmail.com>
References: <a199704d0709131950i3c23ea35wb0a19f393533197e@mail.gmail.com>

"Harsh Azad" <harsh.azad@gmail.com> writes:
> Where are the database index files located in the $PGDATA directory?

Read
http://www.postgresql.org/docs/8.2/static/storage.html

> I was
> thinking on soft linking them to another physical hard disk array.

Manual symlink management, while not impossible, pretty much sucks
... especially if your tables are big enough that you actually need to
do this.  Use a tablespace instead.  (If you are on a PG version that
hasn't got tablespaces, you are more than overdue to upgrade.)

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <18989.1189740803@sss.pgh.pa.us>
Permalink:  ../18989.1189740803@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18989.1189740803@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, harsh.azad@gmail.com
  Subject: Re: Index files
  In-Reply-To: <18989.1189740803@sss.pgh.pa.us>

* 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