Skip to content

Instantly share code, notes, and snippets.

View L337C0D3R's full-sized avatar
🏠
Working from home

L337C0D3R

🏠
Working from home
View GitHub Profile
@L337C0D3R
L337C0D3R / mysql-large-db-import
Created May 7, 2021 10:53 — forked from molotovbliss/mysql-large-db-import
Importing Large DB faster MySQL Settings
Source: https://dba.stackexchange.com/questions/83125/mysql-any-way-to-import-a-huge-32-gb-sql-dump-faster
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
Why these settings ?
innodb_buffer_pool_size will cache frequently read data