[Israel.pm] Handling huge data-structures?

Yuval Yaari yuval at windax.com
Tue Aug 31 01:15:59 PDT 2004


Could anyone tell me if BerkeleyDB::Hash also loads all the data to the
memory?
Otherwise -- this is the best solution so far :)

  --Yuval


Itamar Elem said:
> hi
> you can try use BerkeleyDB module
> its the interface for the new version of use BerkeleyDB (3.* and above)
> and its have hash interface
>
>          use BerkeleyDB;
>
>          $db  = tie %hash, 'BerkeleyDB::Hash', [OPTIONS] ;
>          $db  = new BerkeleyDB::Hash [OPTIONS] ;
>
>          $db  = tie %hash, 'BerkeleyDB::Btree', [OPTIONS] ;
>          $db  = new BerkeleyDB::Btree [OPTIONS] ;
>
>
> and more
>
> itamar





More information about the Perl mailing list