Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View fortuneteller's full-sized avatar
🎯
Focusing

Andrey Konstantinov fortuneteller

🎯
Focusing
  • Andrey Konstantinov
  • Moscow, Russia
View GitHub Profile
@fortuneteller
fortuneteller / gist:7957434b9ed03e44007664d8537cacd8
Created November 22, 2018 14:12
/etc/modprobe.d/options.conf
options usb-storage quirks=0755:2205:bmw
@fortuneteller
fortuneteller / mysql-large-db-import
Created June 12, 2018 12:50 — 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
@fortuneteller
fortuneteller / mysql-large-db-import
Last active June 12, 2018 12:51 — 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