Sakila is a dataset used for learning and researching database management. Recognizing that building a data warehouse for the retail industry can help businesses optimize operations, this project focuses on constructing a data warehouse for a DVD rental store. The retail market is rapidly growing, and collecting and analyzing data is crucial for making strategic decisions and maximizing resources. A well-built data warehouse minimizes data fragmentation and inaccuracies while enhancing analytical and forecasting capabilities. Therefore, developing a data warehouse for the DVD rental business is necessary and meaningful in optimizing operations within this competitive market.
The dataset is sourced from: Kaggle - SQLite Sakila Sample Database.
After analyzing the dataset, the following tables were selected for the project:
- Address: Stores address information.
- Actor: Stores details of actors in a movie.
- Customer: Contains customer information.
- Category: Stores movie genres.
- Date: Stores rental date details.
- Film: Contains detailed information about movies.
- Store: Stores store-related information.
- Staff: Contains employee details.
- Rental: Stores transaction details, including rental date, return date, and rental prices.
- Create StageSakila to store staging tables and DWHSakila to store Dimension (Dim) and Fact tables.
- Load data from Excel files into staging tables.
- Transfer data from staging tables into Dim and Fact tables.
- Establish foreign key relationships between Fact tables and Dim tables.
- Create a Data Source from the DWHSakila database.
- Create a Data Source View.
- Build a cube, adding necessary measures and dimensions.
- Query business-related questions using SSAS, Pivot Table, and Power BI.