Bug #81690 executing prepared statements increases com_stmt_execute but also com_select
| Submitted: | 2 Jun 2016 13:55 | Modified: | 3 Jun 2016 6:40 |
|---|---|---|---|
| Reporter: | Kenny Gryp | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Options | Severity: | S3 (Non-critical) |
| Version: | 5.7.12 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[2 Jun 2016 13:55]
Kenny Gryp
[2 Jun 2016 14:03]
Kenny Gryp
The reason why I open this bug is to make it clear that this happens. We found this while working on some global status dashboards and were doing sum(com_) (a regular thing to see) and it skewed results. We have to filter out com_stmt_ and make a separate graph for that. I don't see this being documented clearly.
[3 Jun 2016 6:40]
MySQL Verification Team
Hello Kenny, Thank you for the report and feedback! Thanks, Umesh
[12 Jun 2017 16:27]
Peter Zaitsev
Hi, I think this is valuable to be able to see what kind of commands are being executed through prepared statements. Yet I think there is a design problem here as the Com_XXX handling was evolving with MySQL architecture. There are the COMMANDS which are being run and when there is also HOW they are being run which can be - Text Statements - Prepared Statements - Statements ran through Protocol X - Replicated statements - Statements executed by stored procedures Right now it looks like WHAT statement is run and HOW it is run id mixed in Com_XXX at least for prepared statements
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.