Bug #70350 profiling is deprecated in 5.6 but it's not clear how to use P_S instead

Submitted: 16 Sep 2013 9:31 Modified: 12 Jun 2015 19:43
Reporter: Simon Mudd Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S4 (Feature request)
Version:5.6.13 OS:Any
Assigned to: Daniel Price CPU Architecture:Any

[16 Sep 2013 9:31] Simon Mudd
Description:
http://dev.mysql.com/doc/refman/5.6/en/show-profile.html says that this functionality is deprecated in favour of using performance_schema, but does not explain how to get the equivalent information using this new way.

How to repeat:
SET profiling = 1;
... some stuff to get some profiling on ...
SHOW PROFILE FOR QUERY X; -- to get the profile for query X

There are warnings shown to indicate this functionality is going away, but no pointers on how to do this differently.

Suggested fix:
Please add to http://dev.mysql.com/doc/refman/5.X/en/performance-schema-examples.html a reference on how to use P_S instead of using SHOW PROFILE FOR QUERY X;
[10 Dec 2013 16:13] Sveta Smirnova
Thank you for the reasonable doc request.
[12 Jun 2015 19:43] Daniel Price
Posted by developer:
 
The following documentation has been added for query profiling using Performance Schema:

https://dev.mysql.com/doc/refman/5.6/en/performance-schema-query-profiling.html
https://dev.mysql.com/doc/refman/5.7/en/performance-schema-query-profiling.html

Thank you for the bug report.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.055 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.