Performance: Increase database buffer pools for Nextcloud and Zabbix
- Nextcloud MariaDB: 128MB → 4GB buffer pool - Zabbix MariaDB: 128MB → 3GB buffer pool - Added innodb-log-file-size=512M for better write performance - Added max-connections=200 for better concurrency - Created performance.cnf for Zabbix with additional optimizations Expected improvement: 3-6x faster database queries Impact: Better responsiveness for Nextcloud and Zabbix web UI
This commit is contained in:
@@ -143,7 +143,7 @@ services:
|
||||
# ------------------------------------------------
|
||||
mysql-zabbix:
|
||||
image: mariadb:10.6
|
||||
command: ['mysqld', '--collation_server=utf8_bin', '--character_set_server=utf8']
|
||||
command: ['mysqld', '--collation_server=utf8_bin', '--character_set_server=utf8', '--innodb-buffer-pool-size=3G', '--innodb-log-file-size=512M', '--max-connections=200']
|
||||
container_name: mysql-zabbix
|
||||
restart: always
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user