Thanks Shammat! Seems to fit the bill, Will give it a try.
On Wednesday, 12 June, 2024 at 07:44:27 am GMT-7, Shammat <shammat@xxxxxxx> wrote:
Chandy G schrieb am 12.06.2024 um 09:47:
> Eventhough pg jdbc driver provides a way to set fetch size to tune
> the driver to achieve better throughput, the JVM fails at the driver
> level when records of large size (say 200mb each) flows through.
> this forces to reduce the fetch size (if were to operate at a fixed
> Xmx setting of client jvm).
Did you try the driver's "adaptive fetch" feature?
https://jdbc.postgresql.org/documentation/use/#connection-parameters