MXS-2433: Reduce default query classifier cache size

Reduced the default cache size from 40% to 15%. Most cases don't benefit
from that much memory and the defaults have caused problems in live
environments.
This commit is contained in:
Markus Mäkelä
2019-04-17 10:45:35 +03:00
parent d13e6e56ee
commit 61f728c05a
2 changed files with 4 additions and 2 deletions

View File

@ -679,7 +679,9 @@ _qc_sqlite_.
#### `query_classifier_cache_size`
Specifies the maximum size of the query classifier cache. The default limit is
40% of total system memory.
15% of total system memory starting with MaxScale 2.3.7. In older versions the
default limit was 40% of total system memory. This feature was added in MaxScale
2.3.0.
When the query classifier cache has been enabled, MaxScale will, after a
statement has been parsed, store the classification result using the