Question

How to find SQL ID using hash number in alert log

  • 9 May 2023
  • 1 reply
  • 186 views

Userlevel 7
Badge +18

We have the below warning message in Oracle alert log.

“Too many parse errors, count=89508 SQL hash=0x178dfb39”


Is there a way to identify the actual SQL behind this error using this hash number?


Best Regards

-Kelum


1 reply

Userlevel 5
Badge +10

Not sure what the “SQL hash” is in your alert log, it don’t look like a sql hash_value” which is numeric, it might be a sql_id?

Is there a corresponding trc file?
“Hash values” or sql_id should be noted as this in trace files i think.
hv=2855441354 or sqlid='6c1rnb09dp921'

both sql_id and hash_value can be found in v$sql view.

Reply