dbTalk Databases Forums  

open-source network database

comp.databases comp.databases


Discuss open-source network database in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rick Hedin
 
Posts: n/a

Default open-source network database - 07-20-2003 , 04:20 PM






Hello all.

I am working on an application that has a lot of structures that have
pointers to other structures, and all this has to be written to disk and
restored. I've realized that it would be a lot easier to embed a simple
database in my application, and not do my own allocation of memory,
determination of indexing, and all the rest. The application is written
mostly in C.

Is there an open-source database I can embed in my application? I could
certainly use PostgresSQL, but I don't need an SQL interface. A circa
1980's network database would suit me fine. It could almost be a
hierarchical database, but some of the nodes exist in more than one tree.

Is there anything like this out there? Btrieve or dBase before the SQL era
began in the mid 80's?

Thanks for any ideas.


Regards,

Rick



Reply With Quote
  #2  
Old   
Adam
 
Posts: n/a

Default Re: open-source network database - 07-21-2003 , 12:20 AM






Why don't you try object databases?
Object databases should suit you best.

Adam

"Rick Hedin" <rhedin (AT) aquifer (DOT) geology.uiuc.edu> wrote

Quote:
Hello all.

I am working on an application that has a lot of structures that have
pointers to other structures, and all this has to be written to disk and
restored. I've realized that it would be a lot easier to embed a simple
database in my application, and not do my own allocation of memory,
determination of indexing, and all the rest. The application is written
mostly in C.

Is there an open-source database I can embed in my application? I could
certainly use PostgresSQL, but I don't need an SQL interface. A circa
1980's network database would suit me fine. It could almost be a
hierarchical database, but some of the nodes exist in more than one tree.

Is there anything like this out there? Btrieve or dBase before the SQL era
began in the mid 80's?

Thanks for any ideas.


Regards,

Rick

Reply With Quote
  #3  
Old   
Rick Hedin
 
Posts: n/a

Default Re: open-source network database - 07-21-2003 , 08:18 AM



Okay. Please mention the name of an open source object database that can be
embedded into applications, so I can investigate it.

Regards,

Rick

"Adam" <adamotory (AT) hotmail (DOT) com> wrote

Quote:
Why don't you try object databases?
Object databases should suit you best.

Adam



Reply With Quote
  #4  
Old   
Information
 
Posts: n/a

Default Re: open-source network database - 07-21-2003 , 11:34 AM



Rick,

If you can find it, and if you're developing on Linux, there's a database
called db.linux that was open sourced by its former owner, Centura Software
(now in C-11). It's genesis was as db-VISTA a circa-80's network model
database, later known as RDM.

Best of luck.

"Rick Hedin" <rhedin (AT) aquifer (DOT) geology.uiuc.edu> wrote

Quote:
Hello all.

I am working on an application that has a lot of structures that have
pointers to other structures, and all this has to be written to disk and
restored. I've realized that it would be a lot easier to embed a simple
database in my application, and not do my own allocation of memory,
determination of indexing, and all the rest. The application is written
mostly in C.

Is there an open-source database I can embed in my application? I could
certainly use PostgresSQL, but I don't need an SQL interface. A circa
1980's network database would suit me fine. It could almost be a
hierarchical database, but some of the nodes exist in more than one tree.

Is there anything like this out there? Btrieve or dBase before the SQL
era
began in the mid 80's?

Thanks for any ideas.


Regards,

Rick





Reply With Quote
  #5  
Old   
Mohun Biswas
 
Posts: n/a

Default Re: open-source network database - 07-21-2003 , 11:47 AM



Rick Hedin wrote:
Quote:
Is there an open-source database I can embed in my application? I could
certainly use PostgresSQL, but I don't need an SQL interface. A circa
1980's network database would suit me fine. It could almost be a
hierarchical database, but some of the nodes exist in more than one tree.
I've been very impressed with SQLite (http://www.sqlite.org/). Of course
it does have a SQL interface.

MB



Reply With Quote
  #6  
Old   
Christopher Browne
 
Posts: n/a

Default Re: open-source network database - 07-21-2003 , 02:52 PM



"Information" <info (AT) mcobject (DOT) com> writes:
Quote:
If you can find it, and if you're developing on Linux, there's a database
called db.linux that was open sourced by its former owner, Centura Software
(now in C-11). It's genesis was as db-VISTA a circa-80's network model
database, later known as RDM.
ITTIA <http://www.ittia.com/> now sells db.linux; apparently they
acquired license/copyright from Centura.

