ITAGAKI Takahiro <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org