Fork me on GitHub
#sql
<
2021-10-15
>
pyr13:10:14

I moved exoscale/seql to latest next.jdbc and honeysql, thanks for the great work @seancorfield, a lot of further simplification are now possible

👍 1
dpsutton15:10:39

anyone have good ideas about how to configure a statement/ResultSet's fetchSize? Good heuristics for a single decent value?

dharrigan16:10:02

Interestingly enough, I was reading something about psycopg the other day. Their default is 2000 rows...

dharrigan16:10:12

the default value of 2000 allows to fetch about 100KB per roundtrip assuming records of 10-20 columns of mixed number and strings; you may decrease this value if you are dealing with huge records

dharrigan16:10:33

I would experiment, start with something similar and go up/down from there

dharrigan16:10:30

In one of my applications, I had a fetchSize of 5000.