Case File: The Slow Report
The monthly report takes minutes to run because every question reads every parcel. In a real SQLite database in this page, make the two queries that people run all day use indexes, prove it with the query plan (SEARCH using an index instead of SCAN), and keep the report views correct: the top three customers and the late parcels by city. Learn what an index is, what a composite index helps and what it does not, and what it costs. The database is generated for you alone.
Case File: The Slow Report
The monthly report takes minutes to run because every question reads every parcel. In a real SQLite database in this page, make the two queries that people run all day use indexes, prove it with the query plan (SEARCH using an index instead of SCAN), and keep the report views correct: the top three customers and the late parcels by city. Learn what an index is, what a composite index helps and what it does not, and what it costs. The database is generated for you alone.
In this lesson:
- sql
- sqlite
- index
- explain query plan
- performance
- composite index
- finale
- case-file
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans