Byte vs. char semantics and indexes
524657Jul 1 2010 — edited Jul 1 2010I am changing a field in a rather large table (500 mill+ rows) from byte semantics to char semantics by simply issuing
ALTER TABLE CTB.CTB_CORE_ACT_CD_SETS MODIFY
(CONCEPT_CODE VARCHAR2(50 CHAR)) -- takes very litle time
The problem is that concept_code is also part of an index.
Now the question is : is it really necessary to rebuild this enourmous index?
In test (same size) it took about 10 hours by dropping and recreating.
I will be investigaing the possibility of doing a 'rebuild online' , but maybe it isn't even necessary ?
Regards
Kurt Laugesen