Check execution plan chang of SQL who have sql_plan_baseline on RAC Environnement [message #590860] |
Tue, 23 July 2013 10:25 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/b96dcc08aaf94e1066e37a1089dfae0e?s=64&d=mm&r=g) |
tarlapeta
Messages: 2 Registered: July 2013 Location: Marseille
|
Junior Member |
|
|
Hello,
I would oversee the execution plans of query who have a SQL_PLAN_BASELINE in a RAC environment.
For several reasons (changing the object type, for example), the PLAN_HASH_VALUE a SQL_ID can be changed although it was declared a Profile.
I want to find the sql that regularly monitors gv$sql view and give back the sql with sql_profile who have a modified execution plan.
I think about two method :
- maintaining a small repository with sql_id / plan_hash_values
- Either by check tables dba_hist * (knowing that in the last 24 hours, a total cycle sql query is necessarily played).
The problem is that:
- An instance can be stopped and thus the v $ sql can empty.
- A service can be switched from one instance to another
and i'm a bad dba !
Thank you for your help.
Regards
|
|
|
|
|
|