uvconfig 64 bit files

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
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

uvconfig 64 bit files

Post by roy »

Hi All,
Does anyone know of any issues regarding change in uvconfig so hash files are generated with 64 bit instead of 32?
I plan to do it, but was wondering if it might cause problems with working jobs which currently run with the 32 bit hash files configuration.

any advice built on experiance you have doing this is helpfull.

Thanks in advance,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Well, there have been several posts on the subject by the likes of Ray and Ken, who counsel that it is generally Not A Good Idea. This makes all hash files 64 bits, including the internal hashes used by the engine.

That being said, from what I recall it would only affect any new hash files created after the configuration file was changed and the engine regened. It should have no effects on existing 32 bit hash files. Downside? Unnessary overhead, hash files being created as 64 bit that have no need to be. Seems to be best to create just the hash files that need to be that way as 64 bit and leave the rest alone.

As long as you understand how it all works, and it's what you want to do, then... :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 »

Craig summed it up well. Things will not break, if that's what you were concerned with.

However, there is a computational penalty (recall that DataStage is primarily a 32-bit environment, so has to construct 64-bit numbers) as well as a space penalty (there are three or five pointers per record, so that's a 12-byte or 20-byte penalty per record compared to 32-bit hashed files).

Best practice is to leave the uvconfig parameter 64BIT_FILES off, and create 64-bit hashed files explicitly where you need them.

BTW the Hashed File Calculator does take the different internal storage overheads into account when calculating the number of groups.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Thanks guys,
I'll take your advice and go for the need to be 64 bit aproach.
I also poped this question for support so if they come up with some interesting insight, not yet said, I'll post it (as I hope others will do with their posts).

Cheers :) ,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Titto
Participant
Posts: 148
Joined: Tue Jun 21, 2005 7:49 am

Post by Titto »

ray.wurlod wrote:Craig summed it up well. Things will not break, if that's what you were concerned with.

However, there is a computational penalty (recall that DataStage is primarily a 32-bit environment, so has to construct 64-bit numbers) as well as a space penalty (there are three or five pointers per record, so that's a 12-byte or 20-byte penalty per record compared to 32-bit hashed files).

Best practice is to leave the uvconfig parameter 64BIT_FILES off, and create 64-bit hashed files explicitly where you need them.

BTW the Hashed File Calculator does take the different internal storage overheads into account when calculating the number of groups.
any idea how to create 64-bit hash files explicitly for a single DS Job??
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not possible using the Options button in the Hashed File stage.

You need either to create them using the Hashed file stage then RESIZE to 64-bit, or to create them manually as 64-bit. For the latter you can copy the command from the Hashed File Calculator.

<losing battle>
It's HASHED file, not hash file.
</losing battle>
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