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

Re: Shared memory usage calculations

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thom Brown <thombrown(at)gmail(dot)com>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: Shared memory usage calculations
Date: 2009-10-10 20:15:22
Message-ID: 20737.1255205722@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-docs
Thom Brown <thombrown(at)gmail(dot)com> writes:
> My mistake.  I've never seen that before.  Running it on mine returns the
> following:

> ------ Shared Memory Segments --------
> key        shmid      owner      perms      bytes      nattch     status

> 0x0052e2c1 491520     postgres  600        235511808  4

Okay, so your actual shmem size is 235MB, of which 196 is shared_buffers
and 8 is wal_buffers, and the rest is related to max_connections and
various third-order parameters.  I'm not sure how precise the values
given in the docs are, but last I checked they weren't hugely wrong.

			regards, tom lane

In response to

pgsql-docs by date

Next:From: Turner, IanDate: 2009-10-23 19:43:50
Subject: [PATCH] clarify username mapping in Kerberos and GSSAPI
Previous:From: Thom BrownDate: 2009-10-10 18:45:45
Subject: Re: Shared memory usage calculations

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