in reply to Re: Need DBM file that holds data up to 50,000 bytes
in thread Need DBM file that holds data up to 50,000 bytes

Are you saying I can have a single hash key that holds terabytes of information, limited only by my hardware and OS capabilities?
Perl 5.8.8 on Redhat Linux RHEL 5.5.56 (64-bit)
  • Comment on Re^2: Need DBM file that holds data up to 50,000 bytes

Replies are listed 'Best First'.
Re^3: Need DBM file that holds data up to 50,000 bytes
by tangent (Parson) on Aug 11, 2014 at 23:12 UTC
    Max file size is 256 terabytes.

    From the FAQ:

    Are there any constraints on table size?
    The table size is generally limited by the maximum file size possible on the file system.

    Are there any constraints on the number of records that can be stored in a table?
    There is no practical limit. It is possible to store the number of records that can be indexed in a signed 64-bit value.

    Are there any constraints on record size?
    There is no practical constraint. The maximum length of a string or blob field is 1 billion bytes.
Re^3: Need DBM file that holds data up to 50,000 bytes
by AppleFritter (Vicar) on Aug 11, 2014 at 22:02 UTC
    If you've got a 64-bit Perl build running on a 64-bit OS, then yes, that's indeed the case. That said, tangent was talking about BerkeleyDB's limitations, not Perl's.