| From: | "Andrey V(dot) Lepikhov" <a(dot)lepikhov(at)postgrespro(dot)ru> |
|---|---|
| To: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> |
| Cc: | etsuro(dot)fujita(at)gmail(dot)com, movead(dot)li(at)highgo(dot)ca, pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Asynchronous Append on postgres_fdw nodes. |
| Date: | 2020-06-15 03:51:23 |
| Message-ID: | dc214e8f-96bc-a6c0-19ba-0dffc2051b34@postgrespro.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
The patch has a problem with partitionwise aggregates.
Asynchronous append do not allow the planner to use partial aggregates.
Example you can see in attachment. I can't understand why: costs of
partitionwise join are less.
Initial script and explains of the query with and without the patch you
can see in attachment.
--
Andrey Lepikhov
Postgres Professional
https://postgrespro.com
| Attachment | Content-Type | Size |
|---|---|---|
| frgn2n.sh | application/x-shellscript | 3.4 KB |
| explain_partial_aggregates_problem.txt | text/plain | 6.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2020-06-15 04:14:55 | Re: create database with template doesn't copy database ACL |
| Previous Message | Mark Wong | 2020-06-15 03:45:17 | Re: doc examples for pghandler |