Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site uwmcsd1.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!uwmcsd1!dave From: dave@uwmcsd1.UUCP (Dave Rasmussen) Newsgroups: net.database,net.unix Subject: Using multiple dbm databases Message-ID: <548@uwmcsd1.UUCP> Date: Thu, 26-Sep-85 11:43:23 EDT Article-I.D.: uwmcsd1.548 Posted: Thu Sep 26 11:43:23 1985 Date-Received: Sat, 28-Sep-85 05:37:18 EDT Distribution: net Organization: U of Wi-Milwaukee, Computing Services Div Lines: 21 Xref: watmath net.database:91 net.unix:5725 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 >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 Brought to you by Super Global Mega Corp .com