EXEC DBMS_SYSTEM.set_ev(si=>123, se=>1234, ev=>10046, le=>8, nm=>'');
To disable the 10046 trace:
EXECUTE dbms_system.set_ev (123,1234,10046, 0, '');
Oracle DBA and beyond; these are practical tips for day to day DBA operation and maintenance; a place where you would come to look for a quick fix for a burning situation. I hope that by sharing all these, we all will become better in what we do. And on the way, I hope to save you some sweat :-)
EXEC DBMS_SYSTEM.set_ev(si=>123, se=>1234, ev=>10046, le=>8, nm=>'');
To disable the 10046 trace:
EXECUTE dbms_system.set_ev (123,1234,10046, 0, '');