1. Create Index
the Create index index name on table name (column name);
2. Delete Index
drop index index name;
3. Create composite index
Create index index name on table name (column name column name 1 ,, 2);
4. query index
- According to the index name, look-up table index fields
SELECT * from USER_IND_COLUMNS WHERE index_name = ' index name ' ; - The name of the table, a table index query SELECT * from USER_INDEXES WHERE table_name = ' table ' ;
5. Disable and reconstruction
- Disable Indexing the ALTER index INDEX_BMP_DUTY_H Unusable; - re-enable indexing, index rebuild the ALTER index INDEX_BMP_DUTY_H rebuild;