Book Image

The Data Warehouse Toolkit - Third Edition

By : Ralph Kimball, Margy Ross
5 (1)
Book Image

The Data Warehouse Toolkit - Third Edition

5 (1)
By: Ralph Kimball, Margy Ross

Overview of this book

The volume of data continues to grow as warehouses are populated with increasingly atomic data and updated with greater frequency. Dimensional modeling has become the most widely accepted approach for presenting information in data warehouse and business intelligence (DW/BI) systems. The goal of this book is to provide a one-stop shop for dimensional modeling techniques. The book is authored by Ralph Kimball and Margy Ross, known worldwide as educators, consultants, and influential thought leaders in data warehousing and business intelligence. The book begins with a primer on data warehousing, business intelligence, and dimensional modeling, and you’ll explore more than 75-dimensional modeling techniques and patterns. Then you’ll understand dimension tables in-depth to get a good grip on retailing and moved towards the topics of inventory. Moving ahead, you’ll learn how to use this book for procurement, order management, accounting, customer relationship management, and many more business sectors. By the end of this book, you’ll be able to gather all the essential knowledge, practices, and patterns for designing dimensional models.
Table of Contents (31 chapters)
Free Chapter
1
Cover
2
Title Page
3
Copyright
4
About the Authors
5
Credits
6
Acknowledgements
29
Index
30
Advertisement
31
End User License Agreement

Airline Case Study and Bus Matrix

We’ll begin by exploring a simplified bus matrix, and then dive into the fact tables associated with flight activity.

Figure 12-1 shows a snippet of an airline’s bus matrix. This example includes an additional column to capture the degenerate dimension associated with most of the bus process events. Like most organizations, airlines are keenly interested in revenue. In this industry, the sale of a ticket represents unearned revenue; revenue is earned when a passenger takes a flight between origin and destination airports.

image

Figure 12-1: Subset of bus matrix row for an airline.

The business and DW/BI team representatives decide the first deliverable should focus on flight activity. The marketing department wants to analyze what flights the company’s frequent flyers take, what fare basis they pay, how often they upgrade, how they earn and redeem their frequent flyer miles, whether they respond to special fare promotions, how long...