Tagged articles
3 articles
Page 1 of 1
ITPUB
ITPUB
Oct 14, 2024 · Databases

How Long Can MySQL AUTO_INCREMENT IDs Last? INT vs BIGINT Explained

This article examines MySQL's AUTO_INCREMENT integer types, comparing the 4‑byte INT and 8‑byte BIGINT limits, calculating how long each can store records under realistic insertion rates, and providing step‑by‑step SQL commands and safety tips for converting INT columns to BIGINT.

AUTO_INCREMENTData TypesSQL
0 likes · 6 min read
How Long Can MySQL AUTO_INCREMENT IDs Last? INT vs BIGINT Explained
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 2, 2023 · Databases

Real‑time Update of AUTO_INCREMENT in INFORMATION_SCHEMA.TABLES on MySQL 8.0

This article explains how MySQL 8.0 updates the AUTO_INCREMENT column in INFORMATION_SCHEMA.TABLES, describes the underlying statistics caching mechanism, shows how the information_schema_stats_expiry parameter controls refresh frequency, and provides step‑by‑step tests demonstrating real‑time behavior with code examples.

AUTO_INCREMENTInformation Schemamysql
0 likes · 10 min read
Real‑time Update of AUTO_INCREMENT in INFORMATION_SCHEMA.TABLES on MySQL 8.0