2gb ZODB size limit
Is this true on windows too? I saw some mention of this limit be lifted, but if so, in what version?
Yes, you will hit this limit. Windows uses a 32 bit integer for file size... No matter what MS says, Ive hit it on Win2k. -- Andy McKay. ----- Original Message ----- From: "Tim McLaughlin" <tim@BCSWebservices.net> To: <zope-dev@zope.org> Sent: Thursday, February 15, 2001 1:13 PM Subject: [Zope-dev] 2gb ZODB size limit
Is this true on windows too? I saw some mention of this limit be lifted, but if so, in what version?
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Andy McKay] | Yes, you will hit this limit. Windows uses a 32 bit integer for file size... | No matter what MS says, Ive hit it on Win2k. Interesting. Are you sure the problem lies with Win2K and not Python or something else? Cheers, Morten
Windows, according to Trent Mick a Developer here at ActiveState who added in some large file support for Python platforms for python 2.0 (and has looked at this in detail). I heard a rumour Solaris does not have this problem. -- Andy McKay. ----- Original Message ----- From: "Morten W. Petersen" <morten@esol.no> To: "Andy McKay" <andym@activestate.com> Cc: "Tim McLaughlin" <tim@BCSWebservices.net>; <zope-dev@zope.org> Sent: Thursday, February 15, 2001 2:30 PM Subject: Re: [Zope-dev] 2gb ZODB size limit
[Andy McKay]
| Yes, you will hit this limit. Windows uses a 32 bit integer for file size... | No matter what MS says, Ive hit it on Win2k.
Interesting. Are you sure the problem lies with Win2K and not Python or something else?
Cheers,
Morten
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Tim McLaughlin] | Is this true on windows too? I saw some mention of this limit be lifted, | but if so, in what version? It's not a problem on Windows, AFAIK. It's a problem with Linux, if you want to be able to use databases > 2GB in size on Linux, a kernel >= 2.4.0 is required. Hope this helps, Morten
[Morten W. Petersen] | It's a problem with Linux, if you want to be able to use databases > | 2GB in size on Linux, a kernel >= 2.4.0 is required. Nope. First, the limit is at file-level, not database-level (mind you, a problem with the filesystem, not Linux per se). You can have tons and tons of files, but noone of those can be over 2GB. Secondly, this is only true for the ext2 (and «lesser» filesystems). ReiserFS does not have this limitation and I've heard that is supposed to be shipped «batteries included» come 2.4.1.
[Erik Enge] | [Morten W. Petersen] | | | It's a problem with Linux, if you want to be able to use databases > | | 2GB in size on Linux, a kernel >= 2.4.0 is required. | | Nope. First, the limit is at file-level, not database-level (mind | you, a problem with the filesystem, not Linux per se). You can have | tons and tons of files, but noone of those can be over 2GB. FileStorage type database was implicit, as we're discussing ZODB, and that's one file per database. | Secondly, this is only true for the ext2 (and «lesser» filesystems). | ReiserFS does not have this limitation and I've heard that is supposed | to be shipped «batteries included» come 2.4.1. Sorry? Didn't I say kernel version 2.4.0 or greater? The 2GB problem (in ext2) is fixed there you know. ..and a side note for ReiserFS, I've had it mess up a filesystem completely, so much for 1 second recovery after a crash. ;-) BTW, there is a list called zope-zodb@zope.org, for ZODB specific questions. Cheers, Morten
FileStorage type database was implicit, as we're discussing ZODB, and that's one file per database.
Not necessarily ;-) http://www.zope.org/Members/hathawsh/PartitionedFileStorage ...thanks Shane! *grinz* Chris
[Morten W. Petersen] | BTW, there is a list called zope-zodb@zope.org, for ZODB specific | questions. Actually, I think its called ZODB-Dev; zodb-dev@zope.org.
[Erik Enge] | [Morten W. Petersen] | | | BTW, there is a list called zope-zodb@zope.org, for ZODB specific | | questions. | | Actually, I think its called ZODB-Dev; zodb-dev@zope.org. I stand corrected. Cheers, Morten
On 15 Feb 2001 23:28:18 +0100, Morten W. Petersen wrote:
[Tim McLaughlin]
| Is this true on windows too? I saw some mention of this limit be lifted, | but if so, in what version?
It's not a problem on Windows, AFAIK. It's a problem with Linux, if you want to be able to use databases > 2GB in size on Linux, a kernel >= 2.4.0 is required.
... or , on Redhat, an 'enterprise' kernel, as it has LFS built into it. For otehrs, you can get the patch, and use it on 2.2 kernels 9check the version number of the patch to teh kernel, of course, standard kernel disclaimer applies). Bill
participants (7)
-
Andy McKay -
barry@digicool.com -
Bill Anderson -
Chris Withers -
Erik Enge -
morten@esol.no -
Tim McLaughlin