Hash File lookup query

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
Satheesh_Yama
Participant
Posts: 6
Joined: Thu Jul 13, 2006 4:28 am

Hash File lookup query

Post by Satheesh_Yama »

Hi Dsxians,


I am using three hash files in a job,each having millions of records,i would like to know if i enable preload file into memory option for all the three hash lookups will it cause overflow of memory there by causing job to abort or performance issue.Please let me know ur views.


Thanks
satheesh
Satheesh Y
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

Option "Preload to memory" is best to use when you use the rows in the hashed file more than once i.e. the rows from the primary input find hits in the hashed files on more than one occassion. In your case, IMO don't use that Option if you look up at the values in hashed file only once or very few times, and also as it would also exhaust the memory resources.

IHTH
Kris

Where's the "Any" key?-Homer Simpson
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Actually, all you should "lose" is a little time. No abort or permance issue other than what you've already got with a large hashed file read directly from disk. Checking that option means it will try to cache it into memory and, when it can't, it will note that in the log.

So if you know it will never fit into cache, then best to not check that option so it doesn't spend the time to try.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply