Issue
Caused By: java.sql.SQLException: ORA-20000: Error creating
indexes in parallel, see W_ETL_EVENT_LOG for details ORA-06512:
at line 119
IKM BIAPPS Oracle Fact Event Queue Delete Append KM code for creating indexes is
using DBMS_PARALLEL_EXECUTE package to create indexes in parallel. While
creating indexes, KM code is using DBMS_PARALLEL_EXECUTE.task_status
procedure to check the status of index creation and throw an exception if the status
code <> 6.
This works well with DW schema in Oracle 11g DB release data bases, but when
using Oracle 12c release ( 12.1.0.2.0) data base as DW schema, looks like there is a
change in status codes return by the DBMS_PARALLEL_EXECUTE.task_status
procedure. Hence we are ending up with an exception even if the index creation
goes well.
Below are the task status values in 11g are:1, 'CREATED',
2, 'CHUNKING',
3, 'CHUNKING_FAILED',
4, 'CHUNKED',
5, 'PROCESSING',
6, 'FINISHED',
7, 'FINISHED_WITH_ERROR',
8, 'CRASHED'
In 12c they are:1, 'CREATED',
2, 'CHUNKING',
3, 'CHUNKING_FAILED',
4, 'NO_CHUNKS',
5, 'CHUNKED',
6, 'PROCESSING',
7, 'FINISHED',
8, 'FINISHED_WITH_ERROR',
9, 'CRASHED'
Applies to
This fix is applicable to BI Apps 11.1.1.8.1 and only if you are using Oracle 12c
release (12.1.0.1.0) data base or higher db version as DW schema.
Once you click on Import Replace option you will be getting the below window.
Choose KM patch file (.xml file) location and click ok button.
Now choose the required Version of KM from the given list to restore and click on OK
button as shown below.
regenerate scenarios
If you followed revert back steps to remove the provided fix then you should be
regenerating affected scenarios again in case if you are done with regenerating of
scenarios after applying the above fix. Please refer to the section
regenerate scenarios
Steps to