64 bit File Size Limit

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
Magesh_bala
Participant
Posts: 86
Joined: Mon Nov 27, 2006 3:42 am
Location: Wilmington

64 bit File Size Limit

Post by Magesh_bala »

Hi,

I know that in a 32 bit we cant write more than 2GB to a file, I want to know what is the 64 bit file size limit?

In my current project I am able to write more than 34 GB to a sequential file and a dataset. I am wondering what is the 64 Bit file size limit?

Regards
N.Magesh
antonyraj.deva
Premium Member
Premium Member
Posts: 138
Joined: Wed Jul 16, 2008 9:51 pm
Location: Kolkata

Re: 64 bit File Size Limit

Post by antonyraj.deva »

Magesh,
Magesh_bala wrote: I know that in a 32 bit we cant write more than 2GB to a file, I want to know what is the 64 bit file size limit?
We can write more than 2 GB in 32 bit also. Infact 32 or 64 bit doesn't decide the maximum file size, but an Environment variable does.

--Tony
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

the number of bits (32 or 64) defines the largest addressable size, so the answer would be 2^^31 for 32 bit systems and 2^^63 for 64 bits systems; thus the answer is 9223372036854775808
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

In other words, way bigger than you need to worry about, I'd wager. :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 »

Most operating systems impose a smaller limit than the theoretical limit, typically 1TB or 9TB.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
nagarjuna
Premium Member
Premium Member
Posts: 533
Joined: Fri Jun 27, 2008 9:11 pm
Location: Chicago

Post by nagarjuna »

Also Check ulimit command to see the limit on the file size .
Nag
Post Reply