Re: DTrace probes patch - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: DTrace probes patch
Date
Msg-id 20081217172550.GH4453@alvh.no-ip.org
Whole thread Raw
In response to Re: DTrace probes patch  (Robert Lor <Robert.Lor@Sun.COM>)
Responses Re: DTrace probes patch  (Robert Lor <Robert.Lor@Sun.COM>)
List pgsql-hackers
Robert Lor escribió:
> Fujii Masao wrote:
>> Hi,
>>
>> On Wed, Dec 17, 2008 at 4:53 AM, Robert Lor <Robert.Lor@sun.com> wrote:

>> Why is TRACE_POSTGRESQL_WAL_BUFFER_WRITE_START/DONE called
>> only in AdvanceXLInsertBuffer? We can trace only a part of WAL buffer write?
>>   
> The intention of these probes is to determine if wal_buffers is too  
> small by monitoring how frequent the server has to write out the buffers  
> along with the I/O time.

But there are 5 callers of XLogWrite ... why aren't the other ones being
tracked too?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Robert Lor
Date:
Subject: Re: DTrace probes patch
Next
From: Peter Eisentraut
Date:
Subject: Re: Variadic parameters vs parameter defaults