Professional Documents
Culture Documents
Relational Dimensional
Model Model
Define a Framework Manager Project
data sources
parameter maps
packages
Define Framework Manager Metadata Elements
Data Source
Query Subject
Regular
Dimension
Query Item
Relationship
(scope Shortcut
relationship
for dimensional
objects)
Examine the Model from the Author's Point of View
Framework Manager Workflow
Framework Manager
Create Model
Import Prepare
Project Metadata for
Metadata Metadata
Reporting
Report Studio
Query Studio
Data Content
Analysis Studio
Sources Store
….
Import Required Metadata Recommendation #2
Select Object
for Import
Import
Create Data
Source
Connection
Generate Relationship Criteria
Examine the Role of an IBM Cognos
Metadata Model
Operational Reporting
Customer Sales Product
Type Area Line Sales
1..1 1..1 1..1 Rep
1..n 1..n 1..1
1..n
0..n
Order Product
1..n Header Date
1..1 1..1
1..n
Order
Detail 1..n
Identify Features of an Operational Database
Operational databases:
are designed to maximize accuracy and minimize redundancy
are optimized for writing and updating data rather than reading data
0..n
Order Product
Header
1..1 1..1
1..n
Order
Detail 0..n
Sales
Rep
1..1
0..n
Date
0..n
1..1 0..n Order Product
Header
Customer
1..1 Order 1..1 1..1 1..1
0..n Fact 0..n Product 1..n
0..n Order
1..1 0..n
Detail
Date
Examine Operational Data
Data is normalized
6 rows
Before collapsing into a star schema dimension
Examine Reporting Data
Data is de-normalized
6 rows
After collapsing into a star schema dimension
Examine Fact Tables
Fact
tables contain the (usually additive) values by which
a company measures itself:
Standard Selling Price - not additive
Sale Amount - additive
Dimension Tables
Fact Table Product
Sales Revenue
Measures Quantity
………………………. Customer
Product Key
Foreign Keys Customer Key
Time Key Time
Examine Dimension Tables
Dimension Dimension
Product Warehouse
Fact Fact
Sales Inventory
Dimension Dimension
Customer Time
Conformed Dimensions
Identify Issues with a Star Schema
Fact issues:
different levels of granularity (detail) in fact tables
Define Relationships
It
is important to determine if certain relationships are
optional.
For example, is there a reporting requirement to list sales
representatives who have sold nothing?
Examine Relationships: Data Traps
Many-to-many relationship
Structure
cannot record and maintain data (it lets the
information fall into a chasm)
Notincorrect when designing at a high level (it just does
not show all the necessary details)
Which
suppliers
1..n provide
Supplier 1..n Part
which
specific
parts?
Examine Transitive Relationships
1..1 1..1
Can an order exist
Can a customer without an order
1..n
exist without an detail?
order detail? 0..n Order
Detail
Identified
by multiple one-to-many relationships that fan
out from a single table
Exists if there is more than one path between
two tables
1..1
Customer 0..n Order
1..1 1..1
Division 1..n Branch 1..n Employee
1..1 1..n
Examine OLAP Data Structures
Products
Order Camping Equipment