//判断索引使用情况,是否需要重建
analyze index ind_1 validate structure;
select name,HEIGHT,PCT_USED,DEL_LF_ROWS/LF_ROWS from index_stats;
//满足下面其中任意一个条件正忙索引需要重建
1.HEIGHT >=4
2 PCT_USED< 50%
3 DEL_LF_ROWS/LF_ROWS>0.2
//重建索引
alter index ind_1 rebuild [online] [tablespace name];