QuestDB memory climbs forever when Grafana generates unique BETWEEN queries (statement cache never reused)
This is not a leak in your queries. Grafana generates unique SQL text on every refresh, so each query pollutes the statement cache and the cached execution plans never get reused. Make sure you are on a release that includes PRs 1722 and 1735, which fixed unbounded cache growth for LATEST BY and a bug where cache size…
Problem outcome: unknown