Re: PostgreSQL Process memory architecture

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: PostgreSQL Process memory architecture
Дата
Msg-id 51A3592F.9080707@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: PostgreSQL Process memory architecture  ("Ben Zeev, Lior" <lior.ben-zeev@hp.com>)
Список pgsql-hackers
On 05/27/2013 01:25 PM, Ben Zeev, Lior wrote:
> Thanks Atri!
>
> Do you know why PostgreSQL store the indexes in memory per process and not in the shared memory?
From shared_buffers point of view tables and indexes are identical, both
use the
same shared memory in (usually) 8KB pages
> Is there a way to prevent it store the indexes data per process, and force it storing it in the shared memory?
It already does.

Per-query sorts and hashtables are stored in local memory, ordinary
tables and indexes are in shared.


-- 
Hannu Krosing
PostgreSQL Consultant
Performance, Scalability and High Availability
2ndQuadrant Nordic OÜ




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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: PostgreSQL Process memory architecture
Следующее
От: "Ben Zeev, Lior"
Дата:
Сообщение: Re: PostgreSQL Process memory architecture