Re: [DOCS] [ADMIN] shared_buffers and shmmax - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: [DOCS] [ADMIN] shared_buffers and shmmax
Date
Msg-id 1216922559.6858.56.camel@jd-laptop
Whole thread Raw
In response to Re: [DOCS] [ADMIN] shared_buffers and shmmax  ("Greg Sabino Mullane" <greg@turnstep.com>)
List pgsql-hackers
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





pgsql-hackers by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: [DOCS] [ADMIN] shared_buffers and shmmax
Next
From: Tom Lane
Date:
Subject: So, what's the "base dn" in an LDAP URL again?