This content has been marked as final. Show 11 replies
Another way is to mark the index unsable.
alter index your_index unusable;To remark your index usable, you must rebuild the index.(This sucks)
alter index your_index rebuild [online];Check following parameter. If your index is marked unusable and "skip_unusable_indexes" is false, you DML will fail.
show parameter skip_unusable_indexes;
alter session set skip_unusable_indexes = true;
I think it is one of the thousands bugs in oracle.
1.) If i create unique constraint (oracle internaly creates unique or non unique index for it depending if constrainti is deferreble)
i can dissable the constraint and insert the data.
2.) If i create the unique index and set it unusable oracle wont let to insert data.
i am presently doning mutilple files checkin to oracle UCM,
i am presently checked in 100 files in UCM using java api (provided in loop condition)
after executed the checkin page, it was able to checked in to UCM. but many files being indexed.
so, after checkedin the documents inside UCM, i wanted to view the all the documents immediatly. all the documents should publish/relase immediatly after checkedin done.
here i need to know how to stop the indexing in ucm after checking the documents.
how to disable the indexer, if i disable the indexer when documents being indexed is there impact will be happend to content server ?
how to save the time for avoiding indexing the all the documents.
please help me out . i need to know very urgent
I have a question related to disabing index and thought I would post it in thread.
I'm altering a column length to increase the size and getting "ORA-30556: functional index is defined on the column to be modified".
On searching more about this error, it seems like the function index must be dropped before altering the column.
The table I'm dealing with is huge.
In case of dropping and recreating the index, should the following steps be done:
- Drop Index
- Alter the column to increase the size
- Recreate the index with NOLOGGING and NOPARALLEL clause
- ALTER INDEX to turn on LOGGING
- Gather Statistics on that index
Is there anything else that should be done when the index is dropped and re-created?
What are the side-effects of carrying out the above steps in a huge table with around 15 million rows?
Would it work if I disable the index, alter the column and reenable the index?
Do I have to rebuild the index and gather Stats upon reenabling it?
Just so everyone knows this last question is posted over here now: ORA-30556: functional index is defined on the column to be modified
alter index emp_idx disable
That solution won't work for this use case.
The statement works but you still get the original error if you try to alter the col.
Same applies for Dion's suggestion:
Still can't alter the column.
alter index your_index unusable;