[Note to self: Any time anything like this comes available, be sure
and put a copy up on SourceForge so that if it subsequently disappears
from view, there's _something_ still available freely...]
--
If this was helpful, <http://svcs.affero.net/rm.php?r=cbbrowne> rate me
http://cbbrowne.com/info/rdbms.html
"Few people are capable of expressing with equanimity opinions which
differ from the prejudices of their social environment. Most people
are even incapable of forming such opinions." (Albert Einstein)


Reply With Quote
  #7  
Old   
Anthony W. Youngman
 
Posts: n/a

Default Re: open-source network database - 07-21-2003 , 05:04 PM



In article <QBDSa.3154$o7.40381 (AT) vixen (DOT) cso.uiuc.edu>, Rick Hedin
<rhedin (AT) aquifer (DOT) geology.uiuc.edu> writes
Quote:
Hello all.

I am working on an application that has a lot of structures that have
pointers to other structures, and all this has to be written to disk and
restored. I've realized that it would be a lot easier to embed a simple
database in my application, and not do my own allocation of memory,
determination of indexing, and all the rest. The application is written
mostly in C.

Is there an open-source database I can embed in my application? I could
certainly use PostgresSQL, but I don't need an SQL interface. A circa
1980's network database would suit me fine. It could almost be a
hierarchical database, but some of the nodes exist in more than one tree.

Look at the various Multi-Value databases. In particular have a play
with MaVerick (written in Java) and/or my C routines that I wrote for
MaVerick.

Note however that this stuff is pre-alpha to some extent...

Or if it's for personal use, you can get various commercial variants for
free ...

Cheers,
Wol
--
Anthony W. Youngman <pixie (AT) thewolery (DOT) demon.co.uk>
'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the
thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man
lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998
Visit the MaVerick web-site - <http://www.maverick-dbms.org> Open Source Pick


Reply With Quote
  #8  
Old   
Rick Hedin
 
Posts: n/a

Default Re: open-source network database - 07-24-2003 , 08:32 AM



Thanks for the ideas! db-VISTA / db.linux , MaVerick

I'm contacted the current db-vista people, and am examining MaVerick. It
will get to someplace good, with enough effort.


Regards,

Rick



Reply With Quote
  #9  
Old   
Andy Dent
 
Posts: n/a

Default Re: open-source network database - 07-29-2003 , 01:40 PM



In article <QBDSa.3154$o7.40381 (AT) vixen (DOT) cso.uiuc.edu>,
"Rick Hedin" <rhedin (AT) aquifer (DOT) geology.uiuc.edu> wrote:

Quote:
Hello all.

I am working on an application that has a lot of structures that have
pointers to other structures, and all this has to be written to disk and
restored.
The free version of OOFILE will let you do that.

http://www.oofile.com.au/oofile_ref/html/
http://www.oofile.com.au/downloads.html

Quote:
The application is written
mostly in C.
could you cope with a very small amount of c++ if it made all the data
access trivially easy and you barely noticed it :-) ?

The OOFILE model of relationships makes it very easy to think
pointerwise, eg: changing the current selection in Patients by a related
field:
Patients.search(Patients->Visits->Why=="Flu");

http://www.oofile.com.au/oofdoc/samples/ooftst16


The good news is that if you get massive and need to store hundreds of
millions or even just tens of thousands of records, OOFILE will let you
use Faircom's c-tree Plus engine (or for smaller systems, our own dBase
engine) with only 1 line of source change.

--
Andy Dent BSc MACS AACM http://www.oofile.com.au/
OOFILE - Database, Reports, Graphs, GUI for c++ on Mac, Unix & Windows
PP2MFC - PowerPlant->MFC portability


Reply With Quote
  #10  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: open-source network database - 07-30-2003 , 01:31 AM



Steven C. (nospam (AT) xxx (DOT) com) wrote:
: Andy,

: This sounds very interesting. I'm looking for something simple. My
: database will just be key value pairs.

Berkeley DB provides key value pairing of data.

Berkeley DB is somewhat of a unix standard.

When using perl I use the BerkeleyDB-0.23.tar.gz package, and C programs
are also quite simple to write for basic read/write lookups.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.