How to view the indexes in the table in the Oracle database

1. Check which indexes are in the table

select * from user_indexes where table_name = '表名'

or

select * from all_indexes where table_name = '表名'

2. Check which columns the index corresponds to in the table

select * from user_ind_columns where table_name='表名'

Guess you like

Origin blog.csdn.net/WziH_CSDN/article/details/115019498