Bug #97496 | SQL not record in ps when useCursorFetch or useServerPrepStmts is true | ||
---|---|---|---|
Submitted: | 5 Nov 2019 15:31 | Modified: | 22 Jul 2021 15:52 |
Reporter: | 镇熙 林 | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | 5.1.48, 8.0.18 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | events_statements_summary_by_digest, performance_schema, useCursorFetch, useServerPrepStmts |
[5 Nov 2019 15:31]
镇熙 林
[5 Nov 2019 15:32]
镇熙 林
demo for java
Attachment: TestUsePrep.java (application/octet-stream, text), 2.18 KiB.
[5 Nov 2019 15:33]
镇熙 林
demo for shell script
Attachment: useprep.sh (application/octet-stream, text), 3.85 KiB.
[5 Nov 2019 15:33]
镇熙 林
demo result
Attachment: useprep.sh.log (text/plain), 27.89 KiB.
[14 Nov 2019 11:46]
MySQL Verification Team
Hello! Thank you for the report and test case. regards, Umesh
[22 Jul 2021 15:52]
Alexander Soklakov
Posted by developer: Hello, This is not a c/J bug, but a known limitation on the server side. Prepared statements are not tracked by performance_schema.events_statements_summary_by_digest. Thanks, Alex