home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.databases:7648 comp.org.sug:438 comp.sources.wanted:4934 comp.sys.sun.apps:2386 comp.sys.sun.wanted:1755
- Newsgroups: comp.databases,comp.org.sug,comp.sources.wanted,comp.sys.sun.apps,comp.sys.sun.wanted
- Path: sparky!uunet!monowave!et
- From: et@monowave.com (E. Y.L. Tsiang)
- Subject: need reliable ndbm
- Message-ID: <Bx9nGA.Av@monowave.com>
- Reply-To: monowave!et@uunet.uu.net
- Organization: Monowave Corporation
- Date: Thu, 5 Nov 1992 23:19:22 GMT
- Lines: 39
-
-
-
- PROBLEMS:
- ========
- I am using the SUNOS 4.1.1 version of ndbm - a utility for managing key/content pairs
- in a data base. The attractive points about ndbm are 1)its simplicity, 2)its claim
- that it can handle a billion blocks and 3)fast file system access.
-
- In attempting to use ndbm for a non-trivial database - about 20000 key/content pairs
- so far in testing, (some content filling an entire block), I have found ndbm
-
- 1) to lose data apparently from not flushing its cache even by dbm_close time,
- (this apparently avoidable by an immediate dbm_fetch after
- a dbm_store)
-
- 2) to trash its key hasher such that dbm_nextkey eventually gets fixated
- on one key, causing endless looping in iterating through the database
- - with concurrent loss of data. ( I have found no work-around for this.)
-
- Since I anticipate using ndbm eventually for a database of possibly 1M blocks,
- I am looking for a reliable ndbm.
-
- QUESTIONS:
- =========
- Has anybody encountered similar problems?
-
- Is there a fixed-up version I can obtain/purchase for SUNOS 4.1.1?
-
- Are there more-or-less plug-compatible ndbm work-alikes available publicly or commercially?
-
- Are there sources for ndbm work-alikes available publicly or commercially?
-
-
-
- I would appreciate replies either by email or follow-up. If the problems are resolved,
- and if there is sufficient interest, I will post the resolution.
-
- Thanks in advance.
-
-