transaction or non-transaction mode?

Matthias Andree matthias.andree at gmx.de
Fri Dec 16 11:21:49 CET 2005


"S.I" <piston at otel.net> writes:

> Hi people what's is better to switch transaction or non-transaction worldlist.db?

That depends on your requirements.

Transactional is a bit slower, requires more, particularly intermediate,
hard disk space, and isn't open to some shared wordlist hacks. On the
plus side it is crashproof against system and application crashes if
treated properly (hardware must work flawlessly, user must take proper
action BEFORE upgrading Berkeley DB or bogofilter), and administrating
bogofilter requires some care as files need to be copied, backed up or
moved in a particular order, but we have bf_* scripts to help with
that. You'll see intermediate log.* files and __db.* files besides the
.db file.

Non-transaction is just a single file, hence easier to handle, but it
isn't crash proof, application or system crash can corrupt the database
so it becomes unusable.

-- 
Matthias Andree



More information about the Bogofilter mailing list