I\'m trying to read a table from a sybase server, process the rows, and output the results to another table. (Below is my code)
The code retrieves the table pretty
Add ?rewriteBatchedStatements=true to the end of your JDBC url. It'll give you a serious performance improvement. Note that this is specific to MySql, won't have any effect with any other JDBC drivers.
Eg : jdbc:mysql://server:3306/db_name?rewriteBatchedStatements=true
It improved my performance by more than 15 times