/plushcap/analysis/airbyte/postgresql-query-plans-for-aggregating-data

PostgreSQL Query Plans for Aggregating Data

What's this blog post about?

This text discusses data aggregation operations in databases, including grouping rows by a certain column, calculating sums, maximum or minimum values of a column, and selecting distinct values of a column. It explains the use-cases of different aggregation nodes such as Aggregate, HashAggregate, GroupAggregate, Unique, and how they are used in query plans. The text also covers parallelized aggregation nodes and their role in handling large datasets. Various examples are provided to illustrate these concepts using a flight tickets mid-sized database.

Company
Airbyte

Date published
May 31, 2024

Author(s)
Arun Nanda

Word count
3287

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.