Unix Technical Forum

Re: guc units cleanup

This is a discussion on Re: guc units cleanup within the Pgsql Patches forums, part of the PostgreSQL category; --> Patch applied. Thanks. --------------------------------------------------------------------------- ITAGAKI Takahiro wrote: > The attached patch changes units of the some default values in ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 10:03 AM
Bruce Momjian
 
Posts: n/a
Default Re: guc units cleanup


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@momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:41 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com