Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: B-Tree to Partitioned index
One possible improvement:
CREATE INDEX employees_local_idx ON employees (employee_id, SUBSTR(CAST(NULL AS VARCHAR2(1)), 1, 1)) LOCAL UNUSABLE /
This would allow the index to remain slim for ONLINE rebuild: fake column is everytime NULL and it's datatype is VARCHAR2(1) I believe, it's enough for ONLINE rebuild.
-- Vladimir Begun The statements and opinions expressed here are my own and do not necessarily represent those of Oracle Corporation. -- http://www.freelists.org/webpage/oracle-lReceived on Sat Jan 01 2005 - 21:09:11 CST
![]() |
![]() |