You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we are suffereing from hight ClientWaits and one thing we would like to try is to make the fetch size bigger when we receive many results from the query. I cannot find anything related to this in the docs or the code (to be honest I have to dig deeper yet), is there any way to play with this value?
Can you send a link to what you mean by fetch size? Also, do you have a way
to replicate this is a local environment? I plan on doing research
here...but for now can you try setting ‘PG_FAST_CONNECTION=true’
environment variable? This turns on an experimental different parser i
intend to use after i release the 8.0 release in a week or two.
On Tue, Feb 4, 2020 at 1:49 PM Germán Lena ***@***.***> wrote:
Hi, we are suffereing from hight ClientWaits and one thing we would like
to try is to make the fetch size bigger when we receive many results from
the query. I cannot find anything related to this in the docs or the code
(to be honest I have to dig deeper yet), is there any way to play with this
value?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2097?email_source=notifications&email_token=AAAMHIKOVSUZ4K4H3GRILOLRBG2B3A5CNFSM4KP4ATR2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IK7RSKQ>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAMHILVF24KLI3TTY3WPMLRBG2B3ANCNFSM4KP4ATRQ>
.
K well please keep me posted. Like I mentioned earlier Im going to look at
some pretty substantial perf work next month. Any findings you come up with
and can share with me will be valuable.
On Tue, Feb 4, 2020 at 3:07 PM Germán Lena ***@***.***> wrote:
I am talking about the analogous to this JDBC configuration. At this point
we are running out of ideas and experimenting with a setting as such will
help us to tune or discard the hypothesis
***@***.***/oracle-postgres-jdbc-fetch-size-3012d494712
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2097?email_source=notifications&email_token=AAAMHIMFHFRGIFSB77KXDDLRBHDJFA5CNFSM4KP4ATR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKZAH3A#issuecomment-582091756>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAMHIPC5QOWAW6KGOSGYADRBHDJFANCNFSM4KP4ATRQ>
.
I have being playing with this and works as expected (probably is worth documenting). PG will split the results into batches of x rows which helps avoiding flooding the consumer on large result-sets (or unbounded queries). It is not helping our particular case as we were under the assumption that by default it will use a small batch (as the java driver does) but turns out it just gets everything from one transfer.
I could not test fast-connection yet, what is the current status? is it production ready or you are still polishing out?
Activity
brianc commentedon Feb 4, 2020
glena commentedon Feb 4, 2020
I am talking about the analogous to this JDBC configuration. At this point we are running out of ideas and experimenting with a setting as such will help us to tune or discard the hypothesis
https://medium.com/@FranckPachot/oracle-postgres-jdbc-fetch-size-3012d494712
brianc commentedon Feb 4, 2020
glena commentedon Feb 7, 2020
I have being playing with this and works as expected (probably is worth documenting). PG will split the results into batches of x rows which helps avoiding flooding the consumer on large result-sets (or unbounded queries). It is not helping our particular case as we were under the assumption that by default it will use a small batch (as the java driver does) but turns out it just gets everything from one transfer.
I could not test fast-connection yet, what is the current status? is it production ready or you are still polishing out?
what is the main differences between both?
Thank you!
siddhsql commentedon May 6, 2023
ping. same question here. does this library have anything analogous to jdbc setfetchsize? ref: https://stackoverflow.com/questions/1318354/what-does-statement-setfetchsizensize-method-really-do-in-sql-server-jdbc-driv
proddata commentedon May 8, 2023
You can use a Cursor which afaik is eqv: https://node-postgres.com/apis/cursor
JDBC Fetch Size afaik also uses the extended queries and server side cursors/portals:
https://www.postgresql.org/docs/current/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY
brianc commentedon May 8, 2023