Same PLAN_HASH_VALUE for two different SQL's
854974Apr 13 2011 — edited May 7 2011Hi,
While I was tuning two similar SQLs, I found the SQLID's are different but the PLAN_HASH_VALUE is same, however its HASH_VALUE is different. May I know how this is possible? Would appreciate if someone can explain the reason.
SQL's :
Both the SQL's are almost same except 'order by' clause.
ORDER BY
T23.OWNER_EMP_ID, T23.SR_AREA
and
ORDER BY
T23.OWNER_EMP_ID DESC, T23.SR_AREA DESC
SQL Details :
sql id plan_hash_value hash_value old_hash_value
fuj9g26dv40m5 2045615068 2612134501 3265038045
0vkx0jjbsxb9x 2045615068 1468968253 1991889131