On Wed, 9 Feb 2005 13:59:56 -0800, Phil Schaechter <[EMAIL PROTECTED]> wrote: > I'm using MLDBM to store multi-level hashes in a database, and I need to find > a solution (other than compression) to store more than the 1024 byte limit. > Is there another database package I should be looking at? > > Is there some compile-time options I can use to up that limit? > > -Phil
Phil, This is a system issue, not an MLDBM issue. It sounds like your default DB is SDBM (the MLDBM default) or NBDM, both of which have 1024 byte limits. If you can install BDB or GDBM, you should do that. If you can't, you should get someone else to do it for you. If you're on any sort of unix-ish system, one of them is probably already installed, ask your sysadmin. Or, if it's your own machine, look at the install files. I'm sure that one or the other is available for NT/2000, as well. Once you have a decent database engine installed, just change the 'use' statement to: use MLDBM qw/ DB_File /; # or GDBM_File and your size-limit issues should go away. If you're storing large amounts of complex dtat, though, it may be time to think about some kind SQL-based RDBM. If you don't need a full-fledged server like MySQL, take a look at DBD::SQLite. HTH, --jay -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>