Skip Headers

Oracle Discoverer Administrator Tutorial
10g (9.0.4)

Part Number B10271-01
Go To Documentation Library
Home
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

11
Lesson 10: Creating summary folders to optimize performance

Lesson 10: Creating summary folders to optimize performance

It will probably take you about 20 minutes to complete this lesson.

In this lesson you will use the Summary Wizard to create summary folders:

Although the New Video Stores business area is now ready for end users, it might be inefficient to allow frequently repeated end user queries to access the detail tables in a production database. It can take a long time to return query results if the detail tables contain very large numbers of rows.

To improve query efficiency, Discoverer Administrator enables you to create summary folders. A summary folder references pre-aggregated data that you know your end users will want to analyze in a worksheet. Discoverer queries can be directed to the pre-aggregated data, avoiding aggregating large volumes of detail data each time a query runs, and therefore optimizing query efficiency.

Note: As the Discoverer manager, you are advised to use Discoverer's ASM facility to create summary folders. For more information about ASM, click Help.

This lesson consists of the following exercises:

Exercise 1: Creating a summary folder using Automated Summary Management (ASM)

In this exercise you will use the Summary Wizard to create summary folders using Automated Summary Management (ASM).

ASM is a Discoverer facility that creates and manages summary folders for you.

You can run ASM in the following ways:

To create a summary folder using ASM:

  1. Choose Insert | Summary to display the Summary Wizard dialog.

Figure 11-1 Summary Wizard dialog


Text description of sumasm1.gif follows.
Text description of the illustration sumasm1.gif

  1. Select the Have Discoverer recommend and create the best summaries radio button.

  2. Click Next to display the Summary Wizard: Step 2 dialog.

  3. Click Start for ASM to analyze folders in the End User Layer (EUL).

    ASM starts by analyzing folders in the current EUL so that it can propose a suitable set of summary folders to create.

    Discoverer displays a progress bar indicating the current step and the number of folders analyzed.

Figure 11-2 Summary Wizard: Step 2 dialog


Text description of sumasm2.gif follows.
Text description of the illustration sumasm2.gif

When folder analysis is complete, Discoverer displays the message Analyzing completed. Press Next to continue.

  1. Click Next to display the Summary Wizard: Step 3 dialog.

Figure 11-3 Summary Wizard: Step 3 dialog


Text description of sumasm3.gif follows.
Text description of the illustration sumasm3.gif

The above dialog displays a graph that indicates:

This dialog enables you to set the size of table space that you want ASM to fill with summary folders. Both the graph pointer and the Create summaries to fill field enable you to alter the size of the table space that Discoverer will use.

Note: Do not reduce the values to either the Table space to use for summaries field or the Create summaries to fill field.

Note: The estimated performance gain displayed above is calculated partly from query statistics gathered from end user queries and partly from data about the database tables. The performance gain can be very large in normal use because Discoverer collects statistics from end user queries that have previously been executed. However, Discoverer might not yet have collected any end user query statistics.

  1. Click Recommended Summaries to display the Recommended Summaries dialog

    The Recommended Summaries dialog displays the summary folders suggested by ASM.

  2. Click one of the recommended summary folders to display the source folders used to create the currently selected summary folder.

Figure 11-4 Recommended Summaries dialog


Text description of sumasmr.gif follows.
Text description of the illustration sumasmr.gif

  1. Click Cancel to display the Summary Wizard: Step 3 dialog again.

  2. Click Finish for ASM to create summary folders automatically.

    Discoverer displays a progress dialog while it creates the summary folders.

    Discoverer then displays the Automated Summary Creation dialog indicating that summary folder creation is complete.

  3. Click OK.

  4. Display the Workarea: Summaries tab to view the summary folders that ASM has just created.

Figure 11-5 Workarea: Summaries tab


Text description of sumasmc.gif follows.
Text description of the illustration sumasmc.gif

ASM has created summary folders that will improve end user query performance. To make sure that end users have the most appropriate summary folders, you must run ASM regularly.

For more information about ASM, click Help.

In this exercise you used the Summary Wizard to create summary folders using Automated Summary Management (ASM).

Exercise 2: Manually creating a summary folder

In this exercise you will use the Summary Wizard to create summary folders manually by specifying summary folders that are based on items that exist in the EUL.

