Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Two users, one query, two optimizer plans
Is it possible to look at the V$SQL - PLAN_HASH_VALUE
for the 2 SQL sessions?
By using the PLAN_HASH_VALUE in the V$SQL view you can track when new access paths to data have been used.
> When both sessions are running the query, the SQL
> IDs (from v$session)
>
> SQL_ADDR SQL_HASH_VALUE SQL_ID
> -------- -------------- -------------
> B8E1D068 1036950108 95qchfhywx6kw
>
> are identical.
>
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Jan 17 2006 - 17:21:57 CST
![]() |
![]() |