在mysql中添加BTREE索引方法

编程入门 行业动态 更新时间:2024-10-18 14:17:10

在mysql中添加BTREE<a href=https://www.elefans.com/category/jswz/34/1771159.html style=索引方法"/>

在mysql中添加BTREE索引方法

添加BTREE 索引实例,可以作为参考:
Create table if not exists hdatatest (HostA varchar(16),HostB varchar(16),PointID int unsigned default 0, fValue double default 0,ADate date, ATime time,KEY idx_PointID (PointID) USING BTREE) CHARACTER SET gb2312;

KEY idx_PointID (PointID) USING BTREE 为针对PointID 添加的索引。

查看表中索引命令:
show index from tblname;
show keys from tblname;

更多推荐

在mysql中添加BTREE索引方法

本文发布于:2023-06-20 04:16:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/795952.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:索引   方法   mysql   BTREE

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!