Robin Lynn Frank <[EMAIL PROTECTED]> writes:

> How much of an edge in performance does cdb give over dbm, I can see
> that the cdb file is smaller, but was curious if I'd ever actually
> notice the difference in speed.

CDB and DBM are equivalent in lookup speed, but when the database
needs to be rebuilt because of a new record, CDB is much faster.  If
you are using really large lists, I highly recommend CDB.

I did some benchmarking a few years ago:
http://mla.libertine.org/tmda-workers/2001-11/msg00182.html

Other CDB advantages over DBM are platform independence and built-in
reliable atomic database replacement.

The only advantage of DBM is that it comes with Python and doesn't
require installation of a 3rd party module.

> Come to think of it, would I be better off with mysql?

I wouldn't think so, no.  The only exception might be if you use
extremely large databases which tend to change frequently.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to