* fact: Oracle Server Enterprise Edtion 9.0.1.0.1
* symptom: Errors selecting from a table
* symptom: ORA-7445: exception encountered: core dump [evaopn2()+1104] [SIGSEGV] [Address not mapped to object] [0X0] [] []
* symptom: DBMS_STATS have been gathered for the table
* symptom: Optimizer mode set to cost based
* symptom: Column constraint of UPPER used in table
* cause: Bug 1956826 ORA-7445: [EVAOPN2()+1104] error reported when select statement using cost based optimizer and statistics is also on the table
fix:
Fixed in RDBMS 9.2
Workarounds:
Use Rule based optimizer
or
Set parameter optimizer_features_enable=8.1.7
or
Set parameter compatible="8.1.7"
or
Set the numeric EVENT 10195
ALTER SESSION SET EVENTS '10195 trace name context forever,level 10';
or
ALTER SYSTEM SET EVENTS '10195 trace name context forever,level 10';
Note that if using the event as a workaround, please flush the shared pool
(alter system flush shared_pool) or restart the instance to ensure that the
SQL statement is reloaded.
Failure to do so will result in the same error.
Partager