Lookup - How big a reference data is big?

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
Maximus_Jack
Premium Member
Premium Member
Posts: 139
Joined: Fri Apr 11, 2008 1:02 pm

Lookup - How big a reference data is big?

Post by Maximus_Jack »

Hi
One basic question,

I know it is better to use lookup stage when the amount of reference data is
is not huge, but how big is big, based on what the reference data is
considered as big or small, is it based on RAM memory availability or
something else

your response is appreciated

cheers
MJ
singhald
Participant
Posts: 180
Joined: Tue Aug 23, 2005 2:50 am
Location: Bangalore
Contact:

Post by singhald »

if your reference data is small enough to fit into RAM, job throughput will be more
Regards,
Deepak Singhal
Everything is okay in the end. If it's not okay, then it's not the end.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The answer changes based on 32bit v. 64bit architecture. The former has a 2GB limit while the latter does not.
-craig

"You can never have too many knives" -- Logan Nine Fingers
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Post by zulfi123786 »

Also look for user limits defined for heap memory/data size for unix users
- Zulfi
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Post by zulfi123786 »

chulett wrote:The answer changes based on 32bit v. 64bit architecture. The former has a 2GB limit while the latter does not.
Was wondering, what if on a 32bit AIX machine has heap/data limit defined as unlimited, Will it override the 2GB constraint ?
- Zulfi
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Nope. It's a hard-wired limit.
-craig

"You can never have too many knives" -- Logan Nine Fingers
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

I remember changing the AIX system to use large file support. I think Arnd posted what we need to change on AIX, probably ldedit?
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Maximus_Jack
Premium Member
Premium Member
Posts: 139
Joined: Fri Apr 11, 2008 1:02 pm

Post by Maximus_Jack »

two questions

1) So in a 32 bit machine with a heap memory of 2GB, Is it safe to say we
can go for a lookup stage if the reference data is 1.00 GB?

2) So in a 64 Bit machine, where heap memory has no limit ( if i understand
correctly) , what is the safe bet for the limit of reference data if i want to
use lookup stage

cheers
Mj
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Post by zulfi123786 »

Maximus_Jack wrote:1) So in a 32 bit machine with a heap memory of 2GB, Is it safe to say we can go for a lookup stage if the reference data is 1.00 GB?
there are lot many processes running over the server and using up 50% of memory just for one stage is not wise.
Maximus_Jack wrote:2) So in a 64 Bit machine, where heap memory has no limit ( if i understand correctly) , what is the safe bet for the limit of reference data if i want to use lookup stage
These is no standard limit and usually few hundreds of MB should not pose a big problem but again depends on lot of factors.
- Zulfi
Maximus_Jack
Premium Member
Premium Member
Posts: 139
Joined: Fri Apr 11, 2008 1:02 pm

Post by Maximus_Jack »

thanks a lot guy.. very informative
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

zulfi123786 wrote:
Maximus_Jack wrote:1) So in a 32 bit machine with a heap memory of 2GB, Is it safe to say we can go for a lookup stage if the reference data is 1.00 GB?
there are lot many processes running over the server and using up 50% of memory just for one stage is not wise.
Well assuming the server has only 2 GB memory is also not wise :wink: . The limit is 2 GB for a file in memory, not for entire system. Unless the processes are not eating up the entire memory it should be fine.

I do support the second answer though.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Post by zulfi123786 »

priyadarshikunal wrote:
zulfi123786 wrote:
Maximus_Jack wrote:1) So in a 32 bit machine with a heap memory of 2GB, Is it safe to say we can go for a lookup stage if the reference data is 1.00 GB?
there are lot many processes running over the server and using up 50% of memory just for one stage is not wise.
Well assuming the server has only 2 GB memory is also not wise :wink: . The limit is 2 GB for a file in memory, not for entire system. Unless the processes are not eating up the entire memory it should be fine.
Right, The intention was relativity :) . The server that host our Datastage Engine has 32 GB primary memory
- Zulfi
Post Reply