From: | Carlos Moreno <moreno_pg(at)mochima(dot)com> |
---|---|
To: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Question about memory allocations |
Date: | 2007-04-13 18:53:53 |
Message-ID: | 461FD1C1.8040502@mochima.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Steve wrote:
>>
>> Common wisdom in the past has been that values above a couple of hundred
>> MB will degrade performance.
The annotated config file talks about setting shared_buffers to a third
of the
available memory --- well, it says "it should be no more than 1/3 of the
total
amount of memory" (quoting off the top of my head). Don't recall seeing
any warning about not exceeding a few hundred megabytes.
My eternal curiosity when it comes to this memory and shared_buffers thing:
How does PG take advantage of the available memory? I mean, if I have a
machine with, say, 4 or 8GB of memory, how will those GBs would end
up being used? They just do?? (I mean, I would find that a vaild
answer;
but I ask, because this configuration parameters stuff makes me think that
perhaps PG does not simply use whatever memory is in there, but it has
to go through the parameters in the config file to allocate whatever it has
to use).
So, is it just like that? We put more memory and PG will automatically
make use of it?
Carlos
--
From | Date | Subject | |
---|---|---|---|
Next Message | Dan Harris | 2007-04-13 20:01:40 | Finding bloated indexes? |
Previous Message | Ron | 2007-04-13 18:23:08 | Re: Question about memory allocations |