BDB corrupt

Garrett Cooper yanefbsd at gmail.com
Mon May 12 22:45:02 UTC 2008


On May 12, 2008, at 1:38 AM, Anthony Pankov wrote:

>
> Please, can anybody explain what is the problem with BDB (1.86).
>
> Is there known caveats of using BDB? Is there some rules which
> guarantee from curruption or it is fully undesirable to use BDB under
> high load?
>
> It is important for me because of using BDB in my project.
>
>
>> On Fri, May 09, 2008 at 01:52:46PM +0200, Joerg Sonnenberger wrote:
>>>
>>> As one of the persons hacking on pkg_install in pkgsrc/NetBSD, I  
>>> would
>>> *strongly* advisy you against storing the files only in a bdb file.
>>> The change of major and complete corruption with bdb185 is high,
>>> consider pulling the plug in the middle of a long update.
>
>> Sunday, May 11, 2008, 5:38:25 PM, you wrote:
>
> GC> +1. BDB is quite easy to corrupt...

BDB isn't ATOMic, like SQL or other DB backends.
-Garrett


More information about the freebsd-hackers mailing list