A way to identify the top sql other than AWR [message #640696] |
Tue, 04 August 2015 01:50 |
orausern
Messages: 826 Registered: December 2005
|
Senior Member |
|
|
Hi Experts,
I want to have a way to find which sql took more than a certain time - like say 30 seconds to execute. Even single execution of such sql is required to be found. Is there a way I can query the data dictionary tables and fine it? One way I see is the GV$SQL_MONITOR and checke for elapsed_time > 30000000. (30 seconds). Is this effective or is there a better way? I don't want to rely on AWR as they are statistical and show only 'top x' sqls.
Thanks,
Orausern
[Updated on: Tue, 04 August 2015 01:51] Report message to a moderator
|
|
|
|
|
|
|
|