Koharu Tech Notes

HomeArticlesCategoriesTags
Next.jsPythonCloudSecurityRubyCpp
Tag

SQL Performance

A tag for finding articles about SQL Performance.

Browse by tag

Browse by tag

There are currently 1 article with this tag. Use it when you want entries with a similar editorial angle.

Why PostgreSQL COUNT(DISTINCT) cannot use parallel aggregation—and how to rewrite it

Why PostgreSQL COUNT(DISTINCT) cannot use parallel aggregation—and how to rewrite it

PostgreSQL cannot use parallel aggregation when an aggregate call contains DISTINCT. Using the primary source’s execution plans and benchmark as the starting point, this article explains a GROUP BY rewrite, NULL semantics, and what to validate with EXPLAIN.

DatabasePostgresql
2026-08-06

About this site

About Koharu Tech Notes

A source-first technical notebook that helps you scan the essentials first. Categories map technical domains, while tags show editorial angles.

Koharu's reading note

Koharu's reading note

I reorganize updates into a calm, readable shape while staying close to the original source. Categories and tags help you continue into nearby topics.

Links

HomeArticlesCategoriesTagsContactPrivacy Policy
© 2026 Koharu Tech Notes