Skip to content

Commit

Permalink
fix: reduce memory usage of innodb
Browse files Browse the repository at this point in the history
  • Loading branch information
paales committed Jun 5, 2020
1 parent f08ca22 commit 4d8396f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql/small.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#server_id = ##SERVERID## # Last 2 quads of main server IP without dots
#report_host = ##SERVERNAME##
innodb_buffer_pool_instances = 4 # default: 8 or 1 if innodb_buffer_pool_size < 1 GB
innodb_buffer_pool_size = 4G # default: 128M
innodb_buffer_pool_size = 2G # default: 128M
innodb_log_file_size = 500M # default: 48M
key_buffer_size = 100M # default: 8M
thread_cache_size = 50 # default: 8 + (max_connections / 100), max 100
Expand Down

0 comments on commit 4d8396f

Please sign in to comment.