My Oracle Support Banner

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

Last updated on MARCH 19, 2020

Applies to:

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

Purpose

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

Scope

For DBAs having OLTP-like workloads or doing benchmarking.

Details

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
Purpose
Scope
Details
 Changes to make in all cases
 Main settings to review
 SSD-specific settings
 Memory usage and InnoDB buffer pool
 Operating systems
 Linux
 Linux Filesystems
 Solaris
 Windows
 Hardware
 Thread pool
 Background
 Other observations
 Bugs that affect upgrades and usage for 5.6 compared to 5.5 and earlier
References

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