Archive Database Step 11: Measure, Then Index

Take the three queries you run most often against your schema and get the plan for each. Write down which do a SCAN and on which table. Add the indexes you believe will help, one at a time, and get the plan again after each. Record which ones actually changed the plan and which did not, and remove the indexes that made no difference. An index that changed nothing is pure cost, and being willing to delete it is the part of this that most people skip.

SANKOFA SANDBOX
loading editor…
Your turn → Work through it step by step. This is a piece of the course project, not a throwaway exercise.

Built it in both languages?

Mark it done once your Python and JavaScript versions both run correctly. Honesty here is what makes the dashboard useful to you.

← BackNext: Module 12: Where the ORM Leaks →