How is the Next Value for an Auto-Increment Id Determined in MySQL? (Doc ID 1352943.1)

Last updated on JUNE 07, 2015

Applies to:

MySQL Server - Version: 5.0 and later   [Release: 5.0 and later ]
Information in this document applies to any platform.

Goal

Learn how MySQL determines the next value for an auto-increment column and which options can be used to control the behavior.

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms