EPISODE · Jun 11, 2026 · 9 MIN
Why Database Partition Pruning Fails Without Careful Design
from Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations · host Fexingo
Episode 44 of Database Tech with Fexingo: Lucas and Luna dig into a subtle performance killer in partitioned databases — partition pruning that silently doesn't prune. They walk through how a real-world e-commerce system ran full-table scans on 200 partitions because the WHERE clause used a function-wrapped partition key. They explain how databases like PostgreSQL and MySQL handle partition elimination, why DATE() on a timestamp column defeats it, and the one index trick that can backfire. Listeners learn how to audit their own queries for accidental full scans, and why a seemingly clean schema can hide a 100x performance gap. This episode is for engineers who think their partitioned tables are fast — but haven't checked the query plan lately. #DatabasePartitioning #PartitionPruning #SQLPerformance #QueryOptimization #PostgreSQL #MySQL #DatabaseDesign #TechPodcast #DatabaseTechWithFexingo #DataEngineering #PerformanceTuning #Indexing #DatabaseInternals #FexingoBusiness #BusinessPodcast #Technology #SoftwareEngineering #BackendDev Keep every episode free: buymeacoffee.com/fexingo
What this episode covers
Episode 44 of Database Tech with Fexingo: Lucas and Luna dig into a subtle performance killer in partitioned databases — partition pruning that silently doesn't prune. They walk through how a real-world e-commerce system ran full-table scans on 200 partitions because the WHERE clause used a function-wrapped partition key. They explain how databases like PostgreSQL and MySQL handle partition elimination, why DATE() on a timestamp column defeats it, and the one index trick that can backfire. Listeners learn how to audit their own queries for accidental full scans, and why a seemingly clean schema can hide a 100x performance gap. This episode is for engineers who think their partitioned tables are fast — but haven't checked the query plan lately. #DatabasePartitioning #PartitionPruning #SQLPerformance #QueryOptimization #PostgreSQL #MySQL #DatabaseDesign #TechPodcast #DatabaseTechWithFexingo #DataEngineering #PerformanceTuning #Indexing #DatabaseInternals #FexingoBusiness #BusinessPodcast #Technology #SoftwareEngineering #BackendDev Keep every episode free: buymeacoffee.com/fexingo
NOW PLAYING
Why Database Partition Pruning Fails Without Careful Design
No transcript for this episode yet
Similar Episodes
Mar 26, 2026 ·1m
Mar 19, 2026 ·34m
Feb 18, 2026 ·11m
Feb 11, 2026 ·45m