Oracle DBA
Labels
Migration
Scripts
Friday, 23 December 2022
How to find the minimum and maximum execution time for a sql_id based on plan hash value
select sql_plan_hash_value, COUNT(*), MIN(sql_exec_start), MAX(sql_exec_start)
from dba_hist_active_sess_history
where sql_id = <sql_id>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment