Configure slowlog
This commit is contained in:
parent
9fff154865
commit
88beaa611e
4 changed files with 23 additions and 0 deletions
|
@ -6,3 +6,7 @@ munin_sql_user: munin
|
|||
munin_sql_password: "{{ lookup('ansible.builtin.password', '/dev/null chars=ascii_lowercase,digits length=23') }}"
|
||||
|
||||
mysql_socket: /run/mysqld/mysqld.sock
|
||||
|
||||
slowlog_query_log_file: /var/log/mysql/mariadb-slow.logA
|
||||
slowlog_query_time: 10
|
||||
slowlog_log_slow_rate_limit: 1000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue