~/talk

MySQL Performance for DevOps

Talkat FOSDEM 2021 · on Saturday, 2021-02-06· at 14:45· D.mariadb· [databases, devops-and-delivery]

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

  1. 0:00Introduction to MySQL performance
  2. 4:36Hardware configuration for MySQL
  3. 8:41MySQL configuration options
  4. 17:32Query tuning fundamentals
  5. 23:48Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.