Professional Documents
Culture Documents
P-9 Analyzing User Query Needs and Modelling Data Warehouse
P-9 Analyzing User Query Needs and Modelling Data Warehouse
Needs
Types of Users
Executives
Managers
Business analysts
User Access
Types of Users
Executives
Casual users
or managers
Business
analysts or
power users
Structured Unstructured
Gathering User Requirements
Areas to focus:
How users do business and what the business
drivers are
What attributes users need (required versus
good to have)
What are the business hierarchies are
What data users use and what they like to have
What levels of detail or summary needed
What types of front-end data access tool used
How users expect to see the query results
Gathering User Requirements:
Possible Obstacles
The following are some of the possible obstacles:
Business objective of the data warehouse has not been specifically
defined
Scope of the data warehouse is too broad
Misunderstanding about the purpose and function of a decision support
systems and operational systems
User Query Progression
Starts simple
Becomes more analytical
Requires different techniques and
flexible tools
Why?
What? Why?
Why?
Training
Methods
- Informal: one-to-one or small class
- Formal: larger class
- Self-study
Basic topics
- Logging on
- Accessing metadata
- Creating and submitting a query
- Interpreting results
- Saving queries and storing results
- Utilizing resources
- Learning warehouse fundamentals
Query Efficiency
User considerations
Successful completion
Faster query execution
Less CPU used
More opportunity for further analysis
Query Efficiency
Designer considerations
Use indexes
Select minimum data
Employ resource governmors
Minimize bottlenecks
Develop metrics
User prepared and tested queries
Use quiet periods
Charge Models
Do not overlook
Subject area sponsors:
- Review and authorize request for
access rights
- Identify enhancements
Transparent security
Easy to implement, maintain, and manage
Security Plan
Define a strategy:
- Allocate business area owners
- Ensure invisibility
Ensure easy management
Consider auditing
Manage passwords
Role-Based Security
Who am I?
Where am I?
Generic dimensionality
Dynamic sparse matrix handling
Multiuser support
Unrestricted cross-dimensional operations
Intuitive data manipulation
Flexible reporting
Unlimited dimensions and aggregation levels
Relational Database Model
Customer
Store Store
Time Time
SALES FINANCE
Product
GL-Line
Physical model
Performing Strategic Analysis
Performing strategic
•
Select a
analysis business
process
Business requirements
Other inputs
Measures Dimensions
•Balance •Description
•United Sold •Location
•Cost •Color
•Sales •Size
Determining Granularity
YEAR?
QUARTER?
MONTH?
WEEK?
DAY?
Identifying Business Rules
Location Product
Time Store
Month>Quarter>Year Store>District>Region
Creating the Dimensional Model
Product Channel
Facts
(units,
price) Time
Customer
Fact Tables
Product Channel
Facts
(units,
price)
Customer Time
Dimension tables
Star Schema Model
Product Table Store Table
Central fact table
Product_id Store_id
Radiating dimensions Product_desc District_id
Denormalized model
Sales Fact Table
Product_id
Store_ id
Item_id
Day_id
Sales_dollars
Sales_units
Average
Maximum
Total
Percentage
Units Sales($) Store
Product A
Total
Product B
Total
Product C
Total
Summary Tables Example
SALES BY MONTH/REGION
SALES FACTS Month Region Tot_Sales$
Sales$ Region Month Jan 99 North 41,000
10,000 North Jan 99 Jan 99 East 10,000
12,000 North Feb 99 Feb 99 South 40,000
11,000 South Jan 99 Mar 99 West 17,000
15,000 West Mar 99
18,000 South Feb 99
20,000 North Jan 99
10,000 East Jan 99
SALES BY_MONTH
2,000 West Mar 99
Month Tot_Sales
Jan 99 51,000
Feb 99 40,000
Mar 99 17,000
Summary Management in Oracle8i
Sales
summary
Region
State
City
Product Time
Summary advisor
Summary Space
usage Summary requirements
recommendations
Using Time in the Data Warehouse
The Time Dimension
Time
Sales fact
dimension
Where should the element of time be stored?
Creating the Physical Model
Business model
Dimensional model
Physical model