home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / 7648 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  1.8 KB

  1. Xref: sparky comp.databases:7648 comp.org.sug:438 comp.sources.wanted:4934 comp.sys.sun.apps:2386 comp.sys.sun.wanted:1755
  2. Newsgroups: comp.databases,comp.org.sug,comp.sources.wanted,comp.sys.sun.apps,comp.sys.sun.wanted
  3. Path: sparky!uunet!monowave!et
  4. From: et@monowave.com (E. Y.L. Tsiang)
  5. Subject: need reliable ndbm
  6. Message-ID: <Bx9nGA.Av@monowave.com>
  7. Reply-To: monowave!et@uunet.uu.net
  8. Organization: Monowave Corporation
  9. Date: Thu, 5 Nov 1992 23:19:22 GMT
  10. Lines: 39
  11.  
  12.  
  13.  
  14. PROBLEMS:
  15. ========
  16. I am using the SUNOS 4.1.1 version of ndbm - a utility for managing key/content pairs
  17. in a data base.  The attractive points about ndbm are 1)its simplicity, 2)its claim
  18. that it can handle a billion blocks and 3)fast file system access.
  19.  
  20. In attempting to use ndbm for a non-trivial database - about 20000 key/content pairs
  21. so far in testing, (some content filling an entire block), I have found ndbm
  22.  
  23.     1) to lose data apparently from not flushing its cache even by dbm_close time,
  24.        (this apparently avoidable by an immediate dbm_fetch after
  25.         a dbm_store)
  26.  
  27.     2) to trash its key hasher such that dbm_nextkey eventually gets fixated
  28.        on one key, causing endless looping in iterating through the database
  29.        - with concurrent loss of data.  ( I have found no work-around for this.)
  30.  
  31. Since I anticipate using ndbm eventually for a database of possibly 1M blocks, 
  32. I am looking for a reliable ndbm.
  33.  
  34. QUESTIONS:
  35. =========
  36. Has anybody encountered similar problems?
  37.  
  38. Is there a fixed-up version I can obtain/purchase for SUNOS 4.1.1?
  39.  
  40. Are there more-or-less plug-compatible ndbm work-alikes available publicly or commercially?
  41.  
  42. Are there sources for ndbm work-alikes available publicly or commercially?
  43.  
  44.  
  45.  
  46. I would appreciate replies either by email or follow-up.  If the problems are resolved,
  47. and if there is sufficient interest, I will post the resolution.
  48.  
  49. Thanks in advance.
  50.  
  51.