We used db2 import / export in our application through unix script for daily jobs.
Now we have switched over to Spring batch.
And we are finding that spring batch's performance is better then db2 import / export command in terms of the time taken to load / unload n number of records.
Finding it strange!!
Can anyone please provide reasons for this. Why spring batch performance is better then db2 import / export commands which are written in native language (C ?? ) and thus are supposed to be fast (as far as i know!! )