News for hackers. Stuff that matters.
Re:Running Awk in parallel to process 256M records by MuffinFlavored on Tuesday June 02, 2020 @06:31PM (#23397227)
> rely on automated query optimization and parallelization from there.

I know you said "automated parallelization" but... in newer versions of Postgres, what does it take to trigger some of the automatic query parallelization?

Re:Running Awk in parallel to process 256M records by tomnipotent on Tuesday June 02, 2020 @07:03PM (#23397562)
> what does it take to trigger some of the automatic query parallelization

Table scans, index scans (b-tree & bitmap only I believe), joins, and aggregations. There may be some limitations with joins, such as hash joins duplicating hashes across processes or merges requiring separate sorts.

Re:Running Awk in parallel to process 256M records by Frost1x on Wednesday June 03, 2020 @12:17AM (#23399622)
Does this work outside of a shared memory environments? I haven't had to fuss with postgres for several years but last time I used it, this was non-trivial.
Re:Running Awk in parallel to process 256M records by tomnipotent on Wednesday June 03, 2020 @01:58PM (#23406501)
Postgres uses separate processes under the hood and thus shared memory to combine results.