Why Spring’s jdbcTemplate.batchUpdate() so slow?

These parameters in the JDBC connection URL can make a big difference in the speed of batched statements — in my experience, they speed things up:

?useServerPrepStmts=false&rewriteBatchedStatements=true

See: JDBC batch insert performance

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)