Done
Details
Details
Assignee
Andrii Skomorokhov
Andrii Skomorokhov(Deactivated)Reporter
Peter Zaitsev
Peter ZaitsevPriority
Components
Needs QA
Yes
Needs Doc
Yes
Fix versions
Story Points
1
Parent
Created January 10, 2020 at 2:36 PM
Updated November 13, 2024 at 8:31 AM
Resolved June 11, 2021 at 12:10 PM
PMM should set some reasonable limits of the query lengths as it takes queries from external data source. Currently I for MySQL using slow query log this:
Storing 500K fingerprint is impractical, for example from standpoint of showing it in UI
We already truncate example.... if anything there is more harm truncating example as it makes EXPLAIN non functional.
This data is from MySQL/Slow Query Log. Some data sources like Performance Schema enforce their own max length of stored query and do truncation
Suggested fix:
use the same max length of fingerprint as for query example.