Skip to content

Commit

Permalink
O3-3003 (fix) slow queries with many JOINs by upgrading mariadb to ve…
Browse files Browse the repository at this point in the history
…rsion 10.11.7 (#800)
  • Loading branch information
chibongho committed Apr 3, 2024
1 parent 0874cc1 commit 7390409
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,9 @@ services:

# MariaDB
db:
image: mariadb:10.8.2
image: mariadb:10.11.7
restart: "unless-stopped"
command:
- mysqld
- --character-set-server=utf8
- --collation-server=utf8_general_ci
- --optimizer-search-depth=0 # makes queries with many JOINs not over-optimized, see:
# https://mariadb.com/docs/server/ref/mdb/system-variables/optimizer_search_depth/
command: "mysqld --character-set-server=utf8 --collation-server=utf8_general_ci"
healthcheck:
test: "mysql --user=${OMRS_DB_USER:-openmrs} --password=${OMRS_DB_PASSWORD:-openmrs} --execute \"SHOW DATABASES;\""
interval: 3s
Expand Down

0 comments on commit 7390409

Please sign in to comment.