Skip to content

Glossary: PostgreSQL Beyond the Basics

Aggregate nodes (HashAggregate, GroupAggregate)

Also written: HashAggregate, GroupAggregate, Partial HashAggregate, Finalize GroupAggregate

Plan steps that do GROUP BY work. HashAggregate collects groups in a hash table, while GroupAggregate needs rows already sorted by the group key.

Where the book teaches it

Related terms

NodeParallel queryGather, worker