From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> |
Cc: | pgsql-patches(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net> |
Subject: | Re: guc units cleanup |
Date: | 2006-10-03 21:11:55 |
Message-ID: | 200610032111.k93LBtE20202@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Patch applied. Thanks.
---------------------------------------------------------------------------
ITAGAKI Takahiro wrote:
> The attached patch changes units of the some default values in postgresql.conf.
>
> - shared_buffers = 32000kB => 32MB
> - temp_buffers = 8000kB => 8MB
> - wal_buffers = 8 => 64kB
>
> The code of initdb was a bit modified to write MB-unit values.
> Values greater than 8000kB are rounded out to MB.
>
> GUC_UNIT_XBLOCKS is added for wal_buffers. It is like GUC_UNIT_BLOCKS,
> but uses XLOG_BLCKSZ instead of BLCKSZ.
>
> Also, I cleaned up the test of GUC_UNIT_* flags in preparation to
> add more unit flags in less bits.
>
> Regards,
> ---
> ITAGAKI Takahiro
> NTT Open Source Software Center
>
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-10-03 21:18:47 | scripts/common.c minor memory leak |
Previous Message | Tom Lane | 2006-10-03 21:09:23 | Re: PG qsort vs. Solaris |
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-10-03 21:18:47 | scripts/common.c minor memory leak |
Previous Message | Bruce Momjian | 2006-10-03 20:44:28 | Re: [HACKERS] Bad bug in fopen() wrapper code |