Hi All,
To improve the performance of some queries, I thought of including an object that has optimizer hint text in it like /*+ CHOOSE */
This object, whenh selected, appears fine in select clause. But when measure objects are selected, it also appears in Group by clause causing the query to fail. How do I prevent this from appearing in group by clause and make it appear only in select clause.
Also when the query runs, report should not have a column of its own for this hint object. Is that possible?
Anyone who has done this, can you share your experiences.
Thanks for kind answers. It resolved my issue. We use Rule based database . In some cases like Oracle Order Entry universe, we have tremendous performance issues. We can not use hint connection definition level, only when users have issues in running a report due to performance issues, we want to suggest them to use this hint object.
You probably already know this, but just in case. If you are using the Oracle rules based optimizer, make sure you have the number of rows for each table in the universe and have the correct value for the Table_Weight setting in the *.prm file. (One version of BusObj 5.0.? had it wrong by default). This can be a tremendous performance issue.