pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
To: postgres admin <pgsql-admin@postgresql.org>
Subject: question about measuring shared_buffers usage
Date: Thu, 5 Feb 2009 18:48:18 +0530
Message-ID: <a97c77030902050518q6fd12ba8h38a6af27c2b7812a@mail.gmail.com> (raw)

Hi ,

I have following setting in my postgresql.conf file.

shared_buffers = 10000  (8k blocks)  ; which is apprx 80MB

my question is how can i know how much is the usage
of the shared_buffers so that it can be increased or
decreased. below is the output of ipcs , I am wondering
is postgres using 420MB shared memory (but shared_buffers
is only 80MB)

$ ipcs -m

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
0x00000000 3637248    postgres  600        52228      0
0x0052e6a9 7798785    postgres  600        40034304   42
0x00000000 4489218    postgres  600        52228      0
0x00000000 4521987    postgres  600        52228      0
0x00000000 4554756    postgres  600        52228      0
0x00000000 4587525    postgres  600        52228      0
0x00000000 4620294    postgres  600        52228      0
0x00000000 2883591    postgres  600        52228      0
0x00000000 3670024    postgres  600        74240      0
0x00000000 3702793    postgres  600        768        0
0x00000000 3735562    postgres  600        524        0
0x00000000 3768331    postgres  600        4          0
0x0052e2c1 7831564    postgres  600        420610048  121

regds
mallah.



view thread (2+ messages)  latest in thread

Message-ID: <a97c77030902050518q6fd12ba8h38a6af27c2b7812a@mail.gmail.com>
Permalink:  ../a97c77030902050518q6fd12ba8h38a6af27c2b7812a@mail.gmail.com/
Also on:    postgresql.org/message-id/a97c77030902050518q6fd12ba8h38a6af27c2b7812a@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mallah.rajesh@gmail.com
  Subject: Re: question about measuring shared_buffers usage
  In-Reply-To: <a97c77030902050518q6fd12ba8h38a6af27c2b7812a@mail.gmail.com>
  References: <a97c77030902050518q6fd12ba8h38a6af27c2b7812a@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox