SQL Performance (MOSC)

MOSC Banner

Tuning Advise Needed

edited Apr 8, 2014 12:00PM in SQL Performance (MOSC) 4 commentsAnswered

Hi Gurus,

We have "select queries" on BI side, the sql_text of which differs only in the date parameters.

eg.

1) AND ( (AL26.TRANSACTION_DATE BETWEEN TO_TIMESTAMP ('2014-02-01 00:00:00.000','YYYY-MM-DD HH24:MI:SSXFF') AND  TO_TIMESTAMP ('2014-02-28 23:59:59.000', 'YYYY-MM-DD HH24:MI:SSXFF')

2) AND AL39.ACCOUNTING_DATE BETWEEN TO_TIMESTAMP('2014-02-28 23:00:00.000','YYYY-MM-DD HH24:MI:SSXFF') and TO_TIMESTAMP('2014-03-31 00:00:00.000','YYYY-MM-DD HH24:MI:SSXFF')

What this means is that every month, the same queries are run with just the change in the date parameters.  Also, as I understand the query does not use Bind variables.

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