[Info-vax] 64-bit file sizes, was: Re: scp or sftp: file is "raw", needs to be parsed - possible to work around that?
Arne Vajhøj
arne at vajhoej.dk
Thu May 20 19:59:21 EDT 2021
On 5/20/2021 4:35 PM, Stephen Hoffman wrote:
> On 2021-05-20 20:10:12 +0000, Simon Clubley said:
>
>> I was thinking more about the internal RMS indexed file structure and
>> if the internal block pointers to other parts of the indexed file are
>> 32-bit values.
>>
>> I was wondering if we would need a Prolog-4 version of RMS indexed
>> files with 64-bit internal block numbers. There are also RFAs to
>> consider and how you would move them around the rest of VMS and the
>> user's applications.
>
> SQLite is 64-bit. 🤷🏼 🦆🦆
It may compile with 64 bit pointers,
But https://www.sqlite.org/limits.html says:
<quote>
14. Maximum Database Size
Every database consists of one or more "pages". Within a single
database, every page is the same size, but different database can have
page sizes that are powers of two between 512 and 65536, inclusive. The
maximum size of a database file is 4294967294 pages. At the maximum page
size of 65536 bytes, this translates into a maximum database size of
approximately 1.4e+14 bytes (281 terabytes, or 256 tebibytes, or 281474
gigabytes or 256,000 gibibytes).
</quote>
4294967294 smells very 32bitish.
:-)
Arne
More information about the Info-vax
mailing list