Questions about guc units - Mailing list pgsql-hackers

From ITAGAKI Takahiro
Subject Questions about guc units
Date
Msg-id 20060925104428.523B.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
Whole thread Raw
Responses Re: Questions about guc units  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Hi hackers,
I have some questions about guc units, new feature in 8.2.

#shared_buffers = 32000kB       # min 128kB or max_connections*16kB
#temp_buffers = 8000kB          # min 800kB
#effective_cache_size = 8000kB

Are there any reasons to continue to use 1000-unit numbers? Megabyte-unit
(32MB and 8MB) seems to be more friendly for users. It increases some amount
of values (4000 vs. 4096), but there is little in it.


#max_fsm_pages = 1600000        # min max_fsm_relations*16, 6 bytes each
#wal_buffers = 8                # min 4, 8kB each

They don't have units now, but should they have GUC_UNIT_BLOCKS and
GUC_UNIT_XLOG_BLCKSZ unit? I feel inconsistency in them.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: Jeremy Drake
Date:
Subject: Re: [PATCHES] large object regression tests
Next
From: Martijn van Oosterhout
Date:
Subject: Re: pgsql: We're going to have to spell dotless i