Related Documentation Download this Manual
PDF (US Ltr) - 41.2Mb
PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.8Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb
PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.8Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb
To perform optimizer tracing entails the following steps:
Enable tracing by executing
SEToptimizer_trace="enabled=ON".Execute the statement to be traced. SeeSection 10.15.3, “Traceable Statements”, for a listing of statements which can be traced.
Examine the contents of the
INFORMATION_SCHEMA.OPTIMIZER_TRACEtable.To examine traces for multiple queries, repeat the previous two steps as needed.
To disable tracing after you have finished, execute
SET optimizer_trace="enabled=OFF".
You can trace only statements which are executed within the current session; you cannot see traces from other sessions.
Related Documentation Download this Manual
PDF (US Ltr) - 41.2Mb
PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.8Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb
PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.8Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb