Re: postgres table statistics
Chandy G <vgchandru@yahoo.com>
From: Chandy G <vgchandru@yahoo.com>
To: "pgsql-general@lists.postgresql.org" <pgsql-general@lists.postgresql.org>, Shammat <shammat@gmx.net>
Date: 2024-06-13T07:11:53Z
Lists: pgsql-general
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@gmx.net> 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