From owner-freebsd-hackers@FreeBSD.ORG Mon May 12 22:45:02 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 34547106567A for ; Mon, 12 May 2008 22:45:02 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 05D938FC20 for ; Mon, 12 May 2008 22:45:01 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by wf-out-1314.google.com with SMTP id 28so2393356wfa.7 for ; Mon, 12 May 2008 15:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:in-reply-to:subject:x-priority:references:message-id:content-type:content-transfer-encoding:mime-version:date:cc:x-mailer; bh=hbsrSJAP1++z/C6WweHSJrVrS3F4RtSBNYKLL1S4a9o=; b=MP418SUA8MnrbSzbVyBTUDjaO10n78YfRip0fCaxMbaW89l4NnWK9A2VVqrX5XhXLqkPqWkCwgYjxm8eP9ptFfBUaCyeusgo1PIrx0pK3W0gClTPcZiWoNx2HaUpkI+Fkj/WM5wAfZvZMVumzIOjsPTeudD3DixFixSaHquLQnI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:in-reply-to:subject:x-priority:references:message-id:content-type:content-transfer-encoding:mime-version:date:cc:x-mailer; b=L12UzhUzMLpWldY7f8n2Ye/ybF3naV93MSLxhnUWpsiTkRevhyn41kTZUSzBPosvpzDuZidLApMsC2P4PQoDGthui/5KUlG097ORVn9JJw+QO/NdYbK+Uz5XCScEiaEkgibwimn9HEQ0IcigodncsFntVXMDcSK4Y+z0mPFrMG0= Received: by 10.142.217.17 with SMTP id p17mr3493746wfg.99.1210632301741; Mon, 12 May 2008 15:45:01 -0700 (PDT) Received: from ?192.168.10.42? ( [99.155.199.64]) by mx.google.com with ESMTPS id 28sm18810513wfd.4.2008.05.12.15.44.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 12 May 2008 15:45:00 -0700 (PDT) From: Garrett Cooper To: Anthony Pankov In-Reply-To: <15336578.20080512123806@mail.ru> X-Priority: 3 (Normal) References: <20080509124308.GA596@britannica.bec.de> <9FC19AC2-DAD8-418C-8B9C-F129DEC58CEF@gmail.com> <15336578.20080512123806@mail.ru> Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 12 May 2008 15:46:07 -0700 X-Mailer: Apple Mail (2.919.2) Cc: freebsd-hackers@freebsd.org, Joerg Sonnenberger 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: Mon, 12 May 2008 22:45:02 -0000 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