Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2007 09:51:31 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        Jurjen Middendorp <jurjenm@stack.nl>, freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 7.0
Message-ID:  <474864A3.3040000@u.washington.edu>
In-Reply-To: <20071124180637.GB2727@s062107.lan>
References:  <754560.26481.qm@web50101.mail.re2.yahoo.com> <20071124180637.GB2727@s062107.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Jurjen Middendorp wrote:
> On Thu, Nov 22, 2007 at 10:43:24PM -0800, kasthurirangan balaji wrote:
>   
>> Hi,
>>
>> I am using FreeBSD 6.1 on my laptop. I understand that
>> FreeBSD 7.0 will have ZFS file system. I did go
>> through the sun website to understand the advantages
>> of ZFS. Given that, will FreeBSD have a
>> BTree/B+Tree(replicating c++ multimaps, but file
>> based) by default on ZFS which i guess should be very
>> useful for persons like me who do not want a full
>> fledged database with all SQL features. I am aware of
>> the existence of dbm/ndbm/gdbm, but i guess all
>> support hash. If my thoughts are wrong, pls correct
>> me. I also hope that i have sent to the correct
>> mailing list.
>>
>> Thanks,
>> Balaji.
>>     
>
> Hello!
> i don't know about the filesystem things, but if you want a data 
> base to program with, you can have a look at dbopen(3) :)
> - jurjen

    As jurjen suggested, BDB can assist you in that way, but be aware of 
the caveats of using BDB over SQL (primarily the non-ATOM'ic property).
    But in terms of the C++ API, it only exists with the GNU friendly 
version of BDB (4.x) which is significantly different in terms of 
interface than the one packaged with libc in FreeBSD (1.85).
    See btree(3) for more info there.
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?474864A3.3040000>