What I Wish I Knew About Database Indexing That Changed Everything
Better Backend Software Engineering Better Backend Software Engineering
61 subscribers
1,605 views
13

 Published On Oct 5, 2024

In this video, we dive into the world of relational databases, focusing on database indexing—a critical tool for optimizing query performance. We’ll cover everything from the basics of what indexing is, to how it works in practice, and guide you on what to index and what to avoid. You'll also learn about composite indexes, best practices for handling pagination, and how to approach index design in your everyday work.

Throughout the video, I'll walk you through real-world examples that will help you apply these concepts directly in your projects. Whether you're looking to speed up queries, avoid common indexing pitfalls, or master more advanced indexing strategies, this video is packed with insights!

Make sure to follow me for more content like this, and stay tuned for a full course on backend software engineering soon!

______________
Some more specific outline of things you'll learn in this video:
How do B-Tree works. How are they used in a database.
Binary tree vs balance tree
How do indexes really work in practice
Index cardinality and how to know what to index or not based on cardinality
The classic trap of "database can magically combine indexes"
Indexing strategies with composite indexes (aka multi-field indexing)
Paginate your queries like a pro - the classical trap people fall on with queries
Indexing dates and other comparable columns
How too many fields in an index can be completely counterproductive
Why order in indexes matter
Practically when and how much to focus on designing indexes, to make sure you're not wasting your precious engineering time in overengineering


______________
#databaseindexing #sqlperformance #optimizequeries #databaseoptimization #sqltips #backenddevelopment #indexingbestpractices #queryoptimization #sqlindexing #fasterqueries #compositeindexes #databasedesign #queryperformance #databasemanagement #relationaldatabase #sqlindex #indexingtips #backendengineering #databaseperformance #learnsql #improvedatabaseperformance #paginationindexing #dboptimization #rdbmsindexing #indexingstrategies #sqltuning #advancedindexing #codingtips #databasequeries #databasetutorial #developerlife

show more

Share/Embed