Connor and Chris will both be at AI World from October 12 to October 17 , the premier Oracle conference of 2025. If you're in Vegas, please come say Hi or pop into our sessions
Thanks for the question, Dennis.
Asked: February 03, 2009 - 3:34 pm UTC
Last updated: February 04, 2009 - 12:08 pm UTC
Version: 10.2.0
Viewed 10K+ times! This question is
ops$tkyte%ORA10GR2> create table t1 ( x int ); Table created. ops$tkyte%ORA10GR2> create table t2 ( x int ); Table created. ops$tkyte%ORA10GR2> ops$tkyte%ORA10GR2> set serveroutput off ops$tkyte%ORA10GR2> exec runStats_pkg.rs_start; PL/SQL procedure successfully completed. ops$tkyte%ORA10GR2> begin 2 for i in 1 .. 100000 3 loop 4 insert into t1 values ( i ); 5 dbms_output.put_line( 'we inserted ' || i ); 6 end loop; 7 end; 8 / PL/SQL procedure successfully completed. ops$tkyte%ORA10GR2> exec runStats_pkg.rs_middle; PL/SQL procedure successfully completed. ops$tkyte%ORA10GR2> begin 2 for i in 1 .. 100000 3 loop 4 insert into t2 values ( i ); 5 end loop; 6 end; 7 / PL/SQL procedure successfully completed. ops$tkyte%ORA10GR2> set serveroutput on ops$tkyte%ORA10GR2> exec runStats_pkg.rs_stop(10000); Run1 ran in 467 cpu hsecs Run2 ran in 409 cpu hsecs run 1 ran in 114.18% of the time PL/SQL procedure successfully completed.
John Flack, February 04, 2009 - 8:54 am UTC
PROCEDURE set_debugging(p_debugging BOOLEAN);
debugging BOOLEAN := FALSE; PROCEDURE set_debugging(p_debugging BOOLEAN) IS BEGIN debugging := p_debugging; END set_debugging;
IF debugging THEN DBMS_OUTPUT.PUT_LINE('message'); END IF;
All of the database utilities including Data Pump are explained in the Utilities guide.