Tagged articles
1 articles
Page 1 of 1
dbaplus Community
dbaplus Community
Aug 6, 2023 · Databases

Why UUIDs Can Hurt PostgreSQL Performance and When to Use Them

This article examines the drawbacks of using UUIDs as primary keys in PostgreSQL—highlighting WAL and index bloat, performance penalties, benchmark comparisons with sequences, and suggests ordered UUID alternatives for better scalability and maintainability.

Index BloatPostgreSQLSequential UUID
0 likes · 9 min read
Why UUIDs Can Hurt PostgreSQL Performance and When to Use Them