Lesson 3 of 3Module 1 · 0% of course
Explore › CS, Python & AI Engineering › SQL & APIs › Talking to data
SQL & APIs · Talking to data

Indexes & query plans

Why some queries take 2 ms and others 2 minutes: B-tree indexes, reading EXPLAIN plans, and the trade-offs of adding indexes.

25 min · 7 steps · videoJump to quiz ↓
F2023 #08 - B+Tree Indexes (CMU Intro to Database Systems) CMU Database Group · 30 min
Open in YouTube
Step 1 of 7 · Overview25 min read ·
Key idea
Prereqs: SELECT & JOIN, GROUP BY. Next: HTTP APIs & JSON. CMU 15-445 Lecture 8 (B+Trees), condensed.
Next: 1. Without an index: full scan
‹ PrevNext ›