Mysql show index解释
发表于:2025-11-14 作者:千家信息网编辑
千家信息网最后更新 2025年11月14日,查看表上的索引状态:SHOW INDEX returns table index information.SHOW KEYS and SHOW INDEXES are synonyms for SHO
千家信息网最后更新 2025年11月14日Mysql show index解释
查看表上的索引状态:
SHOW INDEX returns table index information.
SHOW KEYS and SHOW INDEXES are synonyms for SHOW INDEX.
语法:
show {index|indexes} from table_name [ from db_name ] [where expr]
The following fields are returned by SHOW INDEX.
| Field | Description |
|---|---|
Table | Table name |
Non_unique | 1 if the index permits duplicate values, 0 if values must be unique. |
Key_name | Index name. The primary key is always named PRIMARY. |
Seq_in_index | The column's sequence in the index, beginning with 1. |
Column_name | Column name. |
Collation | Either A, if the column is sorted in ascending order in the index, or NULL if it's not sorted. |
Cardinality | Estimated number of unique values in the index. The cardinality statistics are calculated at various times, and can help the optimizer make improved decisions. |
Sub_part | NULL if the entire column is included in the index, or the number of included characters if not. |
Packed | NULL if the index is not packed, otherwise how the index is packed. |
Null | NULL if NULL values are permitted in the column, an empty string if NULL's are not permitted. |
Index_type | The index type, which can be BTREE, FULLTEXT, HASH or RTREE. See Storage Engine Index Types. |
Comment | Other information, such as whether the index is disabled. |
Index_comment | Contents of the COMMENT attribute when the index was created. |
状态
索引
语法
解释
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
丞芮网络技术是真的吗
怎样连接外部数据库
洛奇服务器中断
东南网络安全学院容不容易考
警察特招网络安全
甘肃钢板套料软件开发商
网络安全 第二十七条
我的世界手机版恐龙服务器
阿里云服务器忘记密码
奉贤区正规网络技术质量保证
软件开发计划的关键问题
软考中级数据库和软件设计
网络安全法新消息
重庆银行软件开发公司
河北推广软件开发公司
软件开发保守项目
教材车载网络技术答案
网络安全专业高校什么时候开设
交通违章代码软件开发
软件开发管理培训
成都黑晶网络技术有限公司好吗
网络技术工程师英语作文
上海分析管理软件开发商
学习网络技术有什么好处
大连东软学院软件开发
网络安全 第二十七条
软件开发服务费开票科目
弱电工程服务器本地安装
梦幻西游截图显示服务器时间
oracle数据库的启停