Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel ODBC driver created table/data not persistent Farid Z Excel Discussion (Misc queries) 2 May 19th 10 05:14 PM
64 bit ODBC driver for Excel (Server 2008) NicAC Excel Discussion (Misc queries) 0 October 28th 09 11:34 AM
Free XML ODBC driver for EXCEL Pete Jones Excel Discussion (Misc queries) 0 March 28th 08 03:42 PM
xl odbc driver, Excel 2003 johnny_2005 Setting up and Configuration of Excel 0 February 15th 05 10:08 PM
[ODBC Excel Driver] Too few parameters. Expected 1. Dave - A1 Excel Programming 0 September 4th 03 03:56 PM


All times are GMT +1. The time now is 03:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"