You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like that Example/Explain length is limited to 20KB. We are using --query-source=slowlog --size-slow-logs=2GiB --disable-tablestats --max-query-length=-1 in PMM agent.
Most of the queries are shorter than this but we have few that we can't show. In slow query log file i can see whole query.
This is an example of the query.
Here is a query lenght from ClickHouse.
9912770ce518 :) select max(length(fingerprint)),max(length(example)) from pmm.metrics where queryid='33BB234C144D56BE' limit 1;
SELECT
max(length(fingerprint)),
max(length(example))
FROM pmm.metrics
WHERE queryid = '33BB234C144D56BE'
LIMIT 1
Description
Looks like that Example/Explain length is limited to 20KB. We are using --query-source=slowlog --size-slow-logs=2GiB --disable-tablestats --max-query-length=-1 in PMM agent.
Most of the queries are shorter than this but we have few that we can't show. In slow query log file i can see whole query.
This is an example of the query.
Here is a query lenght from ClickHouse.
9912770ce518 :) select max(length(fingerprint)),max(length(example)) from pmm.metrics where queryid='33BB234C144D56BE' limit 1;
SELECT
max(length(fingerprint)),
max(length(example))
FROM pmm.metrics
WHERE queryid = '33BB234C144D56BE'
LIMIT 1
Query id: 0b59e7da-cf30-4b47-9477-3dd1e0707e67
┌─max(length(fingerprint))─┬─max(length(example))─┐
│ 27706 │ 20480 │
└──────────────────────────┴──────────────────────┘
Expected Results
Example/Explain should not be truncated on 20KB
Actual Results
Example/Explain were truncated.
Version
PMM Server 2.40.1, PMM agent 2.40.1-6.bullseye
Steps to reproduce
Simply run query that is longer than 20KB. It will be truncated on QAN.
Relevant logs
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: