I want to change the OPTIMIZER_FEATURES_ENABLE
parameter in a local installation of Oracle 9i (32bit 9.2.0.1.0 Enterprise Edition running on Windows Server 2003) in an attempt to reproduce a performance issue reported by a client but I can't figure out how to do it. Both ALTER SESSION
and ALTER SYSTEM
statements trigger this error (even if run as SYS):
ORA-02095: specified initialization parameter cannot be modified
How can I change it?
Update:
The steps I followed (thanks to Gary's answer) were this:
Create an empty file:
C:\oracle\ora92\DBS\INIT.ORA
Edit the file to add:
optimizer_features_enabled = 8.1.7
Launch Windows service manager
Restart the service called
OracleServiceFOO
, where FOO is my instance name