MySQL慢查询优化&缩容实践
摘要:
枚举字段的默认值条件导致不走索引 create table test_tb( `uid` bigint unsigned not null, `status` enum('A','B','C') NOT NULL DEFAULT 'A' KEY `idx_on_auid` (`uid`,`statu 阅读全文
posted @ 2024-10-08 18:40 A_Nobody 阅读(31) 评论(0) 推荐(0) 编辑