Aggregate Persistence Wizard in OBIEE 11g
Here are the steps to configure the Aggregate Persistence Wizard
It’s accessed from the BI Administrator tool, and relies on you first having set up dimensions in your logical model to
describe the hierarchies and levels within your data.
For this exercise, OPEN THE RPD IN THE ONLINE MODE
Step 1: Navigate to tools utilities>Aggregate Persistence Wizard
Step 3: Select the BUSINESS MODEL and the table to be aggregated , as given below
Step 4: Select the logical level at which it should be Aggregated and check the option for Surrogate key.
Checking the "Use Surrogate Key ?" will later on map the aggregates using a surrogate key, this can improve
performance if you have (complex) keys, consisting of multiple columns.
Step 6: An SQL will be generated
Step 8: Navigate to the path given in Step 2 and verify the file in a note editor.
Step 9: Now to execute the create table scripts using nqcmdCommand , your need to know the SYSTEM DSN for the
OBIEE 11G server.
You can find it at the ODBC Administrator.
Type odbcad32 from windows run
If you happen to see more than one DSN name for obiee server then get the name from the Add button as shown
Step 10: Set the environment variables by the bi-init.cmd as shown below
Step 11: Execute the create table scripts using the nqcmd command as shown below
nqcmd.exe -u weblogic -p Oracle3# -d coreapplication_OH636997652 -s D:tempAggregate.sql
make your changes accordingly
(Make sure that the file name has the extension .sql, if not add it )
If you face any error, make sure you have given read / write privileges to the database user mentioned in the RPD.
Step 12: Verify the created tables in the database
Step 13: Open the RPD in the ONLINE MODE
Step 14: Now the Physical layer will be having the Aggregate tables created.
Note that the logical sources will also be added in the business layer
Step 15: Now to verify that the Aggregation is working, create a report and check the NQquery.log file
In this location.
I have used the revenue column and the month column.