Database Tuning (MOSC)

MOSC Banner

Tuning queires

edited Sep 23, 2011 12:11AM in Database Tuning (MOSC) 7 commentsAnswered
Hi All,

I need to tune some insert,update and select statements. I see that their parse calls is almost equal to the execution times.
and cursor_sharing is 'exact' now.

I tried using sql_tuning and explain plan but I didn't get any recommendations. Please suggest me how to to tune these statements.

1)  update LASTDISPATCHEDMESSAGE set VERSION_NUM=:1, LASTPROCESSEDTIMESTAMP=:2 where LASTDISPATCHEDMESSAGEID=:3 and VERSION_NUM=:4; ( have index on VERSION_NUM)
2) insert into DEVICETRAVELLOCATION (ADDR1, ADDR2, CITY, COUNTY, STATE, POSTALCD, COUNTRY, CROSSSTREET, STATEPROVCD, ROADTYPECD, TOLLROADFLAG, SPEEDLIMITMILESPH, DEVICETRAVELSTATUSHISTORYID) values (:1, :2, , :4, :5, :6, :7, :8, :9, :10, :11, :12, :13); ( have index)

Give me some suggesstions, or guidelines how to tune these sql.

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