SQL Performance (MOSC)

MOSC Banner

11gR2 : Add hint automatically for a specific query

edited Sep 26, 2013 10:34AM in SQL Performance (MOSC) 2 commentsAnswered
Hi ,
I have to optimize the following simple query :


select id, name from file_reception  ;
that has been executed 100000 times in purpose to check if a data file is received.
To optimize this , i would like to use result cache like :


select /*+ RESULT_CACHE */  id, name from file_reception  ;


Is there a tip that allows to add automatically this hint when this query encountered by the optimizer ?
Best regards.
GD.

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