select-distinct

Tag

Cards List
#select-distinct

Postgres SELECT DISTINCT Does Not Scale

Hacker News Top ↗ · 2026-09-24 Cached

The article explains that PostgreSQL's SELECT DISTINCT clause does not scale efficiently, as it always scans all matching rows, leading to performance problems in certain workloads, and provides insights and workarounds.

0 favorites 0 likes
← Back to home

Submit Feedback