Server tuning follows a loop: measure, find the bottleneck, fix one thing, re-measure. The three highest-leverage areas are the InnoDB buffer pool, the slow query log, and connection handling.
InnoDB buffer pool — the #1 knob
The buffer pool caches data and index pages in RAM; when your working set fits in it, reads are memory-speed and disk I/O nearly vanishes. Size it to ~50–75% of RAM on a dedicated DB server.
innodb_buffer_pool_size ;
ENGINE INNODB STATUS\G
