最初由 orablue 发布
[B]
SQL> alter system set timed_statistics=false sid='*' SCOPE=BOTH ;
alter system set timed_statistics=false sid='*' SCOPE=BOTH
*
ERROR at line 1:
ORA-02065: illegal option for ALTER SYSTEM
[/B]
Check SQL reference. It clearly says if you have both scope and sid, scope is in front of sid.
For some parameters, whether they can be set differently on different instances is indicated in Reference guide (not SQL Reference). If the Reference doesn't say, you can try setting it differently. Most likely it works. I believe cursor_sharing can be set differently. It's a parameter that influences how library cache works. Each instance has its own library cache.