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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-docs 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

In response to

Browse pgsql-admin by date

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

Browse pgsql-docs by date

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

Browse pgsql-hackers by date

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