Maximum Column length of Hashed File

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
DS_SUPPORT
Premium Member
Premium Member
Posts: 232
Joined: Fri Aug 04, 2006 1:20 am
Location: Bangalore

Maximum Column length of Hashed File

Post by DS_SUPPORT »

What will be the maximum value (in length), i can store in Hashed file for a particular column?

I am thinking of storing some appended values in a Hashed File, Something like

Code: Select all

KeyCol               NonKeyCol
k1                 AA|BB|CC|DD|EE
K2                 AA|BB|CC|DD|EE
Here the length of the Non key column will change based upon the number of records in the table. What will be the maximum column length that hashed file can store?? Is there any limitation. In this case what is the column length , i have to set in my Hashed file?
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

What is the maximum that you will expect? Set it to varchar 4000. It should be able to accept that. If thats way, way too much, then set it to varchar 255.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

As long as you're not using the UV/ODBC stage against a Hashed file the metadata doesn't matter. A column can contain megabytes worth of data. Hashed files have no internal structure, thus columns are not data typed or sized. The only column that matters w/r/t size is the key column and that defaults to a 768 character limit.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply