Tune mysql a bit better for concurrent operations
With PyMySQL in the projects we can expect things to happen more concurrently now. The query cache is a hinderance to concurrency, and more connections will be required. Change-Id: Icfb8cdbb9ed39cfd7732ad05fe740e01c767af7b
This commit is contained in:
parent
18d1cca6cb
commit
d16bfa48ee
@ -95,7 +95,10 @@ function configure_database_mysql {
|
||||
sudo bash -c "source $TOP_DIR/functions && \
|
||||
iniset $my_conf mysqld bind-address 0.0.0.0 && \
|
||||
iniset $my_conf mysqld sql_mode STRICT_ALL_TABLES && \
|
||||
iniset $my_conf mysqld default-storage-engine InnoDB"
|
||||
iniset $my_conf mysqld default-storage-engine InnoDB \
|
||||
iniset $my_conf mysqld max_connections 1024 \
|
||||
iniset $my_conf mysqld query_cache_type OFF \
|
||||
iniset $my_conf mysqld query_cache_size 0"
|
||||
|
||||
|
||||
if [[ "$DATABASE_QUERY_LOGGING" == "True" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user