Re: LWLock statistics collector - Mailing list pgsql-hackers

From Tom Lane
Subject Re: LWLock statistics collector
Date
Msg-id 9343.1154922606@sss.pgh.pa.us
Whole thread Raw
In response to Re: LWLock statistics collector  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-hackers
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> I assume we want to gather the statistics per resource (represented by
> LWLockKind in my patch), not per LWLockId.

Why?  I haven't yet seen any problem where that looked useful.
The named LWLocks are certainly sui generis, and as for things like
per-buffer locks I haven't seen any need for aggregate statistics ---
I'd rather know about "hot spots" if there are any buffers that are
not like the rest.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: 8.2 features status
Next
From: Tom Lane
Date:
Subject: Re: 'startup waiting' status message