b copyright © 2009, oracle. all rights reserved. creating experts
TRANSCRIPT
![Page 1: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/1.jpg)
BCopyright © 2009, Oracle. All rights reserved.
Creating Experts
![Page 2: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/2.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 2
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
• Identify scenarios where Experts can be used
![Page 3: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/3.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 3
Perception: Power and Complexity of OWB Challenges New Users
• Oracle can solve my problems and is scalable.
• 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?
• Bottomline: OWB can be perceived as complex for new users…
![Page 4: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/4.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 4
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?
![Page 5: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/5.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 5
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 scriptinglanguage
OWB Experts
![Page 6: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/6.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 6
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 ADefine BMap A to B
![Page 7: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/7.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 7
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
![Page 8: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/8.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 8
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
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
![Page 9: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/9.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 9
1. Sample A (wizard)
2. Define B (wizard)
3. Map A to B (custom dialog)
Task Sequence: No User Complexity
Expert Warehouse Builder
Preprocessingstep
Create external tablebased on sampled flat file.
Define variables
Pass variablevalues
Enforce project standards
Postprocessingstep
Tcl
Tcl
Tcl
Tcl
$<variable name>
$<variable name>
Tcl
OMB Plus
OMB Plus
End user
![Page 10: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/10.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 10
Creating an Expert
1. Create an Expert Module.
2. Create an Expert.
![Page 11: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/11.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 11
Defining an Expert
• Define the Expert scenario.
• Map individual tasks to existing OWB components.
• 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
![Page 12: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/12.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 12
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.
Canvas ComponentPalette
Task Editor
![Page 13: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/13.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 13
Defining the Tasks
Add the OMB commands to implement the functionality in the Main tab area
Drag and drop tasks from the palette
![Page 14: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/14.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 14
Starting an Expert
During execution, the Warehouse Builder console disappears.
The Task Assistant displays instructions and enforces flow control.
![Page 15: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/15.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 15
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
![Page 16: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/16.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 16
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…
![Page 17: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/17.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 17
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.
![Page 18: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/18.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 18
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.
ROLAP MOLAP FILTER CREATE DEPLOY
![Page 19: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/19.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 19
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.
![Page 20: B Copyright © 2009, Oracle. All rights reserved. Creating Experts](https://reader035.vdocuments.site/reader035/viewer/2022071807/56649eb55503460f94bbe029/html5/thumbnails/20.jpg)
Copyright © 2009, Oracle. All rights reserved.B - 20
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