How best to do parallel query given tens of thousands of iteration of a loop of recursive queries?

From: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
To: pgsql-sql <pgsql-sql(at)lists(dot)postgresql(dot)org>
Subject: How best to do parallel query given tens of thousands of iteration of a loop of recursive queries?
Date: 2022-04-10 13:50:32
Message-ID: CA+i5JwYMZ_eUtbdGBX9vg2GQzpTLo9m+bMoW1wniEqVv5sxV-w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

There is a plpgsql script that have a loop to carry out the same recursive
queries.

The estimation of iteration is in the order of tens of thousands.

What is the best way of making using parallel query strategy.

Any examples?

Regards,

David

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Steve Midgley 2022-04-10 16:03:04 Re: How best to do parallel query given tens of thousands of iteration of a loop of recursive queries?
Previous Message Ron 2022-04-08 18:01:23 Re: Long running processes and commit writing to disk