Re: pg_stat_lwlocks view - lwlocks statistics, round 2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Satoshi Nagayasu <snaga(at)uptime(dot)jp>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org, Qi Huang <huangqiyx(at)hotmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>
Subject: Re: pg_stat_lwlocks view - lwlocks statistics, round 2
Date: 2012-10-19 17:45:38
Message-ID: 538.1350668738@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Satoshi Nagayasu <snaga(at)uptime(dot)jp> writes:
> Ok, I guess we have reached the consensus to have
> "some flight-recorder". Right?

I remain unconvinced. I think the argument that this will promote
novice understanding is complete hogwash: making any sense of
lwlock-level stats will require deep PG understanding, not create it.
And despite Jeff's optimistic views upthread, I don't think very many
people have or will acquire such understanding. So I'm really resistant
to accepting even minimal overhead in pursuit of this goal --- and I
do not believe the overhead will be minimal, either.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2012-10-19 18:01:14 Re: assertion failure w/extended query protocol
Previous Message Andres Freund 2012-10-19 16:59:33 Re: assertion failure w/extended query protocol