Hi, my first topic, so I hope I put it in the right section .
I'm trying to import some data(8 columns, 30k rows) from Excel(xls) file to a db2(iSeries) table trough Access97(uses odbc connection).
The server is located in another country and it looks like the connection is a bit slow.
For 30k rows it takes about an hour to transfer
The problem is transferring the data through from my pc to the server.
Is there a way to speed things up a bit?
Some kind of bulk insert?
This is what I tried so far:
First I tried to import the data directly from xls, looping through rows and inserting data into the table, that is linked in access, row by row. That was slow
Then I looped again through the data and inserting it to a local table, then insert the entire local table to the "real" linked table.
Then I removed the looping and import the data using transferSpreadSheat method and then insert the local table to the real one.
But if I look at the server jobs, I can still see that it inserts row by row.(THAT IS THE REAL PROBLEM)
Now Im trying to transfer all the data to a local table and then copy the entire table to the server using "TransferDatabase acExport", and it works a bit faster, but I ran into all kind of problems, it copies the table "name", with "" that db2 doesnt recognize, and some other problems, so not the best solution.
Any help apriciated.
I'm trying to import some data(8 columns, 30k rows) from Excel(xls) file to a db2(iSeries) table trough Access97(uses odbc connection).
The server is located in another country and it looks like the connection is a bit slow.
For 30k rows it takes about an hour to transfer
The problem is transferring the data through from my pc to the server.
Is there a way to speed things up a bit?
Some kind of bulk insert?
This is what I tried so far:
First I tried to import the data directly from xls, looping through rows and inserting data into the table, that is linked in access, row by row. That was slow
Then I looped again through the data and inserting it to a local table, then insert the entire local table to the "real" linked table.
Then I removed the looping and import the data using transferSpreadSheat method and then insert the local table to the real one.
But if I look at the server jobs, I can still see that it inserts row by row.(THAT IS THE REAL PROBLEM)
Now Im trying to transfer all the data to a local table and then copy the entire table to the server using "TransferDatabase acExport", and it works a bit faster, but I ran into all kind of problems, it copies the table "name", with "" that db2 doesnt recognize, and some other problems, so not the best solution.
Any help apriciated.