Re: DTrace probes patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: DTrace probes patch
Date
Msg-id 25553.1229610862@sss.pgh.pa.us
Whole thread Raw
In response to Re: DTrace probes patch  ("Fujii Masao" <masao.fujii@gmail.com>)
Responses Re: DTrace probes patch  (Robert Lor <Robert.Lor@Sun.COM>)
List pgsql-hackers
"Fujii Masao" <masao.fujii@gmail.com> writes:
> On Thu, Dec 18, 2008 at 4:49 AM, Robert Lor <Robert.Lor@sun.com> wrote:
>> My understanding is that we only want to track the XLogWrite when advancing
>> to the next buffer page, and if there is unwritten data in the new buffer
>> page, that indicates no more empty WAL buffer pages available, but I may be
>> wrong. I did some tests by adjusting wal_buffers, and I could observe this
>> behavior, more calls to XLogWrite with smaller wal_buffers.

> I understood your intention. But, I think that its function name is somewhat
> confusing.

I agree.  If the probe is meant to track only *some* WAL writes
then it needs to be named something less generic than
TRACE_POSTGRESQL_WAL_BUFFER_WRITE.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Emmanuel Cecchet
Date:
Subject: Re: Partitioning wiki page
Next
From: Tom Lane
Date:
Subject: Re: Function with defval returns error