From owner-freebsd-hackers@FreeBSD.ORG Tue May 13 02:18:07 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E05591065690 for ; Tue, 13 May 2008 02:18:07 +0000 (UTC) (envelope-from lidl@pix.net) Received: from rox.fddx.com (rox.fddx.com [71.241.230.59]) by mx1.freebsd.org (Postfix) with ESMTP id 7846D8FC1B for ; Tue, 13 May 2008 02:18:07 +0000 (UTC) (envelope-from lidl@pix.net) Received: from torb.pix.net (torb.pix.net [192.168.16.32]) by rox.fddx.com (8.13.8+Sun/8.13.8) with ESMTP id m4D1ukoW014278; Mon, 12 May 2008 21:56:46 -0400 (EDT) Message-ID: <4828F55E.6020407@pix.net> Date: Mon, 12 May 2008 21:56:46 -0400 From: Kurt Lidl User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Garrett Cooper References: <20080509124308.GA596@britannica.bec.de> <9FC19AC2-DAD8-418C-8B9C-F129DEC58CEF@gmail.com> <15336578.20080512123806@mail.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on rox.fddx.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org, Joerg Sonnenberger , Anthony Pankov Subject: Re: BDB corrupt X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 02:18:08 -0000 Garrett Cooper wrote: > 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. You mean ACID probably. And there are plenty of SQL databases that aren't ACID either. (e.g. Mysql 4.x, Mysql 5.x w/o the right kind of backing store) -Kurt