It's all about the answers!

Ask a question

How is the DB latency determined in the performance widget?

Benjamin Silverman (4.1k610) | asked Dec 07 '16, 7:15 p.m.
I've noticed that the latency reported by the performance widget does often not reflect the same results as the ping utility.  Often times the latency is reported higher in the widget while pings between the app and DB server are 1ms or less.  Does the performance widget use a certain size packet that is different than the default OS ping packet?

Donald Nong commented Dec 07 '16, 7:36 p.m.

Hi Ben, I recall reading somewhere that the said latency is measured by acquiring a connection and run a  simple query, so it can be much higher than "ping". I cannot find the reference now or maybe I'm just imagining things. :-)

Oh...maybe we can enable SQL tracing and see if the widget does the thing I mention above.

Be the first one to answer this question!

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.