From the course: Designing Highly Scalable and Highly Available SQL Databases
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Solution: Optimize a data model for an analytical queries
From the course: Designing Highly Scalable and Highly Available SQL Databases
Solution: Optimize a data model for an analytical queries
(pleasant pulsing electronic music) - [Instructor] Now, our solution involves a star schema, so we'll have at least one fact table and multiple dimensions. Now, the fact table will contain metrics. Now, here, for example, we might be interested in the duration of interactions. Now, each of the dimensions will contain data on some aspect of the data like whether it's geolocation data or time data, and in particular, we have three different types of locations, so we're going to break those out and each of those should have their own dimension.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Transactional vs. analytical queries5m 41s
-
(Locked)
Indexing for transactional queries10m 11s
-
(Locked)
Materialized views for transactional queries3m 51s
-
(Locked)
Using read replicas to improve query performance2m 55s
-
(Locked)
Understanding write-ahead logging5m 6s
-
(Locked)
Denormalizing for analytical queries4m 18s
-
(Locked)
Aggregation and sampling for analytical queries5m 45s
-
(Locked)
Challenge: Optimize a data model for an analytical queries25s
-
(Locked)
Solution: Optimize a data model for an analytical queries35s
-
(Locked)
-