Skip to content

Commit

Permalink
configure mariadb
Browse files Browse the repository at this point in the history
  • Loading branch information
outductor committed Jan 1, 2024
1 parent 388b4e4 commit d95c543
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ data:
innodb_log_file_size = 256M
innodb_flush_log_at_trx_commit = 2
innodb_write_io_threads = 8
innodb_io_capacity = 1000
max_allowed_packet = 256M
slow_query_log = true
slow_query_log-file = /var/log/mysql/mysql-slow.log
long_query_time = 0
long_query_time = 0.01
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ spec:
accessModes:
- ReadWriteOnce

myCnf: |
[mariadb]
innodb_buffer_pool_size = 1G
innodb_log_file_size = 256M
innodb_flush_log_at_trx_commit = 2
innodb_write_io_threads = 8
innodb_io_capacity = 1000
max_allowed_packet = 256M
livenessProbe:
exec:
command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ spec:
accessModes:
- ReadWriteOnce

myCnf: |
[mariadb]
innodb_buffer_pool_size = 1G
innodb_log_file_size = 256M
innodb_flush_log_at_trx_commit = 2
innodb_write_io_threads = 8
innodb_io_capacity = 1000
max_allowed_packet = 256M
livenessProbe:
exec:
command:
Expand Down

0 comments on commit d95c543

Please sign in to comment.