From: Ara.T.Howard@... Date: 2004-10-06T07:14:50+09:00 Subject: Re: Large disc-based "hash"? On Wed, 6 Oct 2004, Robert Feldt wrote: > Hi, > > I need a simple way to have a potentially very large hash mapping > Strings to Ruby objects. It needs to scale to on the order of 1 million > entries with up to 1kb of data per entry (even though it might end up > with maybe 2-300 bytes per entry for starters). Access time is not > critical but low-to-medium mem usage is. Deletion of (and insert of new) > keys/values will be fairly frequent so should be supported. if 'fairly frequent' is once per week look at CDB too - it's blindingly fast and updates (atomic replacements actually) are suprisingly fast. reads are absolutely insanely fast. bdb is also great. sqlite with adequate indexing may also work - but probably not. -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | A flower falls, even though we love it; | and a weed grows, even though we do not love it. | --Dogen ===============================================================================