| From: | Frank Bax <fbax(at)sympatico(dot)ca> |
|---|---|
| To: | pgsql-novice(at)postgresql(dot)org |
| Subject: | Re: one table from the db on a separate drive |
| Date: | 2006-02-16 13:43:22 |
| Message-ID: | 5.2.1.1.0.20060216084002.04b338f0@pop6.sympatico.ca |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nils Zierath | 2006-02-16 14:50:41 | pgsql-novice-request@postgresql.org |
| Previous Message | Jan Danielsson | 2006-02-16 08:44:46 | Query question, subselects and referencing out? |