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 > Maximum possible records in a Cursor

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-02-07, 13:32
abhi.ram abhi.ram is offline
Registered User
 
Join Date: Jul 2007
Posts: 3
Question Maximum possible records in a Cursor

HI

We are having a stored proc which uses a cursor to return the records of a table. The table contains 3.5 Million records.

Can I know what is the maximum possible records we can return from a cursor..?

Regards
Abhiram
Reply With Quote
  #2 (permalink)  
Old 12-02-07, 14:21
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
The number of rows is limited by your storage and underlying tables. The manual says you can have 128 *10^10 rows per database partition in a non-partitioned table and the same number of rows in a table partition of a partitioned table per database partition. If you do cross joins, I guess your limiting factors will not be DB2 but rather storage and the speed with which your application can process the rows.

p.s: 3.5 million rows is not a lot and I wouldn't start to worry about it.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #3 (permalink)  
Old 12-03-07, 01:59
fatalerror fatalerror is offline
Registered User
 
Join Date: Nov 2007
Posts: 13
i dont think there is a limit on the number of records but rather see your dba as they are the one who can help u in this regard as they are the pain creaters and pain killers
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