Re: [HACKERS] Bgwriter behavior

From: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Bgwriter behavior
Date: 2005-01-07 10:52:16
Message-ID: 20050107065203.G63822@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Fri, 7 Jan 2005, Bruce Momjian wrote:

>
> Do we want to add this additional log infor to CVS for 8.0?

No, unless we're looking for an RC5?

>
> ---------------------------------------------------------------------------
>
> Simon Riggs wrote:
>> On Mon, 2005-01-03 at 19:14 -0500, Bruce Momjian wrote:
>>> Simon Riggs wrote:
>>>> Here's my bgwriter instrumentation patch, which gives info that could
>>>> allow the bgwriter settings to be tuned.
>>>
>>> Uh, what does this do exactly? Add additional logging output?
>>>
>>
>> Produces output like this...
>>
>> DEBUG:ARC T1target= 45 B1len= 4954 T1len= 40 T2len= 4960 B2len= 46
>> DEBUG:ARC total = 98% B1hit= 0% T1hit= 0% T2hit= 98% B2hit= 0%
>> DEBUG:ARC buffer dirty misses= 22% (wasted= 0); cleaned= 4494
>>
>> when you have debug_shared_buffers (= n) set
>> and you have server messages DEBUG1 available.
>>
>> The last line of log output has been replaced by this version.
>>
>> --
>> Best Regards, Simon Riggs
>>
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>>
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
> + If your life is a hard drive, | 13 Roberts Road
> + Christ can be your backup. | Newtown Square, Pennsylvania 19073
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alin Vaida 2005-01-07 11:10:34 Updated romanian translation
Previous Message Hans-Jürgen Schönig 2005-01-07 10:19:59 Re: Implementing RESET CONNECTION ...

Browse pgsql-patches by date

  From Date Subject
Next Message Tony and Bryn Reina 2005-01-07 10:56:50 Re: pg_config MSVC makefile
Previous Message Hans-Jürgen Schönig 2005-01-07 10:19:59 Re: Implementing RESET CONNECTION ...