Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Structures
IBM Cognos 8 BI
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
often result in monolithic designs with multiple
joins
Large queries can perform slowly.
Identify Issues with Operational Databases
Show all customer types Customer Sales Product
that bought from a product Type Area Line
1..1 1..1 1..1
line. 1..n 1..n 1..n
Order Product
0..n
Header
1..1 1..1
1..n
Order
Detail 0..n
Customer
1..1 Order 1..1
0..n Fact 0..n Product
0..n
1..1
Date
Sales Product
Customer Rep Type
1..1 1..1 1..1
Sales
Rep 0..n 1..n
1..1 Order
0..n
0..n
Header Product
1..1 Order 1..1 1..1 1..1
Customer 0..n Fact 0..n Product 1..n
0..n
1..1 Order
Detail 0..n
Date
Examine Operational Data
Data is normalized
Product Line Table Product Type Table Product Table
Dimension Tables
Fact Table Product
Sales Revenue
Measures Quantity
. Customer
Product Key
Foreign Keys Customer Key
Time Key Time
Examine Dimension Tables
Dimension tables provide descriptive information.
Dimension tables may be conformed so that they
are applicable to multiple fact tables across the
business. Dimension Dimension
Product Warehouse
Fact Fact
Sales Inventory
Dimension Dimension
Customer Time
Conformed Dimensions
Identify Issues with a Star Schema
Data is only as current as the last data load.
Structural issues:
the distinct count problem
very large dimension tables
snowflakes
Fact issues:
different levels of granularity (detail) in fact tables
Define Relationships
Specify how data in one table is linked to data in
another table.
Relationships are implied in the physical data
(modeler explicitly declares these relationships)
Modeler formulates the reality of the business by
configuring the relationships
Examine Relationships: Cardinality
1..1 Security One-to-One: One employee
Employee
1..1 Number holds exactly one security
number.
Which suppliers
1..n
Supplier Part provide which
1..n
specific parts?
Examine Transitive Relationships
Exists if there is more than one path between two
tables
1..1
Customer 0..n
Order
1..1 1..1
Division
1..n 1..n
Branch Employee
1..1 1..1
Division 1..n
Branch 1..n
Employee
1..1 1..n
???
Examine OLAP Data Structures
Products
Order Methods Camping Equipment
Golf Equipment
Fax Cell
Dimension
Outdoor Protection
Telephone
Mountaineering
Members Mail Equipment