00 /What You Will Learn
By the end you will be able to
- Read an
EXPLAIN (ANALYZE, BUFFERS)plan: the scan type, blocks touched and time. - Say what a Seq Scan, Index Scan, Bitmap Heap Scan and Index Only Scan are.
- Explain why column order matters in a composite index.
- Explain a covering index and why VACUUM affects an Index Only Scan.
- Explain a partial index, and the write cost of every index.
Before you start
Finish Lab 04 (SQL Basics with PostgreSQL) first. You should be able to read a SELECT ... WHERE ... ORDER BY ... LIMIT. Docker Desktop must be running.