*BSD News Article 89664


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!msunews!news.mtu.edu!newsxfer.itd.umich.edu!newsxfer3.itd.umich.edu!howland.erols.net!blackbush.xlink.net!ka.sub.net!gummo.bbb.sub.org!gummo.bbb.sub.org!not-for-mail
From: bertram@gummo.bbb.sub.org (Bertram Barth)
Newsgroups: comp.unix.bsd.netbsd.misc,comp.unix.bsd.freebsd.misc
Subject: Re: Object Oriented Databases for NetBSD/FreeBSD?
Date: 19 Feb 1997 08:14:10 +0100
Organization: private site in Bruchsal, Germany
Lines: 49
Message-ID: <5ee982$f4v@gummo.bbb.sub.org>
References: <5b58kv$2e1@gummo.bbb.sub.org> <5brbcr$724@trumpet.uni-mannheim.de> <5e9vkr$f84@fu-berlin.de>
NNTP-Posting-Host: gummo.bbb.sub.org
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5498 comp.unix.bsd.freebsd.misc:35781

In article <5e9vkr$f84@fu-berlin.de>,
Gunther Schadow <gusw@zedat.fu-berlin.de> wrote:
>andrew@wipux2.wifo.uni-mannheim.de (Andrew Wheadon) writes:
>>Bertram Barth <bertram@gummo.bbb.sub.org> wrote:
>>>The minimal functionality I'm looking for is
>>>- persistent C++ environment/library
>>>- definition of own classes (schema)
>>>- references or "smart pointers" to persistent objects 
>>>- should be able to handle "real" amounts of data (up to 1GB or more)
>>>- support for basic collections (set, list, dictionary)
>>>  [this is not absolutely neccessary but nice to have]
>
>>How about postgres95 ? It compiles out of the box
>>but I don't know how well it will fit your demands.
>
>So, Postgres 95 might not be the best choice for you, since it does
>no persistent C++ classes. Of course a persistence interface could be
>written for Postgres 95 (how about integrating one into G++ ?). Smart
>pointers to persistent objects reminds me to the "texas persistent
>store" system. You should have a look on their approach.

In the meanwhile I've found what I was looking for: "yooda"

It's an OODBMS which was originally written with support for SunOS-4,
Solaris-2, HPUX and Alpha/OSF. On some ftp-server I found it as
"yooda-1.3.tar.gz" (there's also "yooda-1.2 around, but 1.3 is better!).
It has all the features I mentioned above which I was looking for.

With some minor modifications I could compile it on Netbsd/i386 + gcc-2.7.2
and on FreeBSD-2.1.6 + gcc-2.6.3, on FreeBSD it runs solid and works great!
On NetBSD there are some problems since the signal-handler for SIGSEGV
doesn't get access to the faulting address (yooda's support for smart 
pointers to persistent object relies on this feature).
With a patched kernel I was able to run it on NetBSD also, but not as
stable as on FreeBSD (I didn't go deeper in that, since on FreeBSD it works).

BTW: I didn't try "texas", since it also relies on the above mentioned
     signal handler feature which isn't supported by NetBSD. But from
     what I read in the docs, it hasn't all the features which yooda
     has, and IIRC they are more oriented towards other goals...

Ciao,
	bertram

PS: if anybody is interested, I could make my modified version which works
    for FreeBSD available via ftp. Just drop me a note...
-- 
home: bertram@gummo.bbb.sub.org       work: bertram@ifib.uni-karlsruhe.de
- Never ascribe to malice what can be adequately described by stupidity -