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:
None 
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

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[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.