pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: valiouk@yahoo.co.uk, pgsql-docs@postgresql.org, dx k9 <bitsandbytes88@hotmail.com>
Subject: Re: [ADMIN] shared_buffers and shmmax
Date: Mon, 15 Dec 2008 18:23:02 -0500 (EST)
Message-ID: <200812152323.mBFNN3Y25121@momjian.us> (raw)
In-Reply-To: <28167.1216737959@sss.pgh.pa.us>

Tom Lane wrote:
> [ redirecting to pgsql-docs ]
> 
> Valentin Bogdanov <valiouk@yahoo.co.uk> writes:
> >> From: dx k9 <bitsandbytes88@hotmail.com>
> >> I'm trying to understand what the documentation means
> >> by bytes per increment, what is the increment supposed to
> >> be bytes, MB, or Kb.
> 
> > shared_buffers is in disk block size, typically 8K, at least that's what it is on Linux platforms. shmmax is quite simply in bytes.
> 
> The table the OP is looking at (table 17.2 in the 8.3 docs) predates
> the ability to specify shared_buffers in KB or MB instead of
> number-of-buffers.  I agree it's not entirely obvious that what it
> means is "multiply your setting in KB/MB by 8400/8192".  Anybody have
> an idea how to clarify things?

I have updated the table title to be clearer.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

Attachments:

/rtmp/diff (text/x-diff, 1022B) download Index: doc/src/sgml/runtime.sgml =================================================================== RCS file: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v retrieving revision 1.422 diff -c -c -r1.422 runtime.sgml *** doc/src/sgml/runtime.sgml 20 Nov 2008 11:48:26 -0000 1.422 --- doc/src/sgml/runtime.sgml 15 Dec 2008 23:22:24 -0000 *************** *** 1087,1093 **** <thead> <row> <entry>Name</> ! <entry>Approximate multiplier (bytes per increment) as of 8.3</> </row> </thead> --- 1087,1093 ---- <thead> <row> <entry>Name</> ! <entry>Additional bytes per object, as of 8.3</> </row> </thead> *************** *** 1119,1125 **** <row> <entry>Fixed space requirements</> ! <entry>770 kB</entry> </row> </tbody> </tgroup> --- 1119,1125 ---- <row> <entry>Fixed space requirements</> ! <entry>770 k</entry> </row> </tbody> </tgroup>

view thread (28+ messages)  latest in thread

Message-ID: <200812152323.mBFNN3Y25121@momjian.us>
Permalink:  ../200812152323.mBFNN3Y25121@momjian.us/
Also on:    postgresql.org/message-id/200812152323.mBFNN3Y25121@momjian.us

 ·  · 

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: bruce@momjian.us, tgl@sss.pgh.pa.us, bitsandbytes88@hotmail.com
  Subject: Re: [ADMIN] shared_buffers and shmmax
  In-Reply-To: <200812152323.mBFNN3Y25121@momjian.us>
  References: <28167.1216737959@sss.pgh.pa.us> <200812152323.mBFNN3Y25121@momjian.us>

* 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