Presentation is loading. Please wait.

Presentation is loading. Please wait.

7 Copyright © 2006, Oracle. All rights reserved. Creating Experts.

Similar presentations


Presentation on theme: "7 Copyright © 2006, Oracle. All rights reserved. Creating Experts."— Presentation transcript:

1 7 Copyright © 2006, Oracle. All rights reserved. Creating Experts

2 7-2 Copyright © 2006, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Explain the benefits of Warehouse Builder Experts for novice users Use the Expert Editor to define an Expert Create a custom dialog to use your own user interface

3 7-3 Copyright © 2006, Oracle. All rights reserved. Perception: Power and Complexity of OWB Challenges New Users Oracle can solve my problems and is more scalable than the competition… But there are too many options for the novice user: Where to start? What to do next? What does this do? Where is this thing? How do I do this? Bottom line: OWB can be perceived as complex for new users…

4 7-4 Copyright © 2006, Oracle. All rights reserved. Requirement: Harnessing OWB Power and Complexity for New Users Users possess best practices or domain-specific knowledge. OWB provides powerful features that support various modeling and design requirements in a very flexible manner. Users ask: Is there a guided way to use those features quickly to implement a solution? Can OWB help manage those best practices in some way?

5 7-5 Copyright © 2006, Oracle. All rights reserved. Solution: OWB “Experts” Give Directed Guidance and Knowledge Management Directed guidance across various components and features in OWB Knowledge management to encapsulate and manage best practices and domain-specific solutions Leveraging of OWB scripting language OWB Experts

6 7-6 Copyright © 2006, Oracle. All rights reserved. Major Benefits of Experts Can automate parts of a repetitive task Simplify the use of Warehouse Builder by exposing only the strictly necessary tasks Improve productivity by forcing the user to go through a set of steps Lower the learning curve for inexperienced users 1. 2. 3. Define A Define B Map A to B

7 7-7 Copyright © 2006, Oracle. All rights reserved. Profile of Designers and Users of Experts Designers of Experts: OWB Development for cross-component feature Consultants for best-practice solutions Customers for routine process Users of Experts: Novice users who just run predefined Experts and follow the task list

8 7-8 Copyright © 2006, Oracle. All rights reserved. Framework of Experts Expert Editor (Design) Graphical editor to design the task flow of an expert Reusable OWB design components exposed as tasks Used by the true “expert” to help capture “knowledge” Expert Assistant (Run Time) Different ways to run “experts” –Guided-assistant environment inside OWB –Stand-alone program as part of OMB scripting –Embedded in third-party application Used by novice users Expert-Related Objects Expert Modules Experts Tasks Transitions Variables Extended OWB Scripting OMU commands for UI scripting OMB commands for non-UI logic Tcl for flow control Expert object leads to generated OWB script

9 7-9 Copyright © 2006, Oracle. All rights reserved. Task Sequence: No User Complexity Expert Warehouse Builder Preprocessing step Create external table based on sampled flat file. Define variables Pass variable values Enforce project standards Postprocessing step Tcl $ Tcl OMB Plus End user 1. Sample A (wizard) 2. Define B (wizard) 3. Map A to B (custom dialog)

10 7-10 Copyright © 2006, Oracle. All rights reserved. Creating an Expert 1.Create an Expert Module. 2.Create an Expert.

11 7-11 Copyright © 2006, Oracle. All rights reserved. Defining an Expert 1.Define the Expert scenario. 2.Map individual tasks to existing OWB components. 3.If a task is not already available, Expert designers can do the following to accomplish custom logic: –Define a nested Expert, or –Use OMB or a Java task 1 2 3

12 7-12 Copyright © 2006, Oracle. All rights reserved. Expert Editor Use Expert Editor to define details. Each Expert can have optional preprocessing and postprocessing procedures. Implemented in OWB scripting Expert can itself be added as a task. Embedded Expert tasks show as nested experts. Palette Canvas Task Editor Object Inspector Explorer

13 7-13 Copyright © 2006, Oracle. All rights reserved. Setting Context and Defining Variables Create 2 3 4 5 Here, the module_name parameter is binding to the g_source_module. Set parent context where Expert starts. 1

14 7-14 Copyright © 2006, Oracle. All rights reserved. Defining the Tasks This script creates a mapping of two bound tables and a connection between them.

15 7-15 Copyright © 2006, Oracle. All rights reserved. Validate, Generate, and View Tcl Script

16 7-16 Copyright © 2006, Oracle. All rights reserved. Starting an Expert During execution, the Warehouse Builder console disappears. The Task Assistant displays instructions and enforces flow control. Select Oracle Source

17 7-17 Copyright © 2006, Oracle. All rights reserved. Starting the Expert and Performing Tasks

18 7-18 Copyright © 2006, Oracle. All rights reserved. Creating Your Own Custom Dialog Java task –Java Swing UI for end users Custom dialog task –A dialog for simple information collection using the OMUPROMPT command –Editor support for construction and preview of dialog