To manually create a summary folder:

  1. Choose Insert | Summary to display the Summary Wizard dialog.

Figure 11-6 Summary Wizard dialog


Text description of sumwz1.gif follows.
Text description of the illustration sumwz1.gif

  1. Click the I want to specify the summaries myself radio button.

  2. Click Next to display the Summary Wizard: Step 2 dialog.

  3. Select the From items in the End User Layer radio button.

Figure 11-7 Summary Wizard: Step 2 dialog


Text description of sumwz2.gif follows.
Text description of the illustration sumwz2.gif

  1. Click Next to display the Summary Wizard: Step 3 dialog.

  2. Choose the New Video Stores business area from the drop down list.

  3. Move the following items in the Video Analysis folder from the Available items list to the Selected Items list:

    • Region

    • Department

    • Transaction Date

    • Year

    • Month

  4. Move the SUM and COUNT functions, for each of the following data point (numeric) items, in the Video Analysis folder from the Available items list to the Selected items list:

    • Sales

    • Cost

    • Profit

  5. Before going any further, make sure that the Summary Wizard: Step 3 dialog appears like the figure below.

Figure 11-8 Summary Wizard: Step 3 dialog


Text description of sumwz3.gif follows.
Text description of the illustration sumwz3.gif

  1. Click Next to display the Summary Wizard: Step 4 dialog.

Your next task is to choose the summary combinations that you want Discoverer to build and manage.

Note: Summary combination are individual sets of axis and measure items that together make up a summary folder. If an end user runs a query with the same items as those specified in a summary combination, the query will run against pre-aggregated summary data instead of the detail data in the database. Consequently, the query performance is improved because it uses the pre-aggregated data instead of scanning all the detail rows.

In the Summary Wizard: Step 4 dialog, each numbered column represents a summary combination.

  1. Click Add Combination to create a new combination column.

  2. Select the following items in the new column (marked 1):

    • Region

    • Department

    • Transaction Date

  3. Clear the check boxes next to Year and Month in column 1.

  4. Before going any further, make sure that the Summary Wizard: Step 4 dialog appears like the figure below.

Figure 11-9 Summary Wizard: Step 4 dialog


Text description of sumwz4.gif follows.
Text description of the illustration sumwz4.gif

  1. Click Next to display Summary Wizard: Step 5 dialog.

Your next task is to schedule the initial summary folder refresh and periodic refresh intervals then name the summary folder and schedule its build.

Note: The refresh schedule establishes the time frame in which Discoverer automatically updates the data in the summary folder. It is important for you, as the Discoverer manager, to set up a periodic refresh that ensures that the aggregated summary data is current at the periods required by end users.

Figure 11-10 Summary Wizard: Step 5 dialog


Text description of sumwz5.gif follows.
Text description of the illustration sumwz5.gif

  1. Clear the Automatically refresh this Summary Folder, starting on: check box.

  2. Click Next to display the final page of the wizard, the Summary Wizard: Step 6 dialog.

Figure 11-11 Summary Wizard: Step 6 dialog


Text description of sumwz6.gif follows.
Text description of the illustration sumwz6.gif

  1. Type Video Analysis by Region and Department in the Name field.

  2. Leave the Description field empty.

  3. Select the Build immediately radio button.

  4. Click Finish for Discoverer to create the new summary folder.

    Discoverer displays a progress bar while creating the summary.

  5. Display the Workarea: Summaries tab and click the + symbol next to the New Video Stores business area to view the new summary folder.

  6. Right click the summary folder that you just created.

  7. Choose Properties from the popup menu.

  8. Make sure that the Available for queries property is set to Yes.

  9. Click OK.

You have now created a summary folder manually using Discoverer's Summary Wizard. End user queries that match any of the summary combinations can use this summary folder and benefit from the performance gain that it offers.

In this exercise you used the Summary Wizard to create a summary folder manually by specifying that the summary folder is based on items that exist in the EUL.

Lesson summary

In this lesson you used the Summary Wizard to create summary folders:

In the next chapter you can remove remove all of the work that you completed as part of this tutorial.


Go to previous page Go to next page
Oracle
Copyright © 1996, 2003 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Table Of Contents
Contents
Go To Index
Index