Bug #82210 JSON memory usage missing from the memory summary tables
Submitted: 13 Jul 2016 6:50 Modified: 21 Jul 2016 19:22
Reporter: Knut Anders Hatlen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: JSON Severity:S3 (Non-critical)
Version:8.0.0 OS:Any
Assigned to: CPU Architecture:Any

[13 Jul 2016 6:50] Knut Anders Hatlen
Description:
The JSON memory usage is missing from performance schema's memory summary tables on trunk. It is OK on 5.7.

How to repeat:
SELECT event_name FROM performance_schema.memory_summary_global_by_event_name where event_name = 'memory/sql/JSON';

Returns the expected "memory/sql/JSON" on 5.7. Returns empty result on trunk.

Suggested fix:
Add an entry for memory_key_JSON in the all_server_memory array in sql/psi_memory_key.cc. There is such an entry in 5.7, but it got lost when WL#7909 was merged from 5.7 to trunk.
[21 Jul 2016 19:22] Jon Stephens
Doesn't affect a release. Closed without further action.