Re: [EXTERNAL] Re: Performance down with JDBC 42 - Mailing list pgsql-performance

From Jeff Janes
Subject Re: [EXTERNAL] Re: Performance down with JDBC 42
Date
Msg-id CAMkU=1xSq_v1SvUGKpLzHCpvJ6PF3QnmFOx53+2h4zSvj_AFfQ@mail.gmail.com
Whole thread Raw
In response to RE: [EXTERNAL] Re: Performance down with JDBC 42  ("Abraham, Danny" <danny_abraham@bmc.com>)
Responses RE: [EXTERNAL] Re: Performance down with JDBC 42  ("Abraham, Danny" <danny_abraham@bmc.com>)
List pgsql-performance
On Sun, Nov 5, 2023 at 11:20 AM Abraham, Danny <danny_abraham@bmc.com> wrote:
Thanks Laurenz,

Traced two huge plans. They differ.
The fast one does use Materialize and Memoize  (the psql).
Is there something in JDBC 42 that blocks these algoruthms?

Directly blocking those is not likely. Maybe the way the drivers fetch partial results is different, such that with one the planner knows to expect only partial results to be fetched and with the other it does not.  So in one case it chooses the fast-start plan, and in the other it doesn't.  But it will be hard to get anywhere if you just dribble information at us a bit at a time.  Can you come up with a self-contained test case?  Or at least show the entirety of both plans?

Cheers,

Jeff

pgsql-performance by date:

Previous
From: Frits Hoogland
Date:
Subject: Re: [EXTERNAL] Re: Performance down with JDBC 42
Next
From: "Abraham, Danny"
Date:
Subject: RE: [EXTERNAL] Re: Performance down with JDBC 42