Skip to content

Commit

Permalink
my.cnf: shrink some default memory settings
Browse files Browse the repository at this point in the history
Apply moderate constraint to some of the biggest memory allocations.
If you care about performance, you would want to mount your own `my.cnf`
instead of using the default anyway.

Fixes: jbergstroem#18
  • Loading branch information
jbergstroem committed Jun 21, 2020
1 parent fd28859 commit c950258
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions my.cnf
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[mariadb]
innodb_buffer_pool_size = 10M
innodb_log_buffer_size = 512K # default / 2
innodb_log_file_size = 8M
lower_case_table_names = 1
key_buffer_size = 4194304 # default / 2

0 comments on commit c950258

Please sign in to comment.