Select the tablespace in which to store summary data in the Tablespace to use for

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 Managing Summary Folders 14-13 Notes ■ The user below is the database user for the person using Discoverer Administrator. How to use SQLPlus to manually grant the privileges required to create summary folders To use SQLPlus to manually grant the privileges required to create summary folders, 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 grant CREATE TABLE to user; SQL grant CREATE VIEW to user; SQL grant CREATE PROCEDURE to user; SQL grant CREATE ANY MATERIALIZED VIEW to user; SQL grant DROP ANY MATERIALIZED VIEW to user; SQL grant ALTER ANY MATERIALIZED VIEW to user; SQL grant GLOBAL QUERY REWRITE to user with admin option; SQL grant ANALYZE ANY to user; SQL grant SELECT ON V_PARAMETER to user; Note: To grant SELECT on v_parameter you must log in as the SYS user. If you are unable to login as the SYS user or are unsure about the SYS user name and password, see your database administrator. How to use SQLPlus and the eulasm.sql script to grant the privileges required to create summary folders To use SQLPlus and the eulasm.sql script to grant the privileges required to create summary folders:

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 ’ORACLE_HOME\discoverer\util\eulasm.sql’ 3. When the script prompts you, enter the database user to which the script is to grant the privileges. ENTER value for username: username