Re: PostgreSQL Process memory architecture

Поиск
Список
Период
Сортировка
От Ben Zeev, Lior
Тема Re: PostgreSQL Process memory architecture
Дата
Msg-id 59E5FDBE8F3B144F8FCF35819B39DD4C16242E27@G6W2498.americas.hpqcorp.net
обсуждение исходный текст
Ответ на Re: PostgreSQL Process memory architecture  (Atri Sharma <atri.jiit@gmail.com>)
Ответы Re: PostgreSQL Process memory architecture
Re: PostgreSQL Process memory architecture
Re: PostgreSQL Process memory architecture
Re: PostgreSQL Process memory architecture
Список pgsql-hackers
Thanks Atri!

Do you know why PostgreSQL store the indexes in memory per process and not in the shared memory?
Is there a way to prevent it store the indexes data per process, and force it storing it in the shared memory?

Lior



-----Original Message-----
From: Atri Sharma [mailto:atri.jiit@gmail.com]
Sent: Monday, May 27, 2013 13:19
To: Ben Zeev, Lior; Pg Hackers
Subject: Re: [HACKERS] PostgreSQL Process memory architecture

On Mon, May 27, 2013 at 3:41 PM, Ben Zeev, Lior <lior.ben-zeev@hp.com> wrote:
> Hi Atri,
>
> Thanks for your answer!
> Do you have idea what may be the reason that PostgreSQL process consume more memory when there are more partial
indexeson the DB table? 


Well, I am not too sure, but indexes always take up more space, so if your backend has a lot of indexes, it will cause
theprocess to consume more memory. 

Indexes should be used with care, as too many indexes can cause a memory overhead,which can cause performance
degradations.

Regards,

Atri

--
Regards,

Atri
l'apprenant



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

Предыдущее
От: Atri Sharma
Дата:
Сообщение: Re: PostgreSQL Process memory architecture
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [BUGS] COPY .... (FORMAT binary) syntax doesn't work