From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id E1A2FBB81 for ; Fri, 18 Nov 2005 15:37:43 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jAIEbh8j015353 for ; Fri, 18 Nov 2005 15:37:43 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA14705 for ; Fri, 18 Nov 2005 15:37:42 +0100 (MET) Received: from mail.enyo.de (mail.enyo.de [212.9.189.167]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jAIEbfp4015344 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 18 Nov 2005 15:37:42 +0100 Received: from deneb.vpn.enyo.de ([212.9.189.177] helo=deneb.enyo.de) by albireo.enyo.de with esmtp id 1Ed7My-0001oj-WF; Fri, 18 Nov 2005 15:37:41 +0100 Received: from fw by deneb.enyo.de with local (Exim 4.54) id 1Ed7Mx-0000gB-Iu; Fri, 18 Nov 2005 15:37:39 +0100 From: Florian Weimer To: Oliver Bandel Cc: caml-list@inria.fr Subject: Re: [Caml-list] [1/2 OT] Indexing (and mergeable Index-algorithms) References: <20051116234238.GA5741@first.in-berlin.de> <87r79fjxy4.fsf@mid.deneb.enyo.de> <1132325649.17170.1.camel@starlight> <20051118142244.GF1116@first.in-berlin.de> Date: Fri, 18 Nov 2005 15:37:39 +0100 In-Reply-To: <20051118142244.GF1116@first.in-berlin.de> (Oliver Bandel's message of "Fri, 18 Nov 2005 15:22:44 +0100") Message-ID: <87wtj6yqbw.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at nez-perce with ID 437DE737.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 437DE735.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 indexing:01 oliver:01 bandel:01 ocaml:01 bindings:01 arises:01 florian:02 string:02 string:02 berkeley:03 alpha:07 issue:12 some:12 but:12 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 * Oliver Bandel: >> After a quick search that only returned one dead project (Alpha, v0.0.1, >> last updated 2002), I have to ask: are there any OCaml bindings for >> BerkeleyDB? > > Isn't Dbm-module that thing? No, it isn't. Berkeley DB offers much richer functionality, including transactions and replication. > But there only string -> string can be used. > So your key as well as value has to be string-type. You have to use some serialization/deserialization code. The same issue arises if you use an SQL database.