Database Tuning (MOSC)

MOSC Banner

How to tune this sql - one it its table facing customer and dynamic many insert/update into it

edited Mar 25, 2009 10:05AM in Database Tuning (MOSC) 4 commentsAnswered

 Hi DBAs:

Need advice - the following query runs very slow but not 'every time' - weird things is it slows once in a hundreds/thousands time;  date range used in searching-condition is always "the last 7-days".  I got our App team feedback and we all want this problem could be fixed.  "Address" table has many rows (60+ millions) and facing direct insert/update from front-end.

Below is query and execution plan:


SELECT t0.ARCHIVED_FLAG, t0.AUTH_DESC, t0.bundle_scp_found_flag,

t0.BUNDLE_TYPE, t0.INDEP_ORDER_CHECKED, t0.CLICK_CHAT_FLAG,

t0.CODEWORD, t0.REQ_DATE, t0.DECLINED_BY_PUF_FLAG, t0.DX_FLAG,

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