Jump to content

How to use data source query hints in Information Designer


Mark Herrmann

Recommended Posts

Hi there,

the information designer can produce queries with very high cost unless manually optimized (see example below). I'm not a big fan of edited SQL since it becomes intransparent to users what's happening and editing or maintaining it is error prone. Hence I was wondering if it is possible to make use of hints in Oracle queries. I could not find anything about it (only for other products). Does anyone know how to get optimized queries out of information designer, e.g. by using hints (but any trick other than creating a view for every use case is fine for me as well)

Thanks,

Mark

 

Example Information Designer Query (Cost: 14,329,590):

WHERE ((Y1."ID" = 'A24.1' AND Y2."NAME" = 'XYZ') OR (Y1."ID" = 'A24.10' AND Y2."NAME" = 'XYZ') OR (Y1."ID" = 'A24.11' AND Y2."NAME" = 'XYZ'))

 

Example manual query (Cost: 2,398):

WHERE ((Y1."ID" IN ('A24.1', 'A24.10', 'A24.11') AND (Y2."NAME" = 'XYZ'))

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...