Re: one table from the db on a separate drive

Поиск
Список
Период
Сортировка
От Frank Bax
Тема Re: one table from the db on a separate drive
Дата
Msg-id 5.2.1.1.0.20060216084002.04b338f0@pop6.sympatico.ca
обсуждение исходный текст
Ответ на Re: one table from the db on a separate drive  (Pradeep Parmar <pradeep.dba@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Allison
Дата:
Сообщение: performance
Следующее
От: Nils Zierath
Дата:
Сообщение: pgsql-novice-request@postgresql.org