The moose likes JDBC and the fly likes differences between MongoDB and a graph db Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JDBC
Reply Bookmark "differences between MongoDB and a graph db" Watch "differences between MongoDB and a graph db" New topic
Author

differences between MongoDB and a graph db

Alessandro Ciccimarra
Greenhorn

Joined: Jan 18, 2012
Posts: 4
Good morning Kyle,

when about differences between MongoDB and a graph db such as Neo4j?
Billy Boyle
Greenhorn

Joined: Feb 14, 2007
Posts: 4
Document Databases (such as MongoDb) are very similar to GraphDBs (such as neo4j). The big difference is the ability of a graph database to create relationships between the nodes. A small note on terminology: what a GraphDB calls a node is very similar to a document in a document database. The relationship component of the GraphDB allows for very quick querying of data.


Thanks,<br />Billy B
Kyle Banker
author
Greenhorn

Joined: Nov 22, 2011
Posts: 16
Hi Alessandro,

There are quite a few differences. The primary purpose of a graph database is to represent graphs and provide easy traversal of them. MongoDB, on the other hand, has been build as a generic data store with a rich query language that can replace a relational database or a key-value store for a number of use cases (web applications, e-commerce, caching, sessions storage, analytics, etc.).

Kyle
Alessandro Ciccimarra
Greenhorn

Joined: Jan 18, 2012
Posts: 4
Thank you very much for the explanations :-)
 
 
subject: differences between MongoDB and a graph db
 
Threads others viewed
MongoDB vs Hadoop
Servlets Container
class vs. interface
WA #2 ..... word association
overriding and overloading
MyEclipse, The Clear Choice