Skip site navigation (1) Skip section navigation (2)

Re: [DOCS] [ADMIN] shared_buffers and shmmax

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Cc: pgsql-docs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [DOCS] [ADMIN] shared_buffers and shmmax
Date: 2008-07-24 18:02:39
Message-ID: 1216922559.6858.56.camel@jd-laptop (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-docspgsql-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




In response to

pgsql-docs by date

Next:From: Greg SmithDate: 2008-07-26 21:47:05
Subject: Re: [ADMIN] shared_buffers and shmmax
Previous:From: Greg Sabino MullaneDate: 2008-07-24 17:54:31
Subject: Re: [ADMIN] shared_buffers and shmmax

pgsql-hackers by date

Next:From: Tom LaneDate: 2008-07-24 18:19:19
Subject: So, what's the "base dn" in an LDAP URL again?
Previous:From: Greg Sabino MullaneDate: 2008-07-24 17:54:31
Subject: Re: [ADMIN] shared_buffers and shmmax

pgsql-admin by date

Next:From: Scott MarloweDate: 2008-07-24 18:06:11
Subject: Re: Upgrade clients when (major) upgrading server?
Previous:From: Joshua D. DrakeDate: 2008-07-24 18:01:38
Subject: Re: -O not working

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group