What I Wish I Knew About Database Indexing That Changed Everything

  Рет қаралды 1,348

Better Backend Software Engineering

Better Backend Software Engineering

Күн бұрын

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

Пікірлер: 3
@algorithm1313
@algorithm1313 Күн бұрын
Ai!!!
Database Indexing for Dumb Developers
15:59
Laith Academy
Рет қаралды 62 М.
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
Spongebob ate Michael Jackson 😱 #meme #spongebob #gmod
00:14
Mr. LoLo
Рет қаралды 11 МЛН
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 11 МЛН
Postgres just got even faster
26:42
Hussein Nasser
Рет қаралды 34 М.
The Problem With Microservices
17:47
Continuous Delivery
Рет қаралды 435 М.
Airflow for Beginners: Build Amazon books ETL Job in 10 mins
13:13
Sunjana in Data
Рет қаралды 8 М.
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
Are You Accidentally Crippling Your EF Core Queries?
17:18
Milan Jovanović
Рет қаралды 27 М.
The Best RAG Technique Yet? Anthropic’s Contextual Retrieval Explained!
16:14
UUID vs INT: What’s Better For Your Primary Key?
9:40
Database Star
Рет қаралды 50 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 463 М.
How do indexes make databases read faster?
23:25
Arpit Bhayani
Рет қаралды 68 М.
Spongebob ate Michael Jackson 😱 #meme #spongebob #gmod
00:14
Mr. LoLo
Рет қаралды 11 МЛН