MySQL 没有真正意义上的修改索引,一般需要删除旧索引,然后直接建新索引。
drop index `index` on table;
alter table table add KEY `index` (field) USING BTREE;
本文来源:程序之心,转载请注明出处!
最新内容
© 2016 - 2024 chengxuzhixin.com All Rights Reserved.
浙ICP备2021034854号-1 浙公网安备 33011002016107号