Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Enhancing performance of excel jdbc: odbc driver
We are having a problem of performance while populating
data from relational db to excel.. a) The high level steps are i. We are sending a request to the database and getting the result in the form of an ArrayList of beans. ii.After getting the arraylist, we iterate the list and insert beans one at a time in the excel sheet. Thus for each iteration a query-string is made and executed. b) In excel population we have first made a jdbc:odbc connection. Then we write a querystring as: "UPDATE [<sheet-name] SET <column-name = <column-value , ..... WHERE <counter"; After this we are excuting the queryString. c) The driver we are using is: "jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)}; " d) We are using Excel 2000. e) The number of records we have to insert are aroung 300. The time taken for this insertion is app. 23 seconds. f) The number of columns we are updating are around 200. We are finding the bottleneck is the excel updation. Is there someway we can improve the number of rows inserted per-second? Regards Mohan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel ODBC driver created table/data not persistent | Excel Discussion (Misc queries) | |||
64 bit ODBC driver for Excel (Server 2008) | Excel Discussion (Misc queries) | |||
Free XML ODBC driver for EXCEL | Excel Discussion (Misc queries) | |||
xl odbc driver, Excel 2003 | Setting up and Configuration of Excel | |||
[ODBC Excel Driver] Too few parameters. Expected 1. | Excel Programming |