From: | Joshua Chamberlain <josh(at)zephyri(dot)co> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | CREATE TABLE with parallel workers, 10.0? |
Date: | 2017-02-09 21:56:33 |
Message-ID: | CAFBoRze_YzEcb1T8oZwtzU4ezoVoqT4H-HEq1jaw3=wh0Vq-Lw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello,
I use Postgres + PostGIS quite heavily, and recently have been taking full
advantage of the new parallelism in 9.6. I'm now running queries in a few
hours that used to take more than a day.
However, parallelism is disabled for all queries that perform writes (as
documented). I would normally run "CREATE TABLE AS [some super-expensive
query]", but since that can't use parallelism I'm using the \o option in
psql, creating the table separately, and then \copy-ing in the results.
That works, but "CREATE TABLE AS" would be more convenient.
Are there plans in 10.0 to allow parallelism in queries that write, or at
least in "CREATE TABLE AS" queries?
Thanks,
Joshua Chamberlain
From | Date | Subject | |
---|---|---|---|
Next Message | Christoph Moench-Tegeder | 2017-02-09 22:58:17 | Re: PostgreSQL on eMMC - Corrupt file system |
Previous Message | David O'Mahony | 2017-02-09 20:46:44 | How to troubleshoot "write on backend 0 failed" |