Re: [PATCHES] Bgwriter behavior
От | Bruce Momjian |
---|---|
Тема | Re: [PATCHES] Bgwriter behavior |
Дата | |
Msg-id | 200501070517.j075Hfw27917@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: [PATCHES] Bgwriter behavior (Simon Riggs <simon@2ndquadrant.com>) |
Ответы |
Re: [PATCHES] Bgwriter behavior
|
Список | pgsql-hackers |
Do we want to add this additional log infor to CVS for 8.0? --------------------------------------------------------------------------- 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@postgresql.org > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-hackers по дате отправления: