Questions tagged [graph-databases]

A graph database uses graph structures with nodes, edges, and properties to represent and store information.

A graph database stores nodes and relationships instead of tables, or documents. Data is stored just like you might sketch ideas on a whiteboard. Your data is stored without restricting it to a pre-defined model, allowing a very flexible way of thinking about and using it.

Popular graph database providers

Books

Articles

2926 questions
194
votes
15 answers

What scalability problems have you encountered using a NoSQL data store?

NoSQL refers to non-relational data stores that break with the history of relational databases and ACID guarantees. Popular open source NoSQL data stores include: Cassandra (tabular, written in Java, used by Cisco, WebEx, Digg, Facebook, IBM,…
knorv
  • 49,059
  • 74
  • 210
  • 294
136
votes
7 answers

What are the use cases of Graph-based Databases (http://neo4j.org/)?

I have used Relational DB's a lot and decided to venture out on other types available. This particular product looks good and promising: http://neo4j.org/ Has anyone used graph-based databases? What are the pros and cons from a usability…
Khangharoth
  • 1,701
  • 2
  • 11
  • 8
124
votes
9 answers

Neo4j - Cypher vs Gremlin query language

I'm starting to develop with Neo4j using the REST API. I saw that there are two options for performing complex queries - Cypher (Neo4j's query language) and Gremlin (the general purpose graph query/traversal language). Here's what I want to know -…
Rubinsh
  • 4,883
  • 10
  • 34
  • 41
123
votes
8 answers

Comparison of Relational Databases and Graph Databases

Can someone explain to me the advantages and disadvantages for a relation database such as MySQL compared to a graph database such as Neo4j? In SQL you have multiple tables with various ids linking them. Then you have to join to connect the tables.…
user782220
  • 10,677
  • 21
  • 72
  • 135
78
votes
2 answers

Graph Databases vs Triple Stores - when to use which?

I know that there are similar questions around on Stackoverflow but I don't feel they answer the following. Graph Databases to my understanding store data following mostly this schema: Table/Collection 1: store nodes with UID Table/Collection 2:…
B M
  • 3,893
  • 3
  • 33
  • 47
57
votes
16 answers

Graph database for .NET

I've been designing an application, based on .NET/Mono framework, which should make an heavy use of the shortest-path in a graph theories and I would like to use a native solution to traverse the nodes of the graph, instead of implementing surrogate…
Antonello
  • 1,326
  • 2
  • 16
  • 23
54
votes
4 answers

Is it a good idea to use MySQL and Neo4j together?

I will make an application with a lot of similar items (millions), and I would like to store them in a MySQL database, because I would like to do a lot of statistics and search on specific values for specific columns. But at the same time, I will…
Jonas
  • 121,568
  • 97
  • 310
  • 388
52
votes
6 answers

What is the difference between graph-based databases and object-oriented databases?

What is the difference between graph-based databases (http://neo4j.org/) and object-oriented databases (http://www.db4o.com/)?
Gili
  • 86,244
  • 97
  • 390
  • 689
48
votes
1 answer

Experiences OrientDB vs Neo4j

I am looking for the right Graph DB for a project. I tested Neo4j and really liked it. But the AGPL licensing issues put me off a little (you can read about it here). I then found a couple of articles claiming that OrientDB is actually much faster.…
Ole Spaarmann
  • 15,845
  • 27
  • 98
  • 160
46
votes
5 answers

How to model Graph data in Postgresql?

How would one go about storing and querying sparse directed or undirected graphs in Postgresql. There is something like pggraph, but that is still in planning stage. I realize dedicated graph databases like Neo4J are best suited for this. However is…
jethar
  • 2,223
  • 2
  • 22
  • 19
40
votes
5 answers

What's the Cypher script to delete a node by ID?

In SQL: Delete From Person Where ID = 1; In Cypher, what's the script to delete a node by ID? (Edited: ID = Neo4j's internal Node ID)
Rm558
  • 4,621
  • 3
  • 38
  • 43
35
votes
3 answers

A graph DB vs a Prolog (or miniKanren)

Recently I have been looking into graph databases like Neo4j and into logic programming in Prolog and miniKanren. From what I have learned so far, both allow specifying facts and relations between them, and also querying the resulting system for…
noncom
  • 4,962
  • 3
  • 42
  • 70
35
votes
8 answers

Gremlin remove all Vertex

I know how to remove a vertex by id in Gremlin. But now I'm need to cleanup the database. How do I delete multiple vertices? Deleting 1 v is like this: ver = g.v(1) g.removeVertex(ver) I mean something like SQL TRUNCATE. How do you remove…
Aleksandrenko
  • 2,987
  • 6
  • 28
  • 34
31
votes
1 answer

how to add a property to existing node neo4j cypher?

i have created a new node labeled User CREATE (n:User) i want to add a name property to my User node i tried it by MATCH (n { label: 'User' }) SET n.surname = 'Taylor' RETURN n but seems it is not affecting . how can i add properties to a…
Kanishka Panamaldeniya
  • 17,302
  • 31
  • 123
  • 193
31
votes
6 answers

What .NET-compatible graph database solution(s) have a proven track record?

I am looking for a generic graph database solution that has existing .NET-compatible infrastructure and a proven track record. I've found links to several options on Google and SO, but not a lot of information on existing implementations and usages…
smartcaveman
  • 41,281
  • 29
  • 127
  • 212
1
2 3
99 100