My Oracle Support Banner

How To Manage InnoDB Table and Index Statistics Manually (Doc ID 2160315.1)

Last updated on JULY 26, 2023

Applies to:

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


As of MySQL 5.6 series, InnoDB can store table and index statistics onto system tables. By default, the statistics information is calculated and maintained automatically. It is possible to disable automatic recalculation and maintain statistics information manually. This document describes how to maintain table and index statistics information.


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
 Automatic Recalculation
 Manual Control
 When InnoDB uses persistent statistics

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