From: | ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Subject: | guc units cleanup |
Date: | 2006-09-26 03:39:19 |
Message-ID: | 20060926123348.527A.ITAGAKI.TAKAHIRO@oss.ntt.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
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 | Content-Type | Size |
---|---|---|
guc_units.patch | application/octet-stream | 11.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Stefan Kaltenbrunner | 2006-09-26 06:06:45 | Re: -HEAD planner issue wrt hash_joins on dbt3 ? |
Previous Message | ITAGAKI Takahiro | 2006-09-26 02:58:54 | Re: Questions about guc units |
From | Date | Subject | |
---|---|---|---|
Next Message | Jeremy Drake | 2006-09-26 08:58:47 | Re: [HACKERS] large object regression tests |
Previous Message | ITAGAKI Takahiro | 2006-09-26 02:58:54 | Re: Questions about guc units |