EPISODE · Jul 2, 2026 · 8 MIN
Why Database Shuffle Sort Is Killing Your Query Performance
from Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations · host Fexingo
In this episode of Database Tech with Fexingo, Lucas and Luna tackle a common but often overlooked performance killer: shuffle sort in distributed databases. Using a real case from a mid-sized e-commerce company that saw analytic queries slow from 2 seconds to 45 seconds after migrating from Postgres to a distributed SQL system, Lucas explains how shuffle sort works, why it happens even with simple ORDER BY clauses, and how to diagnose it using query execution plans. Luna asks whether denormalization or pre-sorted tables help, and Lucas breaks down when materialized views or bucketing strategies actually work. Specific numbers: the e-commerce company had 12 nodes, 200 GB per node, and queries touching 8 million rows. They cut query time by 70% after redesigning sort keys. No clickbait, just solid database engineering advice. #ShuffleSort #DistributedDatabases #SQLPerformance #QueryOptimization #DataEngineering #Technology #DatabaseTech #FexingoBusiness #BusinessPodcast #Analytics #SortKeys #MaterializedViews #DistributedSQL #ClickHouse #ApacheSpark #Postgres #Ecommerce #QueryExecutionPlan Keep every episode free: buymeacoffee.com/fexingo
Embed this episode
Ready to play
Why Database Shuffle Sort Is Killing Your Query Performance
No transcript for this episode yet
Similar Episodes
Apr 9, 2026 ·12m
Similar Podcasts
No similar podcasts found.