Data Warehouse - Dimensional Modelling - Use Case Study: Ewallet
Data Warehouse - Dimensional Modelling - Use Case Study: Ewallet
Data Warehouse - Dimensional Modelling - Use Case Study: Ewallet
Dimensional Modelling |
Use case study: eWallet
Explaining technical concepts through use case will always
make more sense.
Data Warehouse
A data warehouse is a large collection of business-related
historical data that would be used to make business decisions.
Data warehouse stores aggregated transactional data,
transformed and stored for analytical purposes.
• Data warehouses store data from multiple sources, which
makes it easier to analyze.
Dimensional Modeling
Dimensional modeling is the widely used technique to design
data warehouse mainly because it addresses below two
requirements simultaneously:
1. Delivers the data that is understandable by business
users.
Presentation Area:
• Dimensional (star
schema or OLAP
ETL System:
cube)
• Transform from
• Atomic and summary
source-to-target
data
• Conform
• Organized by business
dimensions Bl Applications:
process
• Normalization • Ad hoc queries
• Uses conformed
optional • Standard reports
dimensions
• No user query • Analytic apps
support Design Goals: • Data mining and
• Ease of use models
Design Goals:
• Query performance
• Throughput
• Integrity and
consistency
Enterprise DW Bus
Architecture
Now let’s take the use case of e-Wallet to build a data warehouse
using dimensional modeling technique.
Use case
Background
Requirement
Some of the questions they would want to answer from this are
like below:
• What is the daily balance of credit in the e-wallet service?
Let’s write down this decision steps for our e-Wallet case:
Dimension Tables:
. DimWallet . DimCustomer
. DimDate: This dimension has all the date related parsed
values like Month of the date, Week of the date, Day of the
week, etc. This will be very handy to get reports based on time.
Fact Table:
• FactWallet
References
[1] Ralph Kimball, Margy Ross, The Data Warehouse Toolkit,
2nd Edition, The complete guide to dimensional modeling