Warning
SingleStore 9.0 gives you the opportunity to preview, evaluate, and provide feedback on new and upcoming features prior to their general availability. In the interim, SingleStore 8.9 is recommended for production workloads, which can later be upgraded to SingleStore 9.0.
ANALYZE MEMORY
Estimates peak memory usage per query.
ANALYZE MEMORY;
ANALYZE MEMORY
collects details about memory usage from past query runs across leaf nodes and retrieves execution time data per query from the aggregator node(s).
The memory information collected by ANALYZE MEMORY
is intended to help with workload management tasks such as categorizing query types and managing available memory in the cluster.
Note
You must have SUPER
privileges to run the ANALYZE MEMORY
command or an error will be generated.
Last modified: July 10, 2025