public inbox for [email protected]  
help / color / mirror / Atom feed
From: lakshmi <[email protected]>
To: Mircea Cadariu <[email protected]>
Cc: Hayato Kuroda (Fujitsu) <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Cc: [email protected] <[email protected]>
Cc: Heikki Linnakangas <[email protected]>
Subject: Re: parallel data loading for pgbench -i
Date: Sat, 9 May 2026 13:32:44 +0530
Message-ID: <CAEvyyTgbQWO9aFtAB+T6O_wHpuwnGGbOUp7qzM8Gjt+mBwAXCw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<CAEvyyTj0rEsgcQOQgkARbRPbupHR_mc=TUzHBBLNzd8JByUUTw@mail.gmail.com>
	<[email protected]>
	<OS9PR01MB12149A6CEE200E1A5A88D9F14F563A@OS9PR01MB12149.jpnprd01.prod.outlook.com>
	<CAEvyyTiQqd=rv3XUxc0YEaW-feopksBveZKKjVZNeSVG=GrY+A@mail.gmail.com>
	<TYRPR01MB121560B291DA3CD262CC7A09AF568A@TYRPR01MB12156.jpnprd01.prod.outlook.com>
	<CAEvyyTjPWfvJLn3c_G_zLRffZ3=YqzMYj6c5znaNxpHyZAg3XQ@mail.gmail.com>
	<[email protected]>
	<CAEvyyTircZ-tHgap=J6Aog0CBgXp4Dqx6dHYyK1iqgfoT+8D_A@mail.gmail.com>
	<[email protected]>
	<[email protected]>
	<OS9PR01MB12149E0E2CAAB378D264A35B1F5242@OS9PR01MB12149.jpnprd01.prod.outlook.com>
	<[email protected]>

On Fri, May 8, 2026 at 11:41 PM Mircea Cadariu <[email protected]>
wrote:

> Hi Lakshmi and Hayato,
>
>
> Thanks a lot for your feedback.
>
> Attached for your consideration is v4, in which I address your remarks.
>
Hi Mircea, Hayato,

I tested the v4 patch on 19devel with a few different thread/partition
combinations.

The updated API looks much better now. I verified that:

   - parallel loading works correctly with -j
   - uneven partition distribution (for example 5 partitions with 2
   threads) also works fine
   - serial mode with -j 1 works again as expected

The workers appear to run concurrently, and VACUUM time remains relatively
small in my tests.

Overall, the new approach looks much cleaner and more flexible compared to
the earlier versions.

Thanks again for the update.

Best regards,
Lakshmi


view thread (11+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: parallel data loading for pgbench -i
  In-Reply-To: <CAEvyyTgbQWO9aFtAB+T6O_wHpuwnGGbOUp7qzM8Gjt+mBwAXCw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox