gregor-e has asked for the wisdom of the Perl Monks concerning the following question:
At this point the MLDBM .db file looks like:lseek error at /usr/lib/perl5/site_perl/5.8.5/MLDBM.pm line 161, <IN_F +ILE> line 5038240.
In this case, MLDBM was used like:-rw-r--r-- 1 gomer user 2147479776 Nov 28 17:28 summaryDatabase.db
But I have also tried using Storable as the serializer, as well as the default SDBM_File TIEHASH. All configurations have thus bombed as soon as the resulting .db file crosses the 2GiB mark. Is there some configuration of TIEHASH and/or serializer that enables one to keep persistent multi-level hashes greater than 2GiB size? (Please don't tell me I should just use DBI. In this situation, that means petitioning for an Oracle installation).use MLDBM qw(GDBM_File Data::Dumper);
The underlying Fedora Core 3 & Perl versions:
Linux rskass_arc_2 2.6.12-1.1381_FC3smp #1 SMP Fri Oct 21 04:03:26 EDT + 2005 i686 i686 i386 GNU/Linux This is perl, v5.8.5 built for i386-linux-thread-multi
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MLDBM for hash > 2GiB?
by merlyn (Sage) on Nov 29, 2005 at 15:47 UTC | |
|
Re: MLDBM for hash > 2GiB?
by perrin (Chancellor) on Nov 29, 2005 at 17:04 UTC | |
by gregor-e (Beadle) on Nov 29, 2005 at 17:27 UTC | |
by perrin (Chancellor) on Nov 29, 2005 at 17:31 UTC | |
by gregor-e (Beadle) on Nov 29, 2005 at 21:58 UTC | |
|
Re: MLDBM for hash > 2GiB?
by jfroebe (Parson) on Nov 29, 2005 at 16:16 UTC | |
|
Re: MLDBM for hash > 2GiB?
by creamygoodness (Curate) on Nov 29, 2005 at 16:54 UTC | |
by gregor-e (Beadle) on Nov 29, 2005 at 17:21 UTC | |
|
Re: MLDBM for hash > 2GiB?
by wazzuteke (Hermit) on Nov 29, 2005 at 16:11 UTC | |
|
Re: MLDBM for hash > 2GiB?
by gregor-e (Beadle) on Nov 30, 2005 at 15:48 UTC |