Aggregations
Transactions
Indexes
Integrating with APIs
Integration Testing
Practice
Assignment
Back end Track
Under construction
<aside>
🚧
This page is currently under construction. Please check back later.
</aside>
Implementation plan:
- What is an index — analogy to a book index
- How indexes speed up reads
- Creating an index:
CREATE INDEX
- Single column vs composite indexes
- When to create indexes: frequently queried columns, foreign keys
- The cost of indexes: slower writes, storage overhead
EXPLAIN / EXPLAIN ANALYZE — seeing query plans (brief)
- Exercise: add indexes and observe query performance
The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0

*https://hackyourfuture.net/*
Found a mistake or have a suggestion? Let us know in the feedback form.