Presentation is loading. Please wait.

Presentation is loading. Please wait.

3 Copyright © 2006, Oracle. All rights reserved. Building an Analytic Workspace.

Similar presentations


Presentation on theme: "3 Copyright © 2006, Oracle. All rights reserved. Building an Analytic Workspace."— Presentation transcript:

1 3 Copyright © 2006, Oracle. All rights reserved. Building an Analytic Workspace

2 3-2 Copyright © 2006, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Review the logical model and source data used for the AW in this lesson Use the Analytic Workspace Manager tool to: –Create and populate an analytic workspace in the Oracle database –Describe and create multidimensional data types, including dimensions, measures, and cubes –Load data into the analytic workspace from a provided set of tables –View data in the analytic workspace

3 3-3 Copyright © 2006, Oracle. All rights reserved. Examining the Logical Model The AW includes: Dimensions: –Time –Product –Channel Measures: –Budget sales –Budget profit TimeProduct Channel Budget Sales and Profit

4 3-4 Copyright © 2006, Oracle. All rights reserved. Within the Channel and Product dimensions, a Total level exists as the highest level of summarization. Adding this highest level provides additional flexibility as application users analyze data. Examining the Logical Model: Dimensions Product Standard Channel Standard Time Calendar Dimension Hierarchy Total Category Subcategory Product Total Class Channel Year Quarter Month Levels

5 3-5 Copyright © 2006, Oracle. All rights reserved. Role of Cubes in Oracle OLAP A cube is a collection of measures that have similar characteristics. Measures in a cube: –Must have the same dimensionality –Are typically aggregated using the same rules across dimensions –Typically share sparsity patterns Cubes simplify the definition and administration of measures.

6 3-6 Copyright © 2006, Oracle. All rights reserved. Examining the Logical Model: Cubes and Measures Budgets Time Product Channel Budget Sales Budget Profit Cube: Dimensions: Measures:

7 3-7 Copyright © 2006, Oracle. All rights reserved. Source Data Data is from the Sales History ( SH ) schema. You use the SH_AW user who has access to the SH tables and views. Source data for this lesson are in the following tables and views: – BUDGET_TBL – MONTH_STAR – PRODUCTS – CHANNELS

8 3-8 Copyright © 2006, Oracle. All rights reserved. Starting AWM To start the AWM 10g tool, click the awm.exe file. Alternatively, you can double-click the AWM icon on the desktop.

9 3-9 Copyright © 2006, Oracle. All rights reserved. Creating a Database Connection Create a database connection by right-clicking the Databases node in the left navigator, entering the connection information, and then clicking the Create button.

10 3-10 Copyright © 2006, Oracle. All rights reserved. Connecting to a Database To connect to a database, click the description name in the Databases node in the left navigator. Then, enter the username and password in the dialog box. Click OK.

11 3-11 Copyright © 2006, Oracle. All rights reserved. Creating an Analytic Workspace 1.Expand the schema node under which you want an analytic workspace. 2.Right-click Analytic Workspaces, and then select Create Analytic Workspace. 3.Enter a name for your analytic workspace. 3 1 2

12 3-12 Copyright © 2006, Oracle. All rights reserved. Analytic Workspace: Creation and Maintenance Privileges To create and maintain an analytic workspace, you must have the following profile: OLAP_USER role SELECT privileges on the source schema tables Sufficient quota on the tablespace in which the workspace is created SELECT, INSERT, and UPDATE privileges for the table ( AW$table_name ) that contains the analytic workspace

13 3-13 Copyright © 2006, Oracle. All rights reserved. Using Multilanguage Support A single AW can support multiple languages. Use the Languages property sheet to identify the languages that you want your AW to support.

14 3-14 Copyright © 2006, Oracle. All rights reserved. Creating Dimensions 1.Right-click the Dimensions folder, and then select Create Dimension. 2.On the default General tabbed page in the Create Dimension dialog box, enter TIME as the name, and then select Time Dimension as the dimension type. 3.Click Create. 1 2 3

15 3-15 Copyright © 2006, Oracle. All rights reserved. Creating Levels 1.Right-click the Levels icon, and then select Create Level. 2.Enter the level name and labels. Click Create. Repeat the process for each level. 3.All levels are displayed. 3 2 1

16 3-16 Copyright © 2006, Oracle. All rights reserved. Creating Hierarchies 3 1 2

