SA Bugzilla – Bug 4530
Make SDBM default bayes store
Last modified: 2019-07-30 18:15:47 UTC
Given that SDBM is *way* faster than DBM, and is even faster than SQL, we should use SDBM by default. The only reason not to at the moment is that it screws up existing installs. It would be nice to have some way of automatically converting or something, but I'm not sure how this can be done.
Subject: Re: New: Make SDBM default bayes store Suggest we hold on this for the moment. SDBM has not undergone any serious testing in a production environment. It might be the fastest because it's doing everything wrong. Michael
I think we should probably do this for 3.2.0. I've been using SDBM_File on my scanners for several months now without noticing any bad side effects...
actually, I heard someone mentioning problems with reading data from an SDBM db while another process is writing; this works in DB_File and is pretty critical for SA, so perhaps we should hold off on SDBM use until that's investigated.
fwiw, DB_File has problems with reads during a write, though it could be specific to reading the data that's being changed. See bug 3563.
moving off to 3.3.0
is this viable yet?
moving most remaining 3.3.0 bugs to 3.3.1 milestone
reassigning, too
Closing old stale bug. We should really make Redis the default, but why bother, let user configure it..
we should not really depend on specific software, if anything should be defult it should be sqlite, just my one euro extend sa-awl to support --backup --restore --clear just like sa-learn that would not be a must but really nice if thats not a problem to migrade to redis :)