Quantcast
Channel: Toad for Oracle Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4385

RE: How to find at what time of day a select statement was executed and the elapsed time? In sga trace I get only the sum of the executions

$
0
0

I appear to have written, above:

I think that's the view name, I'm away from my databases just now, but

it's definitely DBA_HIST_SQL ;-)

However, what I actually wrote had less than and greater than symbols, which appear to have been removed. It should have read (something) like the following:

I think that's the view name, I'm away from my databases just now, but

it's definitely DBA_HIST_SQLsomething ;-)

I can confirm, it's DBA_HIST_SQLSTAT and to get the time, you join it to DBA_HIST_SNAPSHOT using the snapshot id.

HTH


Viewing all articles
Browse latest Browse all 4385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>