Oracle 禁用/启用索引

  //新建索引
 create index sys_org_Index on sys_organization(ORG_ABBREVIATIO_NAME,org_name)
  create index BMP_BUSINESS_SEGMENT_index1 on BMP_BUSINESS_SEGMENT(BUSINESS_ID,name)
                                                       
 //禁用索引                 
 alter index INDEX_BMP_DUTY_H unusable;
//重新启用索引,重建索引
 alter index INDEX_BMP_DUTY_H rebuild;

你可能感兴趣的:(Oracle)