SQL: Querying, Modelling and Running a Database
Exit

Lesson 10 of 14 · PostgreSQL and performance

Indexes and performance: EXPLAIN, B-tree and when to index

1 h Python 3.12 (Debian, git, pip)

Objective

Understand why a query takes three seconds instead of three milliseconds, read the execution plan the DBMS has chosen, and create the right indexes — neither too many nor too few. You will work on an archive of 50,000 sales.

This lesson is part of the full course

Unlock SQL: Querying, Modelling and Running a Database to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.