Why is my TiDB cluster slow to write with an auto-increment primary key?
Sequential keys send every insert to one Region on one TiKV node. Spot the hotspot, then fix it with AUTO_RANDOM, SHARD_ROW_ID_BITS and pre-split Regions.
#performance#scalability#schema-design
