My Oracle Support Banner

Recommended Settings for MySQL 5.6, 5.7, 8.0 Server for Online Transaction Processing (OLTP) and Benchmarking (Doc ID 1531329.1)

Last updated on DECEMBER 22, 2021

Applies to:

MySQL Server - Version 5.6 and later
Information in this document applies to any platform.


Strongly recommended initial settings for MySQL Server when used for OLTP or benchmarking.


For DBAs having OLTP-like workloads or doing benchmarking.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Changes to make in all cases
 Main settings to review
 SSD-specific settings
 Memory usage and InnoDB buffer pool
 Operating systems
 Linux Filesystems
 Thread pool
 Other observations
 Bugs that affect upgrades and usage for 5.6 compared to 5.5 and earlier

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.