如何查看索引的详细信息? 我正在执行此命令以查看表的索引
sql-> SHOW INDEXES ON Persons;
indexes
idx_age
idx_areacode
idx_income
idx_state_city_income
但是如何查看详细信息,我找不到命令显示索引详细信息
答案 0 :(得分:0)
没有命令显示索引详细信息,使用命令describe
sql-> describe as json index idx_state_city_income on Persons;
{
"name" : "idx_state_city_income",
"type" : "secondary",
"fields" : ["address.state", "address.city", "income"]
}