I would like to get the query execution time in Oracle. I don\'t want the time Oracle needs to print the results - just the execution time.
In MySQL it is easy to ge
I'd recommend looking at consistent gets/logical reads as a better proxy for 'work' than run time. The run time can be skewed by what else is happening on the database server, how much stuff is in the cache etc.
But if you REALLY want SQL executing time, the V$SQL view has both CPU_TIME and ELAPSED_TIME.