17 3-17 Copyright © 2006, Oracle. All rights reserved. Attributes Attributes provide information (typically nonadditive) about dimension members. You can create additional attributes optionally. Attributes are created automatically.

18 3-18 Copyright © 2006, Oracle. All rights reserved. Mapping Dimensions With mappings, you identify a relational data source for your dimensions and cubes. 1 2 3

19 3-19 Copyright © 2006, Oracle. All rights reserved. Mapping Dimensions 4

20 3-20 Copyright © 2006, Oracle. All rights reserved. 5432 Viewing Mapping Options You can view your mappings by clicking the buttons at the top of the Mappings window: 1.Graphical Mapping View 2.Table Mapping View 3.Auto Arrange Mappings 4.Auto Map Star Schema 5.Remove All Mappings 6.Type of Dimension Table(s) 1 6

21 3-21 Copyright © 2006, Oracle. All rights reserved. Loading Data To load dimension data, select the Maintain Dimension option for the dimension into which you are loading data.

22 3-22 Copyright © 2006, Oracle. All rights reserved. Loading the Data Report

23 3-23 Copyright © 2006, Oracle. All rights reserved. Using the Data Viewer

24 3-24 Copyright © 2006, Oracle. All rights reserved. Using Templates Templates enable you to: Transfer object definitions to other schemas or instances Persist object definitions outside the database Place object definitions in source control Provide a means of copying the definition of an AW Share AW definitions with other BI administrators

25 3-25 Copyright © 2006, Oracle. All rights reserved. Configuring the Template Source 1 2 3 4

26 3-26 Copyright © 2006, Oracle. All rights reserved. Creating Dimensions Using Templates 1 2 3

27 3-27 Copyright © 2006, Oracle. All rights reserved. Creating Cubes To create a cube, right-click the Cubes node. Then, select Create Cube.

28 3-28 Copyright © 2006, Oracle. All rights reserved. Creating Cubes

29 3-29 Copyright © 2006, Oracle. All rights reserved. Creating Measures To create a measure, right-click the Measures node. Then, select Create Measure.

30 3-30 Copyright © 2006, Oracle. All rights reserved. Mapping Measures With mappings, you identify a relational data source for your cubes. 3 1 2

31 3-31 Copyright © 2006, Oracle. All rights reserved. Mapping Measures 4

32 3-32 Copyright © 2006, Oracle. All rights reserved. Loading Data Use the Maintenance Wizard to load mapped data from the relational source to multidimensional objects.

33 3-33 Copyright © 2006, Oracle. All rights reserved. Loading Data

34 3-34 Copyright © 2006, Oracle. All rights reserved. Loading Data Report

35 3-35 Copyright © 2006, Oracle. All rights reserved. Viewing Measures After data is loaded, use the Data Viewer to see the data in tabular form.

36 3-36 Copyright © 2006, Oracle. All rights reserved. Viewing Measures

37 3-37 Copyright © 2006, Oracle. All rights reserved. Summary In this lesson, you should have learned how to: Create an analytic workspace Create dimensions and their levels, hierarchies, and attributes manually or by using a template Create cubes and their associated measures Map data to relational data sources Load data into the analytic workspace View data

38 3-38 Copyright © 2006, Oracle. All rights reserved. Practice 3: Overview This practice covers the following topics: Learning and using the AWM 10g interface Creating dimensions, levels, mappings, and hierarchies Creating a cube Creating measures Mapping the relational sources Loading data Viewing data in the AW

39 3-39 Copyright © 2006, Oracle. All rights reserved.

40 3-40 Copyright © 2006, Oracle. All rights reserved.

41 3-41 Copyright © 2006, Oracle. All rights reserved.

42 3-42 Copyright © 2006, Oracle. All rights reserved.

43 3-43 Copyright © 2006, Oracle. All rights reserved.

44 3-44 Copyright © 2006, Oracle. All rights reserved.

45 3-45 Copyright © 2006, Oracle. All rights reserved.

46 3-46 Copyright © 2006, Oracle. All rights reserved.

47 3-47 Copyright © 2006, Oracle. All rights reserved.

48 3-48 Copyright © 2006, Oracle. All rights reserved.


Download ppt "3 Copyright © 2006, Oracle. All rights reserved. Building an Analytic Workspace."

Similar presentations


Ads by Google