Database Indexes - You Might Be Using Them Wrong

LearnThatStack · Beginner ·📊 Data Analytics & Business Intelligence ·2mo ago
Database indexes can speed up queries but can also silently tank your write performance. We all know indexes make queries faster. But few understand the B-tree structure underneath, why column order in composite indexes matters, or when adding an index makes things worse. This video covers the fundamentals every developer should know. What you'll learn: - How B-trees organize data and why they're so efficient - Why composite index column order changes everything - What covering indexes do and when to use INCLUDE - When indexes hurt performance (write overhead, buffer pool pressure, low cardinality) Timestamps: 0:00 Intro 0:50 What Problem Do Indexes Solve? 2:08 The B-Tree — How Indexes Actually Work 5:40 Composite Indexes and Why Order Is Everything 10:19 Covering Indexes 12:51 When Indexes Hurt 16:47 Practical Advice More Videos : Software Egineering Basics - https://www.youtube.com/playlist?list=PLWP-VtjCVpWyLNBm3zz_sGyC5mVwiAOvj Software Design - https://www.youtube.com/playlist?list=PLWP-VtjCVpWx7kPq30XRN6O6LjVQ4VL95 #database #postgresql #mysql #sqlserver #btree #programming
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

AI Data Analyst Course in Hyderabad | Master AI & Analytics with Quality Thought
Learn to master AI and analytics with a comprehensive data analyst course in Hyderabad
Medium · Programming
Excel untuk Data Analytics: Cara Mudah Mengolah Data untuk Pemula
Learn how to use Excel for data analytics and make sense of the vast amounts of data generated daily
Medium · Data Science
I Tried to Find Out How Close I Am to the CEO of Roblox. The Answer Was Three.
You can calculate your distance to a CEO on social media using graph theory, revealing surprising connectivity
Medium · Data Science
The Dying Symphony of Nature : How climate change silences Cultures, Species, and Nature.
Climate change affects not only species but also cultures and nature, leading to a loss of biodiversity and cultural heritage
Medium · Data Science

Chapters (7)

Intro
0:50 What Problem Do Indexes Solve?
2:08 The B-Tree — How Indexes Actually Work
5:40 Composite Indexes and Why Order Is Everything
10:19 Covering Indexes
12:51 When Indexes Hurt
16:47 Practical Advice
Up next
Build Interactive Sales Dashboards in Excel
Coursera
Watch →