Re: Can I run two Postgres sessions at the same time?

Поиск
Список
Период
Сортировка
От Frank Bax
Тема Re: Can I run two Postgres sessions at the same time?
Дата
Msg-id 5.2.1.1.0.20050627135522.00aa5e30@pop6.sympatico.ca
обсуждение исходный текст
Ответ на Can I run two Postgres sessions at the same time?  (Steve Poe <spoe@sfnet.cc>)
Список pgsql-novice
At 12:36 PM 6/27/05, Steve Poe wrote:

>I have a small business I am helping with their Postgresql server. They
>may need to move one of two databases onto a seperate disk system. They
>don't want another physical server. Can I run two postmasters pointing
>to different disk areas
>(i.e. /usr/local/db1/data , /usr/local/db2/data)? Can they be on the
>same port?


Your example shows two data directories (which contain subdirectories for
databases), but your question was about moving a database, not a data
directory.  If you want to move one database to another disk, you can do
that without much trouble...

         - stop postmaster
         - move database directory to new disk system
         - create link from old db2 location to new disk system
         - restart postmaster

Frank


В списке pgsql-novice по дате отправления:

Предыдущее
От: Brad Nicholson
Дата:
Сообщение: Re: Can I run two Postgres sessions at the same time?
Следующее
От: Joel da Silva
Дата:
Сообщение: PostGis Extension