Bug #71041 | Please, document every instrument in P_S.setup_instruments in details | ||
---|---|---|---|
Submitted: | 29 Nov 2013 18:39 | Modified: | 5 Sep 2017 1:11 |
Reporter: | Valeriy Kravchuk | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.6 | OS: | Any |
Assigned to: | Marc ALFF | CPU Architecture: | Any |
Tags: | mutex, performance_schema, rwlock, setup_instruments |
[29 Nov 2013 18:39]
Valeriy Kravchuk
[30 Nov 2013 9:11]
MySQL Verification Team
Hello Valeriy, Thank you for the report. Thanks, Umesh
[6 Dec 2013 20:27]
Paul DuBois
Hi Valeriy, The manual explains that specific instruments remain undocumented and why. http://dev.mysql.com/doc/refman/5.6/en/performance-schema-instrumentation-checking.html " An exhaustive description of precisely what is instrumented is not given in this documentation, for several reasons: * What is instrumented is the server code. Changes to this code occur often, which also affects the set of instruments. * It is not practical to list all the instruments because there are hundreds of them. * As described earlier, it is possible to find out by querying the setup_instruments table. This information is always up to date for your version of MySQL, also includes instrumentation for instrumented plugins you might have installed that are not part of the core server, and can be used by automated tools. " We recognize that this is not ideal, and have some ideas about addressing the situation. However, there is no timetable, so I am marking this bug report "To be fixed later."
[5 Sep 2017 1:11]
Paul DuBois
Posted by developer: Implemented framework for documentation to be added in 8.0.3. The Performance Schema setup_instruments table now has columns for instrument metadata: Instrument properties, instrument volatility, and a documentation string describing the the instrument purpose. Also, the TIMED column now can be NULL, indicating that the instrument does not support timing. See http://dev.mysql.com/doc/refman/8.0/en/setup-instruments-table.html.