difference betn hash file-dataset

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
helpmeout
Participant
Posts: 23
Joined: Thu Nov 02, 2006 2:31 pm

difference betn hash file-dataset

Post by helpmeout »

Hi All..
Can somebody tell me what is difference between hash file and data set and how it works in datastage..
thnks..
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

A hash file is a file for shaping a block of hash. I assume you mean hashed file, which is a mechanism for storing data that demonstrates extremely fast key-based access. These work only in server jobs. Data Sets store partitioned data in parallel job internal format, preserving the sorting and partitioning information. These work only in parallel jobs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

In what aspect you are looking for?
As mentioned
hashed file - server jobs
Dataset - PX jobs.
Data are stored in Datastage internal formate in Dataset. Data are hashed based on the key specified in Hashed file.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
trobinson
Participant
Posts: 208
Joined: Thu Apr 11, 2002 6:02 am
Location: Saint Louis
Contact:

Post by trobinson »

To correct Ray, I believe he meant a frozen block of hash.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So says the voice of experience. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If you have a coarse enough hash file... (ok, yeah, so it crumbles).
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