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 > Whats the max size

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-12-04, 01:17
proscons proscons is offline
Registered User
 
Join Date: May 2004
Posts: 1
Question Whats the max size

Hi,
My organization is using IBM DB2 Ver. 7.2. We had designed a table with 26 fields out of which 10 are CLOB of 40000 chars! I want to know that is it recommended to have such a large table structure or is there any size limitation? May i know whether i may face any difficulty while storing data in large number in this huge table? The table may contain several rows as this is the major transaction table.
Waiting for response from the forum.
Regards
Prosenjeet
Reply With Quote
  #2 (permalink)  
Old 05-13-04, 04:46
RKrick RKrick is offline
Registered User
 
Join Date: Feb 2002
Location: Germany
Posts: 141
I don't think there's a thumb rule for this.
Give a look at the administration guide (DB2 Information Center, Concepts, Administration, Databases) on the page "Large object (LOB) column considerations". You'll find some good hints.
You said, this is a "transactional table", so, you're going to update it frequently. If the LOB fields are relativ stable (do not change as frequently as the other fields), I would thing about creating a second table with a relationship 1 x 1 (the first table having the 16 fields and the second a primary key as the first plus the 10 LOB fields). Of course, you'll have some overhead on your code (for read only access you could create a view with a join from both tables).
Consider also using DMS tablespaces.

I'm just brainstorming... the usual disclaimers apply ;-)

HTH
__________________
Rodney Krick
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