Regarding Hash 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
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

Regarding Hash file

Post by vijaykumar »

Hi Gurus,
The default size of hash file is 2 Gb. Can we increase the default size. If so can anyone specify the steps the default size.

cheers;
Vijay
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

You need use a 64 bit hashed file to store more than 2 GB of data.
Either create a new 64 bit hashed file or resize the existing 32 bit to a 64 bit one.
If you do a search you will get a lot of examples on how to achieve this.
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It is very much better practice to question why you might need to go anywhere near this size. Only populate that hashed file (note, not "hash" file) with those columns that are absolutely necessary, and only populate the hashed file with those rows that are absolutely necessary.

If I may indulge in a small piece of pedantry, it's the default maximum size of a hashed file that is 2GB. The default size of a newly-created hashed file in DataStage is 6KB (which includes two headers and 2KB of available data storage).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply