Large ResultSet on postgresql query

前端 未结 4 1693
难免孤独
难免孤独 2021-01-05 23:57

I\'m running a query against a table in a postgresql database. The database is on a remote machine. The table has around 30 sub-tables using postgresql partitioning capabili

4条回答
  •  Happy的楠姐
    2021-01-06 01:00

    The fetchSize property worked as described at postgres manual.

    My mistake was that I was setting auto commit = false to a connection from a connection pool that was not the connection being used by the prepared statement.

    Thanks for all the feedback.

提交回复
热议问题