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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-docs by date

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