Bug #71895 Documentation about the PSI interface
Submitted: 1 Mar 2014 11:50 Modified: 1 Mar 2014 12:11
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Open Impact on me:
Category:MySQL Server: Documentation Severity:S4 (Feature request)
Version:5.6.16 OS:Any
Assigned to: CPU Architecture:Any
Tags: P_S, performance_schema, PFS, PSI

[1 Mar 2014 11:50] Daniël van Eeden
It looks like there is no documentation about how to add performance instrumentation to a plugin. After browsing trough the sourcecode it looks like one has to use the PSI interface which is used by performance_schema.

How to repeat:
Search docs for things like HAVE_PSI_INTERFACE
[1 Mar 2014 12:11] Daniël van Eeden
The PSI interface is used in storage/example/ha_example.cc

But the PSI interface is not explained in ha_example.cc or on https://dev.mysql.com/doc/internals/en/custom-engine.html