Re: Advantage of more than 1 tablespace on 1 disk?

Поиск
Список
Период
Сортировка
От Rainer Pruy
Тема Re: Advantage of more than 1 tablespace on 1 disk?
Дата
Msg-id 490EEA48.4000708@acrys.com
обсуждение исходный текст
Ответ на Advantage of more than 1 tablespace on 1 disk?  ("Thom Brown" <thombrown@gmail.com>)
Список pgsql-general
Hi Thom,

table spaces are not in the first place related with addressing usage pattern of individual tables.
They are a mechanism for putting up a *logical* layout of persistent storage.
As such they are describing segments of persistence storage that will (or "might from the point of view of the schema
designer")
benefit from being mapped to physical disks independently. (e.g. separating table data and index data, or arrange for
indexesused 
with hot queries to be accessible via different IO channels)

For a given machine and disk configuration you may then decide what table space to be mapped to what physical disk.
(Hopefully being aware that this will decrease throughput)

For addressing your actual question you might have a look at indexing, clustering and/or clustering. Those deal with
efficiencyof 
accessing individual tables.

Rainer

Thom Brown schrieb:
> Hi,
>
> I've got a database with massive tables which fall into 2 categories:
> Tables which don't change often but get read a LOT, and tables which
> are heavily added to continuously and sometimes read.
>
> Would there be any advantage in moving the latter logging tables to a
> separate tablespace, bearing in mind it would still be on the same
> disk?  Or have I kinda missed how tablespaces work?
>
> Thanks
>
> Thom
>


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

Предыдущее
От: "Grzegorz Jaśkiewicz"
Дата:
Сообщение: Re: Advantage of more than 1 tablespace on 1 disk?
Следующее
От: Harald Fuchs
Дата:
Сообщение: Re: Redefining an existing Table Schema for Foreign Key Constraint - Question