Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id E55916C for ; Wed, 18 Nov 2015 00:07:15 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-yk0-f172.google.com (mail-yk0-f172.google.com [209.85.160.172]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 1BD0C13A for ; Wed, 18 Nov 2015 00:07:15 +0000 (UTC) Received: by ykfs79 with SMTP id s79so36961350ykf.1 for ; Tue, 17 Nov 2015 16:07:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blockstream_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Bud4T526+uUK2+P73azbRVIg3Zu8wUXNkicCm+J3LZo=; b=nH80s5T1g3TIeb+LJHKxWeHYusEeBUdGEBNsCTN7PufQRs/ZVxHln8/OW50JHpqjSP jd7GFGOf3YUC4eG/vJbGGySghUlmBLEw6ufPNAIU/9FhQtS/zJSbprYat0GMIejDmgXc 6kvjVOpJwDUXiz5SiVdH+pzMEvHLP37sTBMMuPek5H2d7KFkJo4jm8442PWYjj8KkF2J /68kL2vLk5arJXVpE001pQWqPu31fd08PRJSDbJaMSAoiIXzvxERP3Fcoh1LRKxGSJKp +RGpFzZsKm11liGPOH3ImlzIcEo/oKHbCbNJkvNoMLx0zfXC6guhtnCeK17cJv+Q4rjH pE4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=Bud4T526+uUK2+P73azbRVIg3Zu8wUXNkicCm+J3LZo=; b=X08+kdz/ghbZBM4fTTGZ1ed8IVeHAg50+fXrYZ64WY1e1AT2dcdGWPkHDREJJ62pbK R8JNylBGAy8zWnDo82Hbqrg6d17c500HEL2JQF7VPCvJSmFUcQ3SMQEXUWPPAZ94zfff Cc0iV+tS7JzBJVq8XgOZECMNDt+njlMn/mPRFCwrv2bIVd1vEABYuYrnF1f7XxPfMrSP 6Gyf+rPJuxdPQj3VodJRaB47JjreybVq+bWkaS9ZZWQOqxq+Xjys2q8oGrhi8oRZkWzL sCHLhSrCHDkIoRFev6Ph1F97AePCulhd0og2MUAPDBqX9WXc+sh2lE4ntWDB789TS7c2 +MDA== X-Gm-Message-State: ALoCoQlWqsdLbAMuIfzQef2boRlXHXFlbwZmx1Sxd1WkvUp11q/4DSnd8+bhcyhYIJfVZT+wACg/ X-Received: by 10.129.159.5 with SMTP id w5mr3663515ywg.57.1447805234244; Tue, 17 Nov 2015 16:07:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.3.193 with HTTP; Tue, 17 Nov 2015 16:06:44 -0800 (PST) In-Reply-To: <562E6BC0.7010002@vt.edu> References: <3162730.lzR74nC3xW@garp> <562E6BC0.7010002@vt.edu> From: Jonathan Wilkins Date: Tue, 17 Nov 2015 16:06:44 -0800 Message-ID: To: Douglas Roark Content-Type: multipart/alternative; boundary=94eb2c0bd6a4b13e7d0524c56c7b X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Wed, 18 Nov 2015 00:07:58 +0000 Cc: bitcoin-dev@lists.linuxfoundation.org Subject: Re: [bitcoin-dev] [patch] Switching Bitcoin Core to sqlite db X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Development Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2015 00:07:16 -0000 --94eb2c0bd6a4b13e7d0524c56c7b Content-Type: text/plain; charset=UTF-8 Benchmarks for various DBs under discussion: http://symas.com/mdb/microbench/ On Mon, Oct 26, 2015 at 11:06 AM, Douglas Roark via bitcoin-dev < bitcoin-dev@lists.linuxfoundation.org> wrote: > On 2015/10/23 03:30, Tom Zander via bitcoin-dev wrote: > > On Thursday 22 Oct 2015 17:26:42 Jeff Garzik via bitcoin-dev wrote: > >> It was noted that leveldb is unmaintained, and this is part of > researching > >> alternatives that are maintained and reliable. > > > > Apart from it being unmaintained, any links to what are problems with > levelDB? > > While not exactly the most rigorous link, > https://en.wikipedia.org/wiki/LevelDB#Bugs_and_Reliability seems like an > okay place to start. One thing I can attest to is that, when Armory used > LevelDB (0.8 - 0.92, IIRC), quite a few users had DB corruption issues, > particularly on Windows. Even when a switch to LMDB occurred for 0.93, > loads of complaints would come in from users whose LevelDB-based Core > DBs would fail. I know that the guy who moved Armory over to LMDB would > love to have more time in the day so that he could write a Core patch > that does the same. It's a very sore spot for him. > > (FWIW, LMDB seems to work quite nicely, at least once you patch up the > source a little bit. The latest version is also compatible with Core's > cross-compiling scheme. I'd love to see it added to Core one day.) > > Doug > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev > --94eb2c0bd6a4b13e7d0524c56c7b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Benchmarks for various DBs under discussion:
http://symas.com/mdb/microbench/
=

On Mon,= Oct 26, 2015 at 11:06 AM, Douglas Roark via bitcoin-dev = <bitcoin-dev@lists.linuxfoundation.org> wrote:
On 2015/10/23 03:30, Tom Zander via= bitcoin-dev wrote:
> On Thursday 22 Oct 2015 17:26:42 Jeff Garzik via bitcoin-dev wrote: >> It was noted that leveldb is unmaintained, and this is part of res= earching
>> alternatives that are maintained and reliable.
>
> Apart from it being unmaintained, any links to what are problems with = levelDB?

While not exactly the most rigorous link,
https://en.wikipedia.org/wiki/LevelDB#Bug= s_and_Reliability seems like an
okay place to start. One thing I can attest to is that, when Armory used LevelDB (0.8 - 0.92, IIRC), quite a few users had DB corruption issues,
particularly on Windows. Even when a switch to LMDB occurred for 0.93,
loads of complaints would come in from users whose LevelDB-based Core
DBs would fail. I know that the guy who moved Armory over to LMDB would
love to have more time in the day so that he could write a Core patch
that does the same. It's a very sore spot for him.

(FWIW, LMDB seems to work quite nicely, at least once you patch up the
source a little bit. The latest version is also compatible with Core's<= br> cross-compiling scheme. I'd love to see it added to Core one day.)

Doug
___________________________________= ____________
bitcoin-dev mailing list
bitcoin-dev@lists.= linuxfoundation.org
https://lists.linuxfoundation.org/mail= man/listinfo/bitcoin-dev

--94eb2c0bd6a4b13e7d0524c56c7b--