MySQL Forums
Forum List  »  InnoDB

Re: AUTO_INCREMENT when column maximum is reached
Posted by: Peter Brawley
Date: September 04, 2020 10:28AM

If your table gets to within 1 of the limiting value for an auto_increment column, the table is growing faster than anticipated, that's a design failure---there always needs to be ample headroom.

If your schema, its rules, or any apps using it depend on gapless auto_increment sequences, that's another design mistake. Fix that by providing your own sequencing function.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: AUTO_INCREMENT when column maximum is reached
65
September 04, 2020 10:28AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.