Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: trace SQL
>
> How can I get some information of the execution plan
> of a SQL statement?
>
> I want to check if and how my queries take advantage of
> indexes, keys, etc...
Try the EXPLAIN PLAN clause, first install the explain_plan table
(installation guide).
The get info about the #processed records, hits, etc you have to enable the trace in your session. Use TKPROF to format the output.
Succes
Roeland Received on Wed Mar 19 1997 - 00:00:00 CST