Re: Multiple databases one directory

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Multiple databases one directory
Дата
Msg-id 200301241522.28521.josh@agliodbs.com
обсуждение исходный текст
Ответ на Multiple databases one directory  (Noah Silverman <noah@allresearch.com>)
Ответы WEIRD CRASH?!?!  (Noah Silverman <noah@allresearch.com>)
Список pgsql-performance
Noah,

> Would there be an advantage to putting each of the two databases into a
> separate directory and starting two instances of postgres?  Is it
> better to just lump everything together.

You can use the WITH LOCATION option in CREATE DATABASE to put the two
databases into seperate directories *without* running two instances of
postgres.

For that matter, the databases each have their own directories, by OID number.

Of course, this only helps you if the seperate directories are on seperate
disks/arrays/channels.  If everying is on the same disk or array, don't
bother.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


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

Предыдущее
От: Ron Mayer
Дата:
Сообщение: Re: Does "correlation" mislead the optimizer on large
Следующее
От: Noah Silverman
Дата:
Сообщение: WEIRD CRASH?!?!