Database Tuning (MOSC)

MOSC Banner

SQL - High Parses

edited Jun 8, 2011 4:51PM in Database Tuning (MOSC) 2 commentsAnswered
 

Hi,

 

In one of our 10.2.0.4 databases, AWR section related to “SQL ordered by Parse Calls” is showing one of the SQLs to be parsed 34,755 times (as below)



SQL ordered by Parse Calls

  • Total Parse Calls: 610,409
  • Captured SQL account for 49.4% of Total
Parse CallsExecutions % Total Parses SQL IdSQL ModuleSQL Text
34,755 34,755 5.69 0h6b2sajwb74n   select privilege#, level from ...
22,094 22,094 3.62 asgnsmjcfxxvc JDBC Thin Client SELECT DATE_UPDATED, TIME_UPD..

But looking at the code, we can see that the code is using bind variables (see below)

asgnsmjcfxxvc

 SELECT DATE_UPDATED, TIME_UPDATED, TIME_TRACING_SHIPMENT, CUST_NO, DATE_TRACING_SHIPMENT, TIME_ZONE, MODIFIED_BY, TRACING_DATE_NO, FILE_NO FROM SHIPMENT_DATES WHERE ((TRACING_DATE_NO = :1 ) AND (FILE_NO = :2 ))

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center