Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Historical Plan & Time

RE: Historical Plan & Time

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Thu, 14 Jun 2007 13:51:33 -0700
Message-ID: <04DDF147ED3A0D42B48A48A18D574C45071FDE74@NT15.oneneck.corp>


Correction:  

c/snap_time/sample_time
c/snap_time/sample_time  


From: Allen, Brandon  

To find the details of the plan, you'd want to run something like this:  

select min(snap_time), max(snap_time) from dba_hist_active_sess_history where sql_plan_hash_value = <known plan_hash_value>  

Or:  

select sql_plan_hash_value, min(snap_time), max(snap_time) from dba_hist_active_sess_history where sql_id = <your sql_id> group by sql_plan_hash_value;  

Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Jun 14 2007 - 15:51:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US