Select the Have Discoverer recommend and create the best summaries option
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 foldersParts
» Oracle Fusion Middleware Online Documentation Library
» Identify users’ requirements Oracle Fusion Middleware Online Documentation Library
» Create an EUL mandatory if one does not exist already.
» Create a business area and load data into it mandatory.
» Refine the structure of the business area so that users can view data in the most
» Grant business area access to users or roles mandatory.
» Deploy Discoverer Oracle Fusion Middleware Online Documentation Library
» If you specified a database user other than the current user to be the EUL owner, Click Finish.
» Select the Create a new user option.
» Select or clear the Grant EUL access to PUBLIC check box as follows:
» Select or clear the New EUL is for use by Oracle Applications users ONLY check
» Specify a name for the new database user in the User field.
» Specify a password for the new database user in the Password field.
» Specify the new database user’s password again in the Confirm Password field.
» Specify the default and temporary tablespaces for the new database user.
» Click Finish. Oracle Fusion Middleware Online Documentation Library
» Choose File | Connect to display the
» Specify the username, password, and TNS alias for the owner of the EUL that you
» Click Cancel to close the Load Wizard.
» Click Delete an EUL to display the
» Make sure that the EUL specified in the EUL field is the one you want to delete
» Select the Selected Objects in the End User Layer option and click Next to display
» Use the Which objects do you want to export? drop down list to display the EUL
» Move the object that you want to export from the Available list to the Selected
» optional Select the Generate XML for exported workbooks check box to save
» optional Select the Save export commands as a text file .txt check box to save
» Click Add to display the Open dialog.
» Locate and select one or more import files and click Open to return to the
» Click Start to begin the import.
» Click Create a new business area conditional option, displayed only when
» Select the database link from the Select a Database Link drop down list.
» Move the tables or views that you want to load into the business area, from the
» Click Finish to begin the refresh business areas process.
» Move the object on which you want to base the simple folder from the Available
» optional Select one or more joins and click OK.
» On the Oracle Fusion Middleware Online Documentation Library
» Choose Insert | Folder | Custom to display the
» Specify the SQL statement on which the custom folder will be based.
» When you are certain that you want to delete the selected folder, click Yes.
» Select the folder that you want to delete from the Orphaned Folders field.
» Click the business area in the Selected business areas list.
» Select or clear the Allow Administration check box as required.
» Enter the search criteria in the Search For field and click Go.
» Choose an Oracle system profile to apply to the user or role from the Select an
» Specify the content of the UsersRoles list by selecting the Users check box and the
» Specify when you want to force the user to schedule workbooks.
» Set the scheduled workbook options as required.
» Click OK to save the changes you have made and close the Privileges dialog.
» Select the List of Values check box.
» Move the items that use this item class, from the Available items list to the
» Select the Use these items in drill to detail check box to enable drill to detail
» Click OK. Oracle Fusion Middleware Online Documentation Library
» optional Select a row in the Impact dialog to view text at the bottom of the
» Click Close when you have finished reviewing the impact that the deletion
» Discoverer Plus worksheet using a parameter.
» Click Apply. Click OK to close the Item Properties dialog.
» Use the drop down lists for Master Items and Detail Items to select a new
» Display the Oracle Fusion Middleware Online Documentation Library
» Click Close to close the Impact dialog when you have finished reviewing the
» Select the folder that you want to contain the new calculated item on the
» Enter the calculation formula in the Calculation field.
» Click OK when you have finished specifying details in the Calculation field.
» Choose Insert | Condition to display the
» Define what data or items you want to match against using the Values field.
» Specify whether to match the case of text data using the Match Case check box as
» On the Choose Edit | Delete to display the
» Select the Online dictionary check box and click Next to display the
» Select the SYS user from the Select the users whose tables you want to load list
» Expand the SYS user in the Available list box and drag the ALL_USERS view into
» Select the List of values for items of type check box and the Character check box,
» optional Edit the folder properties of ALL_USERS and set the Visible to user
» Type Username into the Name field.
» Type USER into the Calculation field.
» optional Edit the Properties of the new condition and set the Visible to user
» Set the summary property Available for Queries to Yes.
» Select the Date Hierarchy option and click Next to open the
» Specify a name and description for the new date hierarchy.
» optional To make this date hierarchy template the default, select the Set as
» Click the date hierarchy template on the Hierarchies page and choose Edit |
» Edit the hierarchy as required. Click OK.
» Expand Date hierarchy templates then highlight the default date hierarchy that
» Set the custom folder property Visible to user to No for more information, see
» Set the folder property Visible to user for each of these complex folders to No for
» Select the Have Discoverer recommend and create the best summaries option
» Select the tablespace in which to store summary data in the Tablespace to use for
» In step 4 of the Load Wizard click the option Summaries based on folders that are
» Set the Repeat every fields for the refresh interval you want.
» For each database column, drag the corresponding item from the Available items
» Display the Select the numbered column heading for the summary combination that
» Clear the Oracle Applications User check box if the check box is displayed.
» Click Connect. Oracle Fusion Middleware Online Documentation Library
» Click Yes. Discoverer displays the
» Move the business areas that you want the selected Oracle Applications user to
» Select the Allow Administration check box as required.
» Enter FND_GLOBAL.USER_NAME into the Function Name field.
» Enter FND_GLOBAL.USER_NAME into the Display Name field.
» Enter APPS into the Owner fiel
» Choose Varchar in the Return Type field.
» Enter some meaningful text into the Identifier field.
» Enter the following SQL statement into the Enter the SQL to define the custom
» Select Delete this Business Area and its Folders.
» Select the Yes, I have completed a database export and am ready to upgrade the
» Click Proceed with Upgrade to create a new Version 5.1 EUL using data copied
» From the Windows Start menu, choose Programs | Oracle Business Intelligence
» Enter the database user name and password of the owner of the EUL that you
» Install Oracle Business Intelligence Discoverer.
» Follow the instructions in Oracle Application Server 10g Upgrading to 10g 10.1.2 to
» Install Discoverer Desktop on client machines using the CD that is supplied with
» Click Yes to display the Install Sample Data dialog.
» Click No to display the EUL Manager dialog.
» If the VIDEO5 database user is not displayed in the Selected usersroles list, move
» Type VIDEO5 in the Password field. Click Finish. Click OK.
Show more