pgjdbc/pgjdbc GitHub issues and pull requests (mirror)
help / color / mirror / Atom feedFrom: mipo256 (@mipo256) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: [pgjdbc/pgjdbc] issue #3694: Enable reWriteBatchedInserts by default
Date: Sun, 29 Jun 2025 14:17:55 +0000
Message-ID: <[email protected]> (raw)
In general, enabling the `reWriteBatchedInserts` comes with significant performance improvements over sending multiple `SimpleQuery` queries.
I do not see any reason [to keep it disabled by default](https://github.com/pgjdbc/pgjdbc/blob/master/pgjdbc/src/main/java/org/postgresql/PGProperty.java#L59...).
Although, from the JDBC API user's point of view, this change does not seem to be breaking, the thing to keep in mind here is that the tooling in-between driver/backend (such as PgBouncer for instance) needs to be able to suport it. Best to my knowledge, PgBouncer does not have any limitation in here.
In any case, I'll leave this issue as a placeholder for the further discussion on this topic.
view thread (2+ messages) latest in thread
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: github://pgjdbc/pgjdbc
Cc: [email protected], [email protected]
Subject: Re: [pgjdbc/pgjdbc] issue #3694: Enable reWriteBatchedInserts by default
In-Reply-To: <<[email protected]>>
* 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