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 2 articles with this tag. Use it when you want entries with a similar editorial angle.

Why SSDs alone cannot determine PostgreSQL random_page_cost

Why SSDs alone cannot determine PostgreSQL random_page_cost

random_page_cost reflects assumptions about page access, including caching. Understand its relationship to seq_page_cost, physical row order, and tablespace overrides before testing a value such as 1.1.

DatabasePostgresql
2026-10-18
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