Mysql show index解释
发表于:2026-11-02 作者:千家信息网编辑
千家信息网最后更新 2026年11月02日,查看表上的索引状态:SHOW INDEX returns table index information.SHOW KEYS and SHOW INDEXES are synonyms for SHO
千家信息网最后更新 2026年11月02日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安全错误
数据库的锁怎样保障安全
云南咖啡
中智农互联网科技
上海卓越科技互联网
期待互联网科技
凡科互联网科技
润盈互联网科技
互联网科技有限公司 翻译
互联网科技股午盘股票涨跌
佩信高科技互联网
华脉科技工业互联网产品
济南和联互联网科技有限公司
互联网科技产品
互联网企业和科技型企业
福建科技产业互联网发展
苏州五指互联网络科技有限
天津腾达互联网科技有限公司
山东子淼互联网科技有限公司
黑科技 体验场景 互联网大会
国产互联网科技公司
美国五大互联网科技公司市值多少
精品咖啡豆
蓝思科技飞鸽互联网
广州百单互联网科技有限公司
科技赋能下的互联网金融
科技互联网龙头
甘肃拓世互联网科技有限公司
青海省互联网新科技
科技赋能互联网健康
阿里互联网科技公司
福仕德教育科技互联网