MySQL Performance for DevOps
summary
Practical checklist of changeable bottlenecks and concrete values: set swappiness=1 and enable NUMA interleave in BIOS, use SSDs with battery backed write cache, set IO scheduler to noop or deadline and CPU governor to performance. Size innodb_buffer_pool to hold the active dataset, increase innodb_log_file_size so background flushes keep up, tune innodb_io_capacity, prefer O_DIRECT and set innodb_thread_concurrency to roughly CPU cores. Trade durability for speed with innodb_flush_log_at_trx_commit=2 or coarser sync_binlog, and raise table_open_cache when OPEN_TABLES waits appear; monitor with Percona Monitoring and Management.
AI-written summary · about
chapters (5)
- 0:00Introduction to MySQL performance
- 4:36Hardware configuration for MySQL
- 8:41MySQL configuration options
- 17:32Query tuning fundamentals
- 23:48Conclusion and resources
related talks
29mMySQL Performance for DevOps
47mThe Low Hanging Fruits of MySQL
53mMySQL DevOps
28mBecoming a DBA for 5 minutes a day, the most important things to know for sysadmins and developers
56mOptimization Techniques in MySQL
49m18 Ways to Fix MySQL Bottlenecks
53mIntroduction to MySQL Performance Tuning - workshop 1hr
37mMySQL Database Scalability
