Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'that?': 0.05; "subject:' ": 0.07; 'bindings': 0.09; 'deprecated': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'seemed': 0.09; 'python': 0.11; 'language.': 0.14; '3.0.': 0.16; 'concurrency': 0.16; 'concurrent': 0.16; "developers'": 0.16; 'finney': 0.16; 'rdbms': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'recognised': 0.16; 'sqlite': 0.16; 'subject:dates': 0.16; 'subject:sqlite3': 0.16; 'url:jcea': 0.16; 'view)': 0.16; 'proprietary': 0.16; 'language': 0.16; 'wrote:': 0.18; 'version.': 0.19; 'written': 0.21; 'header:User-Agent:1': 0.23; 'simpler': 0.24; 'typical': 0.24; 'paul': 0.24; "i've": 0.25; 'supported': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'fixed': 0.29; "doesn't": 0.30; 'needed.': 0.30; 'vendor': 0.30; 'code': 0.31; 'that.': 0.31; 'too.': 0.31; 'commonly': 0.31; 'default,': 0.31; 'writes:': 0.31; 'stuff': 0.32; 'trouble': 0.34; 'subject: (': 0.35; 'anybody': 0.35; "who's": 0.35; 'test': 0.35; 'but': 0.35; 'add': 0.35; 'there': 0.35; 'version': 0.36; 'licensed': 0.36; 'thanks': 0.36; 'turn': 0.37; 'ben': 0.38; 'saves': 0.38; 'to:addr:python-list': 0.38; '(from': 0.39; 'embedded': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'how': 0.40; 'relations': 0.60; 'ago,': 0.61; 'browser': 0.61; "you've": 0.63; 'our': 0.64; 'more': 0.64; 'charset:windows-1252': 0.65; 'here': 0.66; 'url:htm': 0.73; 'secret': 0.74; 'assurance': 0.75; 'lighter': 0.84; 'loses': 0.84; 'plays': 0.84; 'reliability': 0.84; 'trick,': 0.84; 'transactions': 0.91; 'serious': 0.97 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: 'Lite' Databases (Re: sqlite3 and dates) Date: Fri, 20 Feb 2015 21:44:28 +0000 References: <4154cc37-0bb0-4bf2-a52c-b728c737357c@googlegroups.com> <54E517B4.4000409@stoneleaf.us> <87a908e0zh.fsf@jester.gateway.pace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-24-222-48.ppp.as43234.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <87a908e0zh.fsf@jester.gateway.pace.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 41 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424468692 news.xs4all.nl 2857 [2001:888:2000:d::a6]:37104 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85994 On 20/02/2015 21:17, Paul Rubin wrote: > Ben Finney writes: >> I don't know of a free-software concurrent RDBMS which can be considered >> lighter than that. (No, MySQL doesn't count; its concurrency is >> *unreliable* and it commonly loses data silently. Don't use MySQL.) > > I thought they fixed MySQL transactions years ago, with the InnoDB > engine. For some reason it's not the default, so you have to turn it on > explicitly: is there more to it than that? > > For stuff like browser bookmarks or other typical embedded database > purposes, I don't see why SQL or relations are needed. Berkeley DB is a > transactional key-value store that's been around for decades and is way > simpler than SQLite, and there's other things like that too. I thought I recognised the name, so a quick search and found it was deprecated in Python 2.6, removed from 3.0. Supported bindings available here https://www.jcea.es/programacion/pybsddb.htm for anybody who's interested. > > SQLite always seemed bloated (from the embedded NoSQL point of view) and > fragile to me, and the vendor plays an annoying anti-forking trick, > which is that the code is released but the developers' test suite is > secret and proprietary (can be licensed from them for big bucks). So if > you want to make your own version of SQLite you have to either pay for > the test suite, or have much less reliability assurance for your patched > version than the vendor has for their version. Add that Sqlite is > written in C (think of naked whirling razor blades) and you've got a > pretty serious disincentive against modification. > Thanks for the above. I've been meaning to take a look at how SQLite is tested for months if not years. That saves me the trouble :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence