TLDR Web Dev · ARTICLES & TUTORIALS

WHEN POSTGRES INDEXING WENT WRONG

blog.bemi.io7 min read

Summary from the TLDR Web Dev newsletter

When a concurrent Postgres index creation silently failed, the app that used the database faced performance degradation, almost leading to a production outage. This failure was exacerbated by the use of partitioned tables, resulting in inconsistent index usage across different partitions. To avoid such issues, monitor concurrent index creation, validate indexes regularly, and create partition indexes consistently.