You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.3 KiB

  1. From: skip at mojam.com (Skip Montanaro)
  2. Date: Thu, 22 Apr 1999 03:08:35 GMT
  3. Subject: Need someone to try some rarely used bsddb methods
  4. References: <7fa14m$vfm$1@nnrp1.dejanews.com>
  5. Message-ID: <371E9326.8472D97@mojam.com>
  6. Content-Length: 1057
  7. X-UID: 405
  8. A few days ago I asked for input about how the various bsddb object
  9. methods work with different storage types (btree, hash, recno). I got
  10. responses from several people whose findings were consistent with mine.
  11. The "last" and "previous" methods seemed to fail for hash databases.
  12. It turns out they aren't supported. A little digging around in the
  13. Berkeley DB code demonstrated that quite clearly. I will work on some
  14. patches to the bsddb module that catch the mistake and return a more
  15. meaningful error message along with the exception. I have yet to figure
  16. out what is happening with the recno format databases. My
  17. recommendation is that you only use the btree format for large
  18. databases. (Unfortunately, anydbm.open calls bsddb.hashopen when it's
  19. available.)
  20. I wound up writing the section for the library reference as well. I
  21. believe it's in the CVS repository now.
  22. Thanks to all who replied.
  23. --
  24. Skip Montanaro | Mojam: "Uniting the World of Music"
  25. http://www.mojam.com/
  26. skip at mojam.com | Musi-Cal: http://www.musi-cal.com/
  27. 518-372-5583