I have to log slow queries , let’s say queries which takes more than 3ms to run
should be logged
Most of the times these queries are SELECT
how to log them in Oracle ?
I have to log slow queries , let’s say queries which takes more than
Share
If you are using AWR this will be logged from ASH, you will just need to mine it out, either using OEM or with hand-written SQL.
3ms is very quick indeed, a 5-20ms response time is good in Oracle on modern hardware, all things considered.