Home » RDBMS Server » Networking and Gateways » Performance difference between Windows PC and Windows on VMware (Windows 7 32-bit vs Windors Server 2003 Std x64 on VMware Virtual Platform)
|
Re: Performance difference between Windows PC and Windows on VMware [message #542711 is a reply to message #542710] |
Thu, 09 February 2012 19:55   |
 |
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
DBMS_SESSION.SESSION_TRACE_ENABLE(TRUE,TRUE,'ALL_EXECUTIONS');
alter session set events '10046 trace name context forever, level 12';
-- invoke the SQL code
DBMS_SESSION.SESSION_TRACE_ENABLE(FALSE,FALSE,NULL);
DBMS_MONITOR.SESSION_TRACE_ENABLE(
session_id IN BINARY_INTEGER DEFAULT NULL,
serial_num IN BINARY_INTEGER DEFAULT NULL,
waits IN BOOLEAN DEFAULT TRUE,
binds IN BOOLEAN DEFAULT FALSE,
plan_stat IN VARCHAR2 DEFAULT NULL);
Oracle recommends that you use the DBMS_MONITOR and DBMS_SESSION packages instead.
SQL_TRACE is retained for backward compatibility only.
trace file shows where actual time is being spent
|
|
|
|
|
|
Goto Forum:
Current Time: Sat May 03 18:23:53 CDT 2025
|