[net.unix] Using multiple dbm databases

dave@uwmcsd1.UUCP (Dave Rasmussen) (09/26/85)

I had asked a few weeks ago about how to deal with multiple dbm type databases,
my application needing to talk to 4 dbms more or less at the same time.
I have to thank Chris Torek for his suggestions below of using mdbm, which
should work very nicely with my application. Maybe someone else on the net
can use this into as well. -dave

>From: Chris Torek <uwvax!mimsy.umd.edu!chris>
>Subject: Re: Multiple DBM databases
>
>You have to fix dbm.  There are a number of modified dbm libraries
>available.  4.3BSD comes with ``ndbm'' in the C library, as it is
>used by getpwuid and getpwnam.  Also, depending on your application,
>you might want to get a copy of the ``mdbm'' I wrote; it is based
>on the same ideas in the original dbm code, but can be much more
>storage-efficient if (and only if) you have many keys with the same
>data, or keys whose data is themselves, or other such circularities.
>
>Mine is available for anonymous FTP from maryland.ARPA /
>maryland.umd.edu; get the file ``mdbm.shar''.
>
>Chris