Re: PostgreSQL Process memory architecture

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: PostgreSQL Process memory architecture
Дата
Msg-id 20130527121217.GE8597@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: PostgreSQL Process memory architecture  (Atri Sharma <atri.jiit@gmail.com>)
Ответы Re: PostgreSQL Process memory architecture
Список pgsql-hackers
* Atri Sharma (atri.jiit@gmail.com) wrote:
> > Does each PostgreSQL process allocating in its own memory (Not shared
> > memory) a cache of all the database catalog which it access during the SQL
> > execution?

This information is pulled into a backend-local cache, but it should
only be cached while it's needed and then purged out to allow for new
data coming in.  It would be great if we could understand what the issue
is that you're seeing.

> > I mean does each process holds all the catalog indexes data which it
> > accessed, all the catalog index statistics etc’ accessed

Each backend shouldn't try to hold all the data, if there is pressure
for that memory.

> AFAIK, the shared disk buffers are the only part shared between the processes.

There's a bit of other information shared, but disk buffers are
certainly the bulk of it.
Thanks,
    Stephen

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

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