This repository has been archived on 2024-05-02. You can view files and clone it, but cannot push or open issues or pull requests.
omni-ansible/resources/nextcloud-mariadb.cnf

10 lines
383 B
Plaintext
Raw Normal View History

# https://docs.nextcloud.com/server/21/admin_manual/installation/server_tuning.html#using-mariadb-mysql-instead-of-sqlite
# https://github.com/owncloud/core/issues/20967#issuecomment-205474772
[mysqld]
innodb_buffer_pool_size = 1G
innodb_buffer_pool_instance = 1
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 32M
innodb_max_dirty_pages_pct = 90
innodb_io_capacity=4000