Monday, January 15, 2007

Performance: Diagnosing Performance Problems

Performance: Diagnosing Performance Problems: "Testing Extended SQL Tracing. Try it out. All it takes to see your first trace file is a simple SQL*Plus session like this one:

alter session
set timed_statistics=true;
alter session
set max_dump_file_size=unlimited;
alter session
set tracefile_identifier='Hello';
/* only in Oracle Database 8.1.7
and later */
alter session
set events '10046 trace name context forever, level 12';
select 'Howdy, it is '||sysdate from dual;
exit;

"