EPISODE · May 30, 2026 · 8 MIN
Why Database Materialized Views Fail Without Refresh Strategies
from Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations · host Fexingo
Episode 20 of Database Tech with Fexingo digs into a specific performance trap: materialized views that look like a silver bullet for slow queries but quietly rot without a proper refresh strategy. Lucas and Luna walk through a real example — a mid-market e-commerce company that used a materialized view to speed up its daily sales dashboard. The view ran fine for six weeks, then queries started timing out. The culprit? The refresh job was a full rebuild every night, locking the underlying tables for 20 minutes during peak browsing hours. The hosts break down the difference between full refresh and incremental refresh, why PostgreSQL's materialized views still lack incremental support natively, and how one engineer at that company solved it using a hybrid approach with triggers and a fast-refresh materialized view on a read replica. No fluff, just the math: rebuilds that took 20 minutes got cut to 90 seconds. #MaterializedViews #DatabasePerformance #DataEngineering #PostgreSQL #SQL #QueryOptimization #RefreshStrategy #IncrementalRefresh #FullRefresh #DatabaseLatency #BIReports #DashboardPerformance #ReadReplica #Tech #DatabaseTechWithFexingo #FexingoBusiness #BusinessPodcast #DataInfrastructure Keep every episode free: buymeacoffee.com/fexingo
What this episode covers
Episode 20 of Database Tech with Fexingo digs into a specific performance trap: materialized views that look like a silver bullet for slow queries but quietly rot without a proper refresh strategy. Lucas and Luna walk through a real example — a mid-market e-commerce company that used a materialized view to speed up its daily sales dashboard. The view ran fine for six weeks, then queries started timing out. The culprit? The refresh job was a full rebuild every night, locking the underlying tables for 20 minutes during peak browsing hours. The hosts break down the difference between full refresh and incremental refresh, why PostgreSQL's materialized views still lack incremental support natively, and how one engineer at that company solved it using a hybrid approach with triggers and a fast-refresh materialized view on a read replica. No fluff, just the math: rebuilds that took 20 minutes got cut to 90 seconds. #MaterializedViews #DatabasePerformance #DataEngineering #PostgreSQL #SQL #QueryOptimization #RefreshStrategy #IncrementalRefresh #FullRefresh #DatabaseLatency #BIReports #DashboardPerformance #ReadReplica #Tech #DatabaseTechWithFexingo #FexingoBusiness #BusinessPodcast #DataInfrastructure Keep every episode free: buymeacoffee.com/fexingo
NOW PLAYING
Why Database Materialized Views Fail Without Refresh Strategies
No transcript for this episode yet
Similar Episodes
Mar 26, 2026 ·1m
Mar 19, 2026 ·34m
Feb 18, 2026 ·11m
Feb 11, 2026 ·45m