Earlier this month the DBA applied the following to the Oracle database (which resides on HP-Unix server):
Alter session set star_transformation_enabled=true;
This paramater has increased our query performance (against a star schema data mart) but we are experiencing long running queries against our “typical” relational data mart.
When I tried to reset the session, in either query panel ( I selected “Do Not Generate SQL before running”) or free-hand sql, to:
Alter session set star_transformation_enabled=false;
I get the following error message:
The only authorized SQL statement is “Select”. (QPF0001)
Can I create an object, in Designer, to apply this parameter on demand or do I need to modify my log-in process?
Business Objects version 5.12
Oracle version 8.1
HP-Unix version 11
SELECT /*+NO_MERGE(dallasdept)*/ e1.ename, dallasdept.dname
FROM emp e1,
(SELECT deptno, dname
FROM dept
WHERE loc = 'DALLAS') dallasdept
WHERE e1.deptno = dallasdept.deptno;
I am not sure if you can use a hint to prevent the use of star transformation though.
You cannot use ALTER SESSION commands in Free Hand Query SQL. All you can do is to have a stored procedure based query and put that ALTER SESSION command in that…
There is no direct hint to disable star transformations, but if you could use different business objects connection for accessing the star schema and the “regular” schema, you could have the DBA turn off star transformations at the database level and include a star transformation hint on the star schema connection to turn it back on only where you need it.