19 7-19 Copyright © 2006, Oracle. All rights reserved. Custom Dialog Task Resulting custom dialog Fork based on parameter

20 7-20 Copyright © 2006, Oracle. All rights reserved. Use Cases 0-to-OLAP ROLAP-to-MOLAP Typical warehousing Guided Maplet usage EBI Assistant Tutorials Copy table Table to star dimension 3NF schema to snowflake dimension File to table Master-Detail file to tables PeopleSoft customer to Oracle data hub Administration tasks automation And much more…

21 7-21 Copyright © 2006, Oracle. All rights reserved. Scenario: From 0 to OLAP in Six Easy Steps Customer has: A data source Limited understanding of OLAP modeling Limited understanding of ETL Advanced analytic questions

22 7-22 Copyright © 2006, Oracle. All rights reserved. From 0 to OLAP in Six Easy Steps An Expert could be created to perform the following: Define dimensions Define cubes Define the data view Deploy all objects in one step Load the data View the results DimensionCubeQueryDeployLoadView

23 7-23 Copyright © 2006, Oracle. All rights reserved. From 0 to OLAP in Six Easy Steps Actions: Identify the single dimension source. Specify the dimension and level names. Choose MOLAP implementation. Derive dimension columns via: –Creation from source –Allocation (name/position based) Iterate per dimension. Results: For each dimension Fully defined OLAP dimension Data load mapping from sources into dimension Step 1: Define dimensions.

24 7-24 Copyright © 2006, Oracle. All rights reserved. From 0 to OLAP in Six Easy Steps Actions: Identify single cube source. Specify the cube name. Derive the measures via: –Creation from source –Allocation (name/position based) Iterate for more cubes. Results: For each cube Fully defined OLAP cube Generated data load mapping from sources into target cube Generated process with all mappings Step 2: Define cube(s).

25 7-25 Copyright © 2006, Oracle. All rights reserved. From 0 to OLAP in Six Easy Steps Actions: Identify a single cube. Choose the report layout. Advanced: limit query. Iterate for more cubes. Results: For each cube Default report for BI Beans Step 3: Define the data view.

26 7-26 Copyright © 2006, Oracle. All rights reserved. From 0 to OLAP in Six Easy Steps Actions: Deploy the cube to the database. Results: Default AW created AW cube and dimensions created OLAP catalog registration SQL views and TF created Data load programs deployed Process flow deployed BI Beans enabled BI Beans application generated Step 4: Deploy your objects.

27 7-27 Copyright © 2006, Oracle. All rights reserved. From 0 to OLAP in Six Easy Steps Actions: Choose the cube. Run the process flow. Iterate per cube. Results: Per cube Data loaded into AW –Cube –All dimensions Step 5: Load data.

28 7-28 Copyright © 2006, Oracle. All rights reserved. From 0 to OLAP in Six Easy Steps Actions: Choose the cube. Launch the report. Iterate per cube. Results: Per cube View and drill information within application Step 6: View your data. Guidance provided by Experts will improve OLAP adoption potential of traditional WH implementers!

29 7-29 Copyright © 2006, Oracle. All rights reserved. Scenario: ROLAP to MOLAP in Five Easy Steps Customer has relational Oracle data warehouse system. The customer wants to build OLAP data mart derived from current model. It does not matter whether or not the customer used Warehouse Builder to build the system.

30 7-30 Copyright © 2006, Oracle. All rights reserved. ROLAP to MOLAP in Five Easy Steps Identify your ROLAP cube. Name your MOLAP cube. Specify your filters (limits). Define your metadata: –Cubes with measures –ETL map to load from ROLAP to MOLAP Deploy and run. ROLAPMOLAPFILTERCREATEDEPLOY

31 7-31 Copyright © 2006, Oracle. All rights reserved. Scenario: Expert for Creating External Table You could define a simple Expert for creating an external table: 1.Choose from a predefined task list (atomic tasks). 2.Sample the flat file 3.Create an external table. 4.Deploy related objects. 5.Compile an Expert. 6.Name the Expert. 7.Register the Expert.

32 7-32 Copyright © 2006, Oracle. All rights reserved. Summary In this lesson, you should have learned about the benefits that Warehouse Builder Experts offer: Enhanced usability –Features exposed in a collaborative way –Flow control offers guidance support –Extreme power and flexibility with scripting Efficient knowledge management –Business logic captured as metadata –History management, security, change management, metadata exchange, and so on, all supported

33 7-33 Copyright © 2006, Oracle. All rights reserved. Lab Practice 7-1: Create an Expert to Copy a Table This practice covers creating an expert to copy a table.

34 7-34 Copyright © 2006, Oracle. All rights reserved.


Download ppt "7 Copyright © 2006, Oracle. All rights reserved. Creating Experts."

Similar presentations


Ads by Google