[ZODB-Dev] Re: ZODB with a Relational Database
Tim Peters
tim at zope.com
Wed Jan 4 10:21:57 EST 2006
[José Carlos Senciales]
> How can i know if i have my Python configured with large file support ?
>
> My version is:
>
> Zope Version (Zope 2.8.4-final, python 2.3.5, win32)
> Python Version 2.3.5 (#62, Feb 8 2005, 16:23:02) [MSC v.1200 32 bit
(Intel)] System
> Platform win32
All flavors of Windows Python have supported "large files" since Python 2.2,
so that's not the problem. You didn't say _which_ version of Windows you're
using, though, and that may be the problem. Here from the NEWS file for
Python 2.2a3:
"""
- Large file support is now enabled on Win32 platforms as well as on
Win64. This means that, for example, you can use f.tell() and f.seek()
to manipulate files larger than 2 gigabytes (provided you have enough
disk space, and are using a Windows filesystem that supports large
partitions). Windows filesystem limits: FAT has a 2GB (gigabyte)
filesize limit, and large file support makes no difference there.
FAT32's limit is 4GB, and files >= 2GB are easier to use from Python now.
NTFS has no practical limit on file size, and files of any size can be
used from Python now.
"""
If you're using a Windows version earlier than Windows NT, you're also using
FAT or FAT32, and nothing can be done on those to overcome the filesystem
limitations -- but then you shouldn't be trying to do serious work on a
Windows system earlier than NT anyway, or with a filesystem earlier than
NTFS. If you're running Win NT, 2000, 2003, or XP, and are using NTFS, you
shouldn't have any filesystem-related problems no matter how large Data.fs
gets.
More information about the ZODB-Dev
mailing list