Skip site navigation (1) Skip section navigation (2)

Re: [ADMIN] shared_buffers and shmmax

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, valiouk(at)yahoo(dot)co(dot)uk, pgsql-docs(at)postgresql(dot)org, dx k9 <bitsandbytes88(at)hotmail(dot)com>
Subject: Re: [ADMIN] shared_buffers and shmmax
Date: 2008-12-17 13:53:44
Message-ID: 27841.1229522024@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-docspgsql-hackers
Bruce Momjian <bruce(at)momjian(dot)us> writes:
> Tom Lane wrote:
>> * If we do it like this then the left-hand column is really redundant,
>> not to say wrong because the right-hand formulas depend on more than
>> the single variable mentioned.  How about something like
>> 
>> Table 17-2	PostgreSQL shared memory usage
>> 
>> Purpose				Approximate number of bytes required (as of 8.3)
>> 
>> Per-connection state		(1800 + 270 * max_locks_per_transaction) * max_connections
>> Autovacuum worker state		(1800 + 270 * max_locks_per_transaction) * autovacuum_max_workers
>> Prepared transaction state	...
>> Shared disk buffers		...
>> WAL buffers			...
>> Fixed space requirements	770kB

> OK, I updated it again:

> 	http://momjian.us/tmp/pgsql/kernel-resources.html

> I did change your left column wording because it could be interpreted as
> something that changes during server execution, e.g. connections.

[ shrug... ]  I don't find what you did to be an improvement over what
I suggested, but I don't have time to argue about it.

			regards, tom lane

In response to

Responses

pgsql-docs by date

Next:From: Bruce MomjianDate: 2008-12-17 14:11:20
Subject: Re: [ADMIN] shared_buffers and shmmax
Previous:From: Bruce MomjianDate: 2008-12-17 13:41:40
Subject: Re: [ADMIN] shared_buffers and shmmax

pgsql-hackers by date

Next:From: Pavan DeolaseeDate: 2008-12-17 13:57:46
Subject: Re: visibility maps
Previous:From: Bruce MomjianDate: 2008-12-17 13:41:40
Subject: Re: [ADMIN] shared_buffers and shmmax

pgsql-admin by date

Next:From: Bruce MomjianDate: 2008-12-17 14:11:20
Subject: Re: [ADMIN] shared_buffers and shmmax
Previous:From: Tom LaneDate: 2008-12-17 13:47:05
Subject: Re: controlling autovacuum during the day.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group