SQL Performance (MOSC)

MOSC Banner

Query Performance question

edited Jan 18, 2018 4:03AM in SQL Performance (MOSC) 5 commentsAnswered

Hi all,

We ran a query on Sunday (very limited user activity on the database) and this query took 2+ hours to run on Sunday morning.

By the afternoon it took 10 seconds to run and wondering if anyone has any pointers. I am guessing the table is now cached and therefore selection will be quicker but should it make this much of a difference?

Sunday morninng

SELECT NVL(SUM(SKGL_LOCAL_POSTING_AMT),0)

FROM

SKYGLTRANS WHERE SKGL_GROP_REF = :B6 AND SKGL_POST_AC_CODE = :B5 AND

  SKGL_PERIOD_NUM <= :B4 AND SKGL_PROP_REF = :B3 AND (SKGL_RENT_SERV_FLAG =

Tagged:

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