Database Administration (MOSC)

MOSC Banner

xplan plan - Need Oracle to use same plan for similar query, ie. if only data range is different.

edited Aug 28, 2012 10:59PM in Database Administration (MOSC) 3 commentsAnswered
ORACLE DB: 10.2.0.4 on Linux
Monthly range partition.

 I have two same type of sql queries, only difference is the date range.  I need Oracle to execute this sql with exact same sql plan(path).  For this sql, it changes the date ranges only. amount of data each day are similar. date range is from only one partition/month.

 how would I accomplish this?

1.2.       Date range          = 08/21/2012 to 08/24/2012

                  Date range          = 8/20/2012 to 08/24/2012


thanks.

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