count-distinct

标签

Cards List
#count-distinct

The DISTINCT in Your COUNT

Hacker News Top ↗ · 2026-08-06 缓存

This article explains why PostgreSQL disables parallel query for count(DISTINCT) aggregates, causing full-table sorts and disk spills, and compares it to the parallel-friendly count(*).

0 人收藏 0 人点赞
← 返回首页

提交意见反馈