https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6971

--- Comment #4 from Mark Martinec <[email protected]> ---
> There are a number of limits on the size of the data that you can store in
> the SDBM file. The most important is that the length of a key, plus the
> length of its associated value, may not exceed 1008 bytes.

The (S)DBM/BDB have their issues, but this isn't one of them for
the purpose they serve in SpamAssassin: it is a non-issue for bayes,
its token keys are 5 bytes, token values are up to 13 bytes.
The seen entries are the longest, still less than 60 characters
for keys, and one byte for its value.

(But yes, I was very happy when I ditched a BDB-based bayes database
and switched to SQL, all the issues with auto-expiration, learning
to journal etc were gone. Now with Bayes on Redis it's even more
comfortable and fast. I wouldn't mind if somebody prepares a LMDB
backend, but I'm not volunteering.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to