Tom Lane wrote:
> If I thought that average users would have a need for LWLock statistics,
> I'd be more sympathetic to expending effort on a nice frontend for
> viewing the statistics, but this is and always will be just a concern
> for hardcore hackers ...
That may be true of the output, but that's not a very strong argument
against making it much easier to gather and display the LWLock
statistics. I can easily imagine the patch be a useful performance
troubleshooting tool in a high load environment. Depends on how
easy/intrusive it is to enable/use the stderr method on a production
system, though, as well as how much of a performance impact the
measurements have on overall operation...
--
Kevin Brown kevin@sysexperts.com