I am a Sybase DBA/performance optimizer and was asked to look into the performance of some SQL queries on Oracle and see what the problems are and why it is slow. Is there a showplan similar to Sybase? I need to get the number of physical i/o’s and logical i/o’s, table scans and indexes the query or stored procedure uses.
I used to use Embarcadero and I don’t have that anymore.
Explain Plan and/or AutoTrace is the Oracle Equivalent which will give you the possible execution plan that Oracle will use if you execute the Query.
In SQLPLUS you could do this..
Here are various other options available depending on the level of detail and your specific scenario..
http://www.oracle-base.com/articles/10g/SQLTrace10046TrcsessAndTkprof10g.php