Home » RDBMS Server » Server Administration » Query to find count of executions hourly for the last 30 days (merged) (Oracle Enterprise Edition, 11.2.0.4, Oracle Linux X86-64, version 5)
Query to find count of executions hourly for the last 30 days (merged) [message #677605] |
Mon, 30 September 2019 12:55  |
suresh.wst
Messages: 53 Registered: June 2008 Location: Hyderabad
|
Member |
|
|
Hi,
I am trying to find a particular sql (using sql id) executions hourly and daily counts for the last 30 days. Can anyone has command please?
I have tried with dba_hist_active_sess_history and dba_hist_sqlstat for the last 1 hour to test if it gives correct result. But the output doesn't match with sum of counts in each instance taken from awrsqlrpt.sql
Thanks,
Suresh
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Mon Apr 14 07:10:08 CDT 2025
|