<p>What are the other types of database systems out there. I've recently came across couchDB that handles data in a non relational way. It got me thinking about what other models are other people is using.</p>

<p>So, I want to know what other types of data model is out there. (I'm not looking for any specifics, just want to look at how other people are handling data storage, my interest are purely academic)</p>

<p>The ones I already know are:</p>

<ol>
<li>RDBMS (mysql,postgres etc..)</li>
<li>Document based approach (couchDB, lotus notes)</li>
<li>Key/value pair (BerkeleyDB) </li>
</ol>

[{'answer_id': 51030, 'author': 'Eric Z Beard', 'author_id': 1219, 'author_profile': 'https://Stackoverflow.com/users/1219', 'pm_score': 3, 'selected': False, 'text': '<p><a href="http://www.db4o.com" rel="nofollow noreferrer">db4o</a></p>\n\n<p>Quote from the "about" page:</p>\n\n<blockquote>\n  <p>db4o is the open source object database that enables Java and .NET developers to store and retrieve any application object with only one line of code, eliminating the need to predefine or maintain a separate, rigid data model. </p>\n</blockquote>\n'}, {'answer_id': 51033, 'author': 'Mark Biek', 'author_id': 305, 'author_profile': 'https://Stackoverflow.com/users/305', 'pm_score': 1, 'selected': False, 'text': '<p>Isn\'t Amazon\'s <a href="http://www.amazon.com/gp/browse.html?node=342335011" rel="nofollow noreferrer">SimpleDB</a> non-relational?</p>\n'}, {'answer_id': 51036, 'author': 'Jon Limjap', 'author_id': 372, 'author_profile': 'https://Stackoverflow.com/users/372', 'pm_score': 1, 'selected': False, 'text': '<p>db4o, as mentioned by Eric, is an <a href="http://en.wikipedia.org/wiki/Object_database" rel="nofollow noreferrer">Object-Oriented database management system</a> (OODBMS).</p>\n'}, {'answer_id': 51040, 'author': 'airportyh', 'author_id': 5304, 'author_profile': 'https://Stackoverflow.com/users/5304', 'pm_score': 1, 'selected': False, 'text': "<p>There's object-based databases(Gemstore, for example). Google's Big-Table and Amason's Simple Storage I am not sure how you would categorize, but both are map-reduce based.</p>\n"}, {'answer_id': 51048, 'author': 'Jason', 'author_id': 4752, 'author_profile': 'https://Stackoverflow.com/users/4752', 'pm_score': 2, 'selected': False, 'text': '<p>Older non-relational databases:</p>\n\n<p><a href="http://en.wikipedia.org/wiki/Network_database" rel="nofollow noreferrer">Network Database</a></p>\n\n<p><a href="http://en.wikipedia.org/wiki/Hierarchical_database" rel="nofollow noreferrer">Hierarchical Database</a></p>\n\n<p>Both mostly went out of style when relational became feasible.</p>\n'}, {'answer_id': 51055, 'author': 'John Meagher', 'author_id': 3535, 'author_profile': 'https://Stackoverflow.com/users/3535', 'pm_score': 2, 'selected': False, 'text': '<p><a href="http://en.wikipedia.org/wiki/Column-oriented_DBMS" rel="nofollow noreferrer">Column-oriented databases</a> are also a bit of a different animal.  Many of them do support standard relational database SQL though.  These are generally used for data warehouse type applications.  </p>\n'}, {'answer_id': 203408, 'author': 'TomC', 'author_id': 13183, 'author_profile': 'https://Stackoverflow.com/users/13183', 'pm_score': 1, 'selected': False, 'text': '<p>A non-relational document oriented database we have been looking at is <a href="http://incubator.apache.org/couchdb/" rel="nofollow noreferrer">Apache CouchDB</a>.</p>\n\n<blockquote>\n  <p>Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database accessible via a RESTful HTTP/JSON API. Among other features, it provides robust, incremental replication with bi-directional conflict detection and resolution, and is queryable and indexable using a table-oriented view engine with JavaScript acting as the default view definition language.</p>\n</blockquote>\n\n<p>Our interest was in providing a distributed access user preferences store that would be immune to shape changes to which we could serialize preference objects from Java and access those just as easily with Javascript from a XULRunner based client application.</p>\n'}, {'answer_id': 203535, 'author': 'Bill Karwin', 'author_id': 20860, 'author_profile': 'https://Stackoverflow.com/users/20860', 'pm_score': 2, 'selected': False, 'text': '<p><a href="http://en.wikipedia.org/wiki/Semantic_web" rel="nofollow noreferrer">Semantic Web</a> is also a non-relational data storage paradigm.  There are no relations, all metadata is stored in the same way as data, and every entity has potentially its own unique set of attributes.  Open-source projects that implement RDF, a Semantic Web standard, include <a href="http://jena.sourceforge.net/" rel="nofollow noreferrer">Jena</a> and <a href="http://www.openrdf.org/about.jsp" rel="nofollow noreferrer">Sesame</a>.</p>\n'}, {'answer_id': 293873, 'author': 'David Mathers', 'author_id': 38039, 'author_profile': 'https://Stackoverflow.com/users/38039', 'pm_score': 0, 'selected': False, 'text': '<h1>4. Navigational. Includes Tree/Hierarchy and Graph/Network.</h1>\n<p>File systems, the semantic web, XML, Object databases, CODASYL, and many others all fit into this category.</p>\n<p>Those 4 are pretty much it.</p>\n'}, {'answer_id': 411140, 'author': 'Mike', 'author_id': 41586, 'author_profile': 'https://Stackoverflow.com/users/41586', 'pm_score': 0, 'selected': False, 'text': '<p>There is also what is referred to as an "inverted index" or "inverted list" database. Software AG\'s <strong>Adabas</strong> product would be an example. As with hierachical, these databases continue to be used in large corporate or university environments because of legacy considerations or due to a performance advantage in certain situations (typically high-end transactional applications).</p>\n'}, {'answer_id': 1120345, 'author': 'Lance Roberts', 'author_id': 13295, 'author_profile': 'https://Stackoverflow.com/users/13295', 'pm_score': 0, 'selected': False, 'text': '<p>There are BASE systems (Basically Available, Soft State, Eventually consistent) and they work well with simple data models holding vast volumes of data. Google\'s BigTable, Dojo\'s Persevere, Amazon\'s Dynamo, Facebook\'s Cassandra are some examples.</p>\n\n<p>See <a href="http://queue.acm.org/detail.cfm?id=1394128" rel="nofollow noreferrer">LINK</a> </p>\n'}, {'answer_id': 2658520, 'author': 'Eric Groenendyk', 'author_id': 319231, 'author_profile': 'https://Stackoverflow.com/users/319231', 'pm_score': 0, 'selected': False, 'text': '<p>The illuminate Correlation Database is a new revolutionary non-relational database. The Correlation Database Management Dystem (CDBMS) is data model independent and designed to efficiently handle unplanned, ad hoc queries in an analytical system environment. Unlike relational database management systems or column-oriented databases, a correlation database uses a value-based storage (VBS) architecture in which each unique data value is stored only once and an auto-generated indexing system maintains the context for all values (data is 100% indexed). Queries are performed using natural language instead of SQL (NoSQL). </p>\n\n<p>Learn more at: www.datainnovationsgroup.com</p>\n'}, {'answer_id': 2658647, 'author': 'Stefano Borini', 'author_id': 78374, 'author_profile': 'https://Stackoverflow.com/users/78374', 'pm_score': 1, 'selected': False, 'text': '<p>I\'d like to detail more on Bill Karwin\'s answer about semantic web and triplestores, since it\'s what I am working on at the moment, and I have something to say on it.</p>\n\n<p>The idea behind a triplestore is to store a graph-based database, whose datamodel roots in RDF. With RDF, you describe nodes and associations among nodes (in other words, edges). Data is organized in triples :</p>\n\n<pre><code>start node ----relation----&gt; end node \n</code></pre>\n\n<p>(in RDF speech: subject --predicate--> object). With this very simple data model, any data network can be represented by adding more and more triples, provided you give a meaning to nodes and relations.</p>\n\n<p>RDF is very general, and it\'s a graph-based data model well suited for search criteria looking for all triples with a particular combination of subject, predicate, or object, in any combination. Eventually, through a query language called SPARQL, you can also perform more complex queries, an operation that boils down to a graph isomorphism search onto the graph, both in terms of topology and in terms of node-edge meaning (we\'ll see this in a moment). SPARQL allows you only SELECT (and similar) queries. No DELETE, no INSERT, no UPDATE. The information you query (e.g. specific nodes you are interested in) are mapped into a table, which is what you get as a result of your query.</p>\n\n<p>Now, topology in itself does not mean a lot. For this, a Schema language has been invented. Actually, more than one, and calling them schema languages is, in some cases, very limitative. The most famous and used today are RDF-Schema, OWL (Lite and Full), and they predate from the obsolete DAML+OIL. The point of these languages is, boiling down stuff, to give a meaning to nodes (by granting them a type, also described as a triple) and to relationships (edges). Also, you can define the "range" and "domain" of these relationships, or said differently what type is the start node and what type is the end node: you can say for example, that the property "numberOfWheels" can be applied only to connect a node of type Vehicle to a non-zero integer value. </p>\n\n<pre><code> ns:MyFiat --rdf:type--&gt; ns:Vehicle\n ns:MyFiat --ns:numberOfWheels-&gt; 4\n</code></pre>\n\n<p>Now, you can use these ontologies in two directions: validation and inference. Validation is not that fancy today, but I\'ve seen instances of use. Inference is what is cool today, because it allows reasoning. Inference basically takes a RDF graph containing a set of triples, takes an ontology, mixes them into a triplestore database which contains an "inference engine" and like magic the inference engine invents triples according to your ontological description. Example: suppose you just store this information in the database </p>\n\n<pre><code>ns:MyFiat --ns:numberOfWheels--&gt; 4\n</code></pre>\n\n<p>and nothing else. No type is specified about this node, but the inference engine will add automatically a triple saying that </p>\n\n<pre><code>ns:MyFiat --rdf:type--&gt; ns:Vehicle\n</code></pre>\n\n<p>because you said in your ontology that only objects of type Vehicle can be described by a property numberOfWheels. </p>\n\n<p>Conversely, you can use the inference engine to validate your data against the ontology so to refuse not compliant data (sort of like XML-Schema for XML). In this case, you will need both triples to have your data successfully accepted by the triplestore.</p>\n\n<p>Additional characteristics of triplestores are Formulas and Context-aware storage. Formulas are statements (as usual, triples subject predicate object) that describe something hypothetical. I never used Formulas, so I won\'t go into more details of something I don\'t know. Context awareness are basically subgraphs: the problem with storing triples is that you don\'t have anything to say where these triples come from. Suppose you have two dealers that describe the same price of a component. One says that the price is 5.99 and the other 4.99. If you just store both triples into a database, now you don\'t know anything about who stated each information. There are two ways to solve this problem.</p>\n\n<p>One is reification. Reification means that you store additional triples to describe another triple. It\'s wasteful, and makes life hell because you have to reify every and each triple you store. The alternative is context-awareness. Having a context-aware storage It\'s like being able to box a bunch of triples into a container with a label on it (the context identifier). You now can use this identifier as subject for additional statements, hence describing a bunch of triples in a single action.</p>\n'}]
['https://Stackoverflow.com/questions/51027', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2976/']