I have written a program in java that reads .csv files and stores them into a database table. But the performance of the storing operation is very slow. When I use DB2 Command Line Processor there is a drastic change in performance and it's very fast. So, I am trying to customize DB2 Command Line Processor according to my requirement. I searched on Google but I only found topics for how to use it. I would like to get clear on following subjects before I start.
- Is "DB2 Command Line Processor" open source?
- Which programming language is used?
- Is there alternative like DB2 Command Line Processor with open source-code in java?
- Is there a way to call DB2 Command Line Processor out of a java program?
IMPORT
orLOAD
utility and comparing that with your own application's performance?LOAD
command, you almost certainly won't be able to match its performance. But if you are using theIMPORT
command, @Bruce Martin's suggestion below may help.