Re: default_index_tablespace?

Поиск
Список
Период
Сортировка
От Kelly Burkhart
Тема Re: default_index_tablespace?
Дата
Msg-id fa1e4ce70512010948k240b4b4v22123dc0fd66abbf@mail.gmail.com
обсуждение исходный текст
Ответ на default_index_tablespace?  ("Alexander M. Pravking" <fduch@antar.bryansk.ru>)
Ответы Re: default_index_tablespace?
Список pgsql-general


On 12/1/05, Alexander M. Pravking <fduch@antar.bryansk.ru> wrote:
PostgreSQL 8.0 brought a great tablespaces feature. However, it's still
a real pain for one who wants to separate tables and indices to different
tablespaces: he has to do it manually, explicitely specifying tablespace
for each index.

Thus, I think it would be handy to have "default_index_tablespace" server
variable. Any thoughts?

We would use such a thing.  Our databases use three partitions: log, data, index.  We currently create our databases like:

CREATE DATABASE dbname OWNER owner TABLESPACE tsname;

We then specify another index tablespace on index creation (which really isn't that difficult).


Adding an INDEX_TABLESPACE option to CREATE DATABASE might be worthwhile if what we have done is typical.  Or if pg maintainers want to suggest this usage as sensible.

-K

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: interval behaviour
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: help with utf8