My Oracle Support Banner

MySQL Auto-increment Column Does Not Get Recycled (Doc ID 2536245.1)

Last updated on FEBRUARY 27, 2020

Applies to:

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


Table with an integer auto-increment column does not get recycled automatically once reaching the maximum.
Have to manually reset the value.

Is this a limitation in MySQL?
Or there is a parameter that needs to be enabled for the auto-increment to be recycled? 


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

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