会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
z327400115
博客园
首页
新随笔
联系
订阅
管理
18【Gin+Mysql】Mysql索引 海量数据查询优化
查看class表索引
show index from class\G
创建class表的name字段的普通索引
方法1
create index index_name on class(name);
方法2
alter table class add index index_name(name);
删除索引
drop index index_name on class;
posted on
2022-10-03 17:01
KOA2后端
阅读(
72
) 评论(
0
)
收藏
举报
刷新页面
返回顶部