I'm running some quite large and expensive queries. After reading a bit on parallel queries, I upgraded my postgres database to 10.4 (fromer was 9.5) and am now able to make use of parallel workers.
The queries I normally run make use of either CREATE TABLE AS
or INSERT INTO
, because I want to run further queries on the computed results. Now it seems that neither of those components is supporting parallel workers.
I got the hint that I can use \o to output the querie result into a file, then insert the file into my database.
Are there any better options than this?
Kind regards