pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Greg Sabino Mullane <greg@turnstep.com>
Cc: pgsql-docs@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [DOCS] [ADMIN] shared_buffers and shmmax
Date: Thu, 24 Jul 2008 11:02:39 -0700
Message-ID: <1216922559.6858.56.camel@jd-laptop> (raw)
In-Reply-To: <3bd4182ebf79bc4a171f08d03d2edb2f@biglumber.com>
References: <3bd4182ebf79bc4a171f08d03d2edb2f@biglumber.com>

On Thu, 2008-07-24 at 17:54 +0000, Greg Sabino Mullane wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
> NotDashEscaped: You need GnuPG to verify this message
> 
> 
> >> shared_buffers is in disk block size, typically 8K
> 
> > 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?
> 
> Bite the bullet and start showing the buffer settings as a pure number of bytes
> everywhere, and get rid of the confusing '8kB' unit in pg_settings? 

+1

We have helper functions like pg_size_pretty() to resolve the other
issues.

Joshua D. Drake

-- 
The PostgreSQL Company since 1997: http://www.commandprompt.com/ 
PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate






view thread (28+ messages)  latest in thread

Message-ID: <1216922559.6858.56.camel@jd-laptop>
Permalink:  ../1216922559.6858.56.camel@jd-laptop/
Also on:    postgresql.org/message-id/1216922559.6858.56.camel@jd-laptop

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: jd@commandprompt.com, greg@turnstep.com, pgsql-hackers@postgresql.org
  Subject: Re: [DOCS] [ADMIN] shared_buffers and shmmax
  In-Reply-To: <1216922559.6858.56.camel@jd-laptop>

* 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