Indexes & Query Plans

Indexes & Query Plans

Why the query is slow, specifically
Free
5h · 5 lessons
Overview

Relational modelling, indexes, transactions, the NoSQL families and what each one is actually for, then replication and sharding. More interviews are lost on the storage layer than on any other part of the diagram.

This module is 02.2 of the 6 in Data Storage & Retrieval. It runs about 5 hours across 5 lessons, and closes with Seek — Eight slow queries, one index budget. Spend it where it changes the plan, not where it looks obvious.

Lessons
1. B-trees, and what an index really is

Concept · 40 minutes

2. Composite indexes and column order

Concept · 35 minutes

3. Covering indexes and index-only scans

Concept · 30 minutes

4. LSM trees and write-optimized storage

Concept · 40 minutes

5. Read a query plan and fix the scan

Lab · 60 minutes

Module information
Duration
5 hours
Lessons
5
Level
Beginner
Track
Data Storage & Retrieval
Drill
Seek
Price
Free

Related modules

Transactions & Isolation
5 hours
5 lessons
Beginner
Transactions & Isolation
Free
02.3
NoSQL & Choosing a Data Model
5 hours
6 lessons
Beginner
NoSQL & Choosing a Data Model
Free
02.4
Replication
5 hours
5 lessons
Beginner
Replication
Free
02.5
Partitioning & Sharding
5 hours
5 lessons
Beginner
Partitioning & Sharding
Free
02.6