Oracle Forms (MOSC)

MOSC Banner

Optimizer hint added at block level is not used for COUNT_QUERYon the block.

edited Jan 22, 2013 8:14PM in Oracle Forms (MOSC) 9 commentsAnswered
Hi all,

we are using forms 10g and 11g r2 DB.

I am having a performance issue with the view based on which database block is build on the form.

on adding the choose hint to the query it is giving be quick output.

i have used below code to set optimizer hint property on the forms pre-query trigger.

Set_Block_Property('DeptBlock',OPTIMIZER_HINT,'CHOOSE');

and use message(:system.last_query);  to view the query to check if the hint is added or not.

it is working fine at the time of execute query. but incase of count_query it is not woking

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