Asif Iqbal wrote: > Hi All > > I see notes on using MySQL/PgSQL and other SQL database and migration > from Berkeley DB to MySQL. I was wondering if anyone knows how to > migrate to DAN's CDB from Berkeley DB for bayes DB. I like to use that (CDB) > as the > bayes DB. > > Thanks for any help/suggestion/tip >
CDB would be rather difficult to support for SA's bayes system. It's designed for "constant databases", ie: those which are built once and read many times without change. To this end, CDB does not support single-record inserts or deletes, which are very key operations to SpamAssassin's learning and expiry. Any learning or expiry operation would require deleting the entire bayes database and rebuilding the whole thing.