Re: one table from the db on a separate drive - Mailing list pgsql-novice

From Frank Bax
Subject Re: one table from the db on a separate drive
Date
Msg-id 5.2.1.1.0.20060216084002.04b338f0@pop6.sympatico.ca
Whole thread Raw
In response to Re: one table from the db on a separate drive  (Pradeep Parmar <pradeep.dba@gmail.com>)
List pgsql-novice
At 02:06 AM 2/15/06, Pradeep Parmar wrote:
>I went thru the docs at this link:
>

><http://www.postgresql.org/docs/7.4/interactive/manage-ag-alternate-locs.html>http://www.postgresql.org/docs/7.4/interactive/manage-ag-alternate-locs.html
>
>But, it describes creating database at alternative location.
>What i want is to have a table stored on a separate disk than the rest of
>the database.
>Is there any equivalent of tablespaces (in 8.1) in Postgres 7.4
>I'm using Postgres 7.4


         - Identify file to be moved (see docs)
         - shutdown postmaster
         - use shell command to move file
         - create link from old location to new location
         - restart postmaster

Caveat: I'm guessing that if you drop/create table it will go back to
original location.


pgsql-novice by date:

Previous
From: Tom Allison
Date:
Subject: performance
Next
From: Nils Zierath
Date:
Subject: pgsql-novice-request@postgresql.org