59 - that is the number of statistics collected by mysqlnd. When
I started writing this blog post, I hoped it would be easy going
describing them. But it wasn’t. Some ten days ago, we’ve had 51
statistics and near zero tests for them. Now we have 59
statistics. And, in a certain way, every figure is a tuning screw
in the hand of one who knows what they do.
I must confess, I grossly underestimated the time it takes to
write only a few words about some of them. Here is a first batch
of comments on some 20 figures. Already those some 20 figures
should give you an idea how the mysqlnd statistics might help you
with bottleneck analysis, monitoring. Or you use the statistics
to identify scripts that select more rows than they consume, open
more connections than needed, …
How to access client statistics with mysqlnd
Statistics are only available with mysqlnd. Statistics can be
accessed using:
[Read more]