Skip to content

Instantly share code, notes, and snippets.

@moaalaa
Created July 20, 2023 13:59
Show Gist options
  • Save moaalaa/62ea84b11b8c79391d41ec59926ef8b9 to your computer and use it in GitHub Desktop.
Save moaalaa/62ea84b11b8c79391d41ec59926ef8b9 to your computer and use it in GitHub Desktop.
Enhance MySql Importing Config
# Path
# /etc/mysql/mycnf
# ...
[mysqld]
innodb_buffer_pool_size = 4G
innodb_log_buffer_size = 256M
innodb_log_file_size = 1G
innodb_write_io_threads = 16
innodb_flush_log_at_trx_commit = 0
innodb_doublewrite = 0
sudo nano /etc/mysql/my.cnf
sudo service mysql restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment