POSETTE: An Event for Postgres 2026 will happen virtually Jun 16-18, 2026. Call for Speakers is open! 🔔
Everybody counts, but not always quickly. This article is a close look into how PostgreSQL optimizes counting. If you know the tricks there are ways to count rows orders of magnitude faster than you do already.
The problem is actually underdescribed...
Keep reading