Important
The SingleStore 9.1 release candidate (RC) is available now. It will be promoted to general availability (GA) soon and at that time it will be renamed to SingleStore 10.
In the interim, SingleStore 9.1 RC can be used to preview, evaluate, and provide feedback on the new and upcoming features in SingleStore 10, while SingleStore 9.0 is recommended for production workloads.
maximum_ memory
Note
This page applies only to versions before 8.
For 8.
SingleStore will not allocate more than maximum_ megabytes of memory.SELECT query’s memory allocations put the memory usage by SingleStore over maximum_, query execution stops and an error message is generated.
By default, maximum_ is set to 90% of the physical memory on the host, or physical memory minus 10GB, whichever value is greater.
As Kubernetes does not support swap, maximum_ for the Operator is set to 90% of physical memory, or physical memory minus 10 GB, whichever is larger
Query compilations whose allocations exceed this limit will also terminate the server.
SingleStore supports disk spilling.
When a node's memory load is above 75% and in-memory data structures (for the current thread) are at least 100MB, the intermediate result of the operation spills to disk in the data/spill directory.spilling_ and spilling_, respectively.
Currently, the following query operator(s) can be spilt onto disk:
-
GROUP BY -
SORTorORDER BY
Note
Disk spilling must be enabled by setting the engine variable, enable_ to ON.enable_.
Last modified: