1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

fix(client): MCOL-5587: enable quick mode for predictable performance (#3240) (#3243)

This changeset enables quick (mariadb -q) mode when columnstore is
installed. Quick mode precludes client CLI program from storing too
much data in memory, preventing out of memory conditions.
This commit is contained in:
Sergey Zefirov
2024-07-11 21:05:36 +03:00
committed by GitHub
parent a5c12b98d7
commit 7f0c281518
4 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,6 @@
[client]
quick
[mysqld] [mysqld]
plugin-load-add=ha_columnstore.so plugin-load-add=ha_columnstore.so

View File

@ -0,0 +1 @@
"Check that quick mode is enabled"

View File

@ -0,0 +1,4 @@
--echo "Check that quick mode is enabled"
# the following line will fail the test if quick mode
# is not enabled in (some) configuration file as default.
system mariadb --help | grep -q -E "^quick +TRUE\$";

View File

@ -127,4 +127,4 @@ install(FILES mariadb-columnstore.service
install(FILES module DESTINATION ${ENGINE_DATADIR}/local COMPONENT columnstore-engine) install(FILES module DESTINATION ${ENGINE_DATADIR}/local COMPONENT columnstore-engine)
find_package (Python3 COMPONENTS Interpreter REQUIRED) find_package (Python3 COMPONENTS Interpreter REQUIRED)
add_test(NAME PythonUnitTests COMMAND ${Python3_EXECUTABLE} -m unittest test_mcs-savebrm.py) add_test(NAME PythonUnitTests COMMAND ${Python3_EXECUTABLE} -m unittest test_mcs-savebrm.py)