perfomace of lookup

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
Raghava
Participant
Posts: 13
Joined: Tue Jan 24, 2006 1:20 am
Contact:

perfomace of lookup

Post by Raghava »

hi everybody,

for lookup which one is better hashfile or ODBC stage or Oraoci stage? and why?
do we have any unconnected lookup in data stage?
how to handle unconnected lookup logic?

thank you
-----------
Raghava
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Depends on you desing and requirement the stages can be decided.
Datastage doesnt have any unconnected lookup in data stage like Informatica have.
But you can relialise similar performance by populating the hash file and it can be lookep up at multiple places.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Seeing as how hashed files are specifically designed for use as reference lookups, the answer is pretty much always hashed files. There can be specific instances where a database stage can be 'better' but under extremely limited circumstances.

What exactly is the definition of an 'unconnected lookup'? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
kaps
Participant
Posts: 452
Joined: Tue May 10, 2005 12:36 pm

Post by kaps »

Unconnected Lookup is a Tranform in Informatica. I would say it's similar to Routine in DataStage but not exactly the same!

We can have that stage(unconnected lookup) in our mapping or job which will have input columns and output column. We can call this unconnected lookup N times from that job just passing input column values to it and it will return the column which is designated as output column. This caches the table or file in memory when the first call is made which improves the performance.

Connected Lookup is something you need to have N times in the map if you are calling it N times.
Post Reply