UNUSABLE Index Rebuild Script
- Dongkug Lee
- 2004년 12월 7일
- 1분 분량
select ‘alter index ‘ || owner || ‘.’ || index_name || ‘ rebuild storage (FREELISTS 2 ) tablespace KKKK parallel 12′ ||’;’ || chr(10) || ‘alter index ‘ || owner || ‘.’ || index_name || ‘ rebuild storage (FREELISTS 2 FREELIST GROUPS 2) tablespace ‘|| tablespace_name ||’ parallel 12;’ from dba_indexes WHERE status = ‘UNUSABLE’ order by tablespace_name, INDEX_name;




![[브런치북] 마인드맵을 활용한 생각의 전환](https://static.wixstatic.com/media/8114bb_92fbbc133cf54ded8dcbe8efabf1f42e~mv2.jpg/v1/fill/w_980,h_735,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/8114bb_92fbbc133cf54ded8dcbe8efabf1f42e~mv2.jpg)

댓글