Re: Converting postgresql.conf parameters to kilobytes

From: Shridhar Daithankar <shridhar(at)frodo(dot)hserus(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Converting postgresql.conf parameters to kilobytes
Date: 2004-05-31 08:05:29
Message-ID: 200405311335.29771.shridhar@frodo.hserus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sunday 30 May 2004 21:33, Tom Lane wrote:
> Shridhar Daithankar <shridhar(at)frodo(dot)hserus(dot)net> writes:
> > I was toying around with idea of converting all the memory related
> > parameters in postgresql.conf to kilobytes for simplicity and
> > uniformity.
>
> Why is that a good idea?

Right now following are measured in pages
wal_buffers
shared_buffers
effective_cachesize

Following are in kbs
work_mem
maintenance_work_mem
max_stack_depth

while rest of the memory parameters are in kb. I thought being uniform would
be good. Besides it will make it independent of page size as well.

Shridhar

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-05-31 08:25:46 Re: Can't detect time zone
Previous Message Darko Prenosil 2004-05-31 07:49:47 Re: yet another contrib module