From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | "Imseih (AWS), Sami" <simseih(at)amazon(dot)com> |
Cc: | Sami Imseih <samimseih(at)gmail(dot)com>, Alexander Lakhin <exclusion(at)gmail(dot)com>, jian he <jian(dot)universality(at)gmail(dot)com>, Anthonin Bonnefoy <anthonin(dot)bonnefoy(at)datadoghq(dot)com>, Andrei Lepikhov <lepihov(at)gmail(dot)com>, kaido vaikla <kaido(dot)vaikla(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: query_id, pg_stat_activity, extended query protocol |
Date: | 2024-09-26 23:17:53 |
Message-ID: | ZvXroRl0id_lyy1O@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Sep 26, 2024 at 10:55:37PM +0000, Imseih (AWS), Sami wrote:
> Sorry about my last reply. Not sure what happened with my email client.
> Here it is again.
No worries.
> glad to see the asserts are working as expected ad finding these issues.
> I took a look at the patch and tested it. It looks good. My only concern
> is the stability of using min_parallel_table_scan_size = 0. Will it always
> guarantee parallel workers? Can we print some debugging that proves
> a parallel worker was spun up?
>
> Something like this I get with DEBUG1
>
> DEBUG: building index "btree_test_expr_idx" on table "btree_test_expr" with request for 1 parallel workers
>
> What do you think?
I am not sure. The GUCs pretty much enforce this behavior and I doubt
that these are going to break moving on. Of course they would, but we
are usually careful enough about that as long as it is possible to
grep for them. For example see the BRIN case in pageinspect.
The usual method for output that we use to confirm parallelism would
be EXPLAIN. Perhaps a potential target for CREATE INDEX now that it
supports more modes? I don't know if that's worth it, just throwing
one idea in the bucket of ideas.
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Masahiko Sawada | 2024-09-27 00:03:14 | Re: Pgoutput not capturing the generated columns |
Previous Message | Imseih (AWS), Sami | 2024-09-26 22:55:37 | Re: query_id, pg_stat_activity, extended query protocol |