Select the Have Discoverer recommend and create the best summaries option

14-10 Oracle Fusion Middleware Administrators Guide for Oracle Business Intelligence Discoverer Figure 14–5 Summary Wizard: Step 3 9. optional To view the summary folders that ASM will createremove for you, click the Recommended Summaries button. For more information about recommended summaries, see the Recommended Summaries dialog . 10. optional To display the Change default settings dialog, click the Advanced Settings button. For more information about advanced settings, see Summary Wizard ASM: Change default settings: List of dialog tabs . 11. Click Finish to generate summary folders based on the current settings. These settings include those made at the Recommended Summaries dialog or the Change Default Settings dialog. Notes ■ To view all the summary folders in the current EUL, display the Workarea: Summaries tab . How to run ASM after bulk load using the Load Wizard When you use the Load Wizard to load a business area into the current EUL, you can choose whether to create a set of summary folders for this new business area. If you take this option then suitable summaries will be created after bulk load. To run ASM after bulk load using the Load Wizard:

1.

Choose Insert | Business Area | From Database to start the Load Wizard for more information about using the Load Wizard, see What is the Load Wizard? .

2. In step 4 of the Load Wizard click the option Summaries based on folders that are

created . For more information, see Load Wizard: Step 4 dialog . Managing Summary Folders 14-11 Notes ■ The summary folders created during bulk load of a business area are derived from analyzing the tables and using the default summary policy. For more information about the ASM policy, see What is the ASM policy? ■ When database tables have just been loaded in the bulk load process, query statistics will not be available. Where Discoverer has been in use for a while, query statistics will have been gathered by Discoverer. Where query statistics are available they will be used by ASM to create more suitable summary folders. ■ You do not need to make any changes to summary policy settings for a bulk load ASM process. The default settings which are used should be adequate. If changes are made however, these settings then become the defaults. How to run ASM using the command-line interface To run ASM using the command-line interface:

1.

From the Start menu choose Run. 2. Type in the appropriate command. For more information about the command-line interface, see Chapter 22, Discoverer Command-line Interface . For more information about ASM commands and command modifiers see and asm . How to run ASM using a batch file and the operating system scheduler You can run ASM through the batch filescheduler facility provided by your operating system. This way you specify when you want ASM to run including the scheduled intervals when you want to repeat the process. By using the command-line syntax within a batch file, the process can be run automatically overnight or on a weekend. Before you can run ASM from a batch file, you must do two things:

1.

Create a text file in a text editor for example, Notepad. 2. Using the correct command-line syntax, enter the command-line details as text into the batch file. For more information about ASM command-line syntax, see asm . 3. Save the file as a .bat file for example, asmsched.bat. 4. Use the correct operating system commands to schedule the batch file. To learn how to schedule a batch file see your operating system documentation or help. How to configure the database for summary folders The summary management feature in Discoverer uses native features in the Oracle database management system DBMS. This feature uses the same highly scalable and reliable processing procedures as the workbook scheduling capability and the setup for both features is similar. These procedures use standard packages in the DBMS called DBMS_JOB. 14-12 Oracle Fusion Middleware Administrators Guide for Oracle Business Intelligence Discoverer To enable the processing procedures for summary management in Discoverer you can check the following tasks: ■ How to confirm that DBMS_JOB is installed for summary management ■ How to use SQLPlus to grant the privileges required to create summary folders ■ How to determine and reset tablespace quotas ■ How to check objectschema name How to confirm that DBMS_JOB is installed for summary management To confirm that DBMS_JOB is installed for summary management:

1.

Start SQLPlus if it is not already running and connect as the database administrator. For example, if SQLPlus is already running, you might type the following at the command prompt: SQL CONNECT dba_userdba_pwdatabase; Where dba_user is the database administrator and dba_pw is the database administrator password.

2. Type the following at the command prompt:

SQL select from all_objects where object_name=DBMS_JOB and object_type = PACKAGE; If the statement returns no rows, use your database administrator to create the necessary packages. To install DBMS_JOB and create the necessary packages for summary management, for Oracle databases version 9.2.0.7 or later:

1. Start SQLPlus if it is not already running and connect as the SYS user, or a user

to which the sysdba privilege has been granted. For example, if SQLPlus is already running, you might type the following at the command prompt: SQL CONNECT syssys_pwdatabase AS SYSDBA; Where sys is the SYS user and sys_pw is the SYS user password. 2. Type the following at the command prompt: SQL start ORACLE_HOMErdbmsadmindbmsjob.sql; SQL start ORACLE_HOMErdbmsadminprvtjob.plb; How to use SQLPlus to grant the privileges required to create summary folders You can use SQLPlus to grant the privileges required to create summary folders in the following ways: ■ How to use SQLPlus to manually grant the privileges required to create summary folders ■ How to use SQLPlus and the eulasm.sql script to grant the privileges required to create summary folders