Tag

row_id

1 views collected around this technical thread.

Top Architect
Top Architect
Aug 16, 2021 · Databases

Understanding MySQL Auto‑Increment IDs and Their Limits

This article explains the various types of auto‑increment identifiers in MySQL—including table primary keys, InnoDB row_id, Xid, trx_id, thread_id—and discusses their maximum values, overflow behavior, and alternative solutions such as using Redis for external unique keys.

InnoDBauto-incrementmysql
0 likes · 8 min read
Understanding MySQL Auto‑Increment IDs and Their Limits
macrozheng
macrozheng
Jan 27, 2021 · Databases

When MySQL Auto‑Increment IDs Hit Their Limit: Errors and Fixes

This article explains how MySQL integer auto‑increment primary keys can reach their maximum value, the resulting duplicate‑key errors, and how using BIGINT or understanding InnoDB's internal row_id behavior can prevent data loss or crashes.

BIGINTauto-incrementdatabase limits
0 likes · 6 min read
When MySQL Auto‑Increment IDs Hit Their Limit: Errors and Fixes