From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | zhangh3(at)aetna(dot)com |
Subject: | BUG #16344: json_agg slow performance vs jsonb_agg, truncate table for master table with remote partition |
Date: | 2020-04-05 21:08:08 |
Message-ID: | 16344-edc88bfde0736876@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 16344
Logged by: Hongyan (Heather) Zhang
Email address: zhangh3(at)aetna(dot)com
PostgreSQL version: 12.2
Operating system: PostgreSQL 12.0 on x86_64-pc-linux-gnu, compiled
Description:
json_agg vs jsonb_agg for a partitioned table, I found json_agg
siginificantly slow (6 secs) as jsonb (2mins)
create table aggtab as select id, json_agg(col) from tab group by id
truncate table <master table of 2 partitions, 1 local, another remote>
error: <remote table> is not a table
From | Date | Subject | |
---|---|---|---|
Next Message | PG Bug reporting form | 2020-04-05 21:49:23 | BUG #16345: ts_headline does not find phrase matches correctly |
Previous Message | Tom Lane | 2020-04-05 15:26:36 | Re: BUG #16342: CREATE TABLE LIKE INCLUDING GENERATED column order issue |