gh-47 Fix an issue with JDBC scans
JDBC scans did not instruct the driver to use a specific fetchsize, resulting in most cases in an OOM; add support for setting fetchsize. Also add support for disabling autocommit on the JDBC connections, mostly because Postgres for example doesn't support setting fetchsize without disabling autocommit.
Showing
- jdbc/src/main/conf/db.properties 1 addition, 0 deletionsjdbc/src/main/conf/db.properties
- jdbc/src/main/java/com/yahoo/ycsb/db/JdbcDBClient.java 22 additions, 3 deletionsjdbc/src/main/java/com/yahoo/ycsb/db/JdbcDBClient.java
- jdbc/src/main/java/com/yahoo/ycsb/db/JdbcDBClientConstants.java 7 additions, 1 deletion...rc/main/java/com/yahoo/ycsb/db/JdbcDBClientConstants.java
Please register or sign in to comment