MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Row length greater that 10K

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
vani
Beginner


Joined: 28 May 2003
Posts: 51
Topics: 30

PostPosted: Wed Nov 19, 2003 4:55 am    Post subject: Row length greater that 10K Reply with quote

Please find the description of the problem below:

One of the tables being used by our project has a row of length greater than 10k(one of the columns is of size 10k). This required the creation of a tablespace with a 32k bufferpool. But the client side insists on the use of 4k bufferpool .
Now the tables cannot be Normalized any further . One solution is to break up the contents of the 10k column and store them.This is not a decent solution , because of the processing involved in the break up before storage and then the reconstruction during retrieval.This is because the contents of this column is always required in the complete format for any processing to be performed.

Could you please provide me with the other options if available in such situations?
Do write in your opinions on the above issue.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Nov 19, 2003 11:06 am    Post subject: Reply with quote

Vani,

First of all you don't need a 32K buffer pool for your requirement.As such your record length is little over 10k and and you can use a PAGESIZE = 16KB which will be able to store the record.

Another option is to compress the data.You can reduce the space required for a table by using data compression if your system meets the requirements. To find out how much space you can save by compressing your data, run the DSN1COMP utility on your data sets. Message DSN1940I of DSN1COMP reports an estimate of the percentage of kilobytes that would be saved by using data compression.check this link for more information on the DSN1COMP utility.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNUGH12/3.6?DT=20020426135826

IF the compression of the data brings down the length to 8138 then you can go with a pagesize of 8 kb.

Check this link for Calculating the space required for a table

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNAGH11/2.6.2?DT=20010726121552

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group