Re: size of units in postgresql.conf

From: Curt Sampson <cjs(at)cynic(dot)net>
To: Vincent Stoessel <vincent(at)xaymaca(dot)com>
Cc: Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: size of units in postgresql.conf
Date: 2002-06-11 05:12:46
Message-ID: Pine.NEB.4.43.0206111401390.3382-100000@angelic.cynic.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 10 Jun 2002, Vincent Stoessel wrote:

> Neil Conway wrote:
> > On Wed, 29 May 2002 16:12:51 -0400
> > "Vincent Stoessel" <vincent(at)xaymaca(dot)com> wrote:
> >
> >>Quick question: what is the unit of memory size used in postgresql.conf?
> >>bytes? kilobytes?
> >>Is the base unit consistent for every field ?
> >
> > No, it depends on the specific configuration directive.
>
> Why is it different for different directives?

Some directives can be changed only in specific increments. For
example, buffers are always 8K, so specifying 68K of buffers can't
work; you'd need to specify 64K or 72K. It's a bit easier, perhaps,
and possibly less mistake-prone, just to say "7" or "8".

cjs
--
Curt Sampson <cjs(at)cynic(dot)net> +81 90 7737 2974 http://www.netbsd.org
Don't you know, in this new Dark Age, we're all light. --XTC

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Achilleus Mantzios 2002-06-11 06:44:32 Re: [SQL] VIEWs and FOREIGN keys
Previous Message Sekhar 2002-06-11 04:55:59 details of postgres front