If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Extract performance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-03-08, 10:01
yknott yknott is offline
Registered User
 
Join Date: Sep 2008
Posts: 2
Extract performance

I'm looking to extract about 40 Million rows out of a DB2 database. My question has to do with which method will yield the best performance. I can use JDBC to run a select statement via Java. Or I can use the extract command to extract the data in XML. Which choice will be the fastest? Are there any other options available?
Reply With Quote
  #2 (permalink)  
Old 09-03-08, 10:13
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
What do you want to do with the data once it is "extracted"?

Oh, and it may be a good idea to tell us which DB2 version you are using on which platform.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #3 (permalink)  
Old 09-03-08, 10:14
yknott yknott is offline
Registered User
 
Join Date: Sep 2008
Posts: 2
The data is being passed to a 3rd party program. This program has facilities to bring in data via JDBC, but I've found that the extracts take about 6 hours. The other option is to extract via XML, but I'm not sure how fast that will be.

I'm using db2 8.1 on aix
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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