Need performance statistics

Bug #367110 reported by Mark Callaghan on 2009-04-26
2
Affects Status Importance Assigned to Milestone
PBXT
Wishlist
Unassigned

Bug Description

This is a feature request:
SHOW STATUS reports nothing for PBXT.

SHOW ENGINE PBXT STATUS has a few details. I want information on the number and average handling time for disk read and disk write operations.

Paul McCullagh (paul-mccullagh) wrote :

Hi Mark,

I think xsstat will give you a lot of what you need.

The tool is automatically build and installed with PBXT.

Assume you build mysql as follows:

cd [mysql-build-dir]
./configure --prefix=[mysql-install-dir]
make install

Then you build PBXT like this:

./configure --with-mysql=[mysql-build-dir]
make install

After you started the mysql server and installed the plugin:

mysql> INSTALL PLUGIN PBXT SONAME 'libpbxt.so';

You can now enter:

[mysql-install-dir]/bin/xtstat

It should connect to the server and dump statistics every second about all the PBXT internals.

Enter:

[mysql-install-dir]/bin/xtstat --help

for help.

Mark Callaghan (mdcallag) wrote :

I will try xstat. That is a substitute for putting details in SHOW ENGINGE PBXT STATUS. But it is not a substitute for SHOW STATUS. Many of us use automation that puts the output from SHOW STATUS into a monitoring tool and the tool expects the SHOW STATUS style output. Also, when there are many servers running remotely in production then expecting the tool to login via ssh and run xstat is too much work.

Changed in pbxt:
importance: Undecided → Wishlist
Changed in pbxt:
status: New → Confirmed
Paul McCullagh (paul-mccullagh) wrote :

The information SHOW STATUS will be improved in a future version. In the meantime we recommend using xtstat.

Changed in pbxt:
status: Confirmed → Triaged
shinguz (oli-sennhauser) wrote :

Wanted to report the same like Mark...
pbxt.statistics is an alternative but needs some additional logic in monitoring solutions (I have to fetch data from show global variables, from show global status and from pbxt.statistics now instead of only 2 sources...)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers