Live data from Hacker News

Graph Databases 101

cray.com

11–20 of 107 posts

Re: Graph Databases 101

#11
post #9
post #4

Earlier quoted context omitted.

ArangoDB is free open source multi model no-sql db that has decent¹ perfomance with graph support: https://www.arangodb.com ¹ https://www.arangodb.com/2015/10/benchmark-postgresql-mongod...

"The performance will suffer if the dataset is much bigger than the memory." That is a huge drawback when compared to relational databases. A good follow-up question would be: which open-source graph databases can reasonably import and store graph data that's not small -- that is, more data than fits in than RAM? Without proprietary extensions?

Blazegraph Virtuoso Jena tdb

Can easily load large to very large graphs.

Re: Graph Databases 101

#13
post #9
post #4

Earlier quoted context omitted.

ArangoDB is free open source multi model no-sql db that has decent¹ perfomance with graph support: https://www.arangodb.com ¹ https://www.arangodb.com/2015/10/benchmark-postgresql-mongod...

"The performance will suffer if the dataset is much bigger than the memory." That is a huge drawback when compared to relational databases. A good follow-up question would be: which open-source graph databases can reasonably import and store graph data that's not small -- that is, more data than fits in than RAM? Without proprietary extensions?

Looks like they have persistent indexes in the roadmap (ver 3.0) https://www.arangodb.com/roadmap/ which might help.

Re: Graph Databases 101

#15
post #5
post #2

Question as someone new to graph databases: Are there any open source graph databases worth looking into?

Depends on what kind of data and graph you are going to store/use. Neo4j is quite popular, cypher isn't very hard to learn, and it has lots of examples. Might be a good choice for a beginner. https://en.wikipedia.org/wiki/Graph_database#List_of_graph_d...

But if you want to scale to more than two instances you will have to pay a $50k license. $50.000,00 dollars. Which is far too expensive for startups.

Re: Graph Databases 101

#16
post #15
post #5

Earlier quoted context omitted.

Depends on what kind of data and graph you are going to store/use. Neo4j is quite popular, cypher isn't very hard to learn, and it has lots of examples. Might be a good choice for a beginner. https://en.wikipedia.org/wiki/Graph_database#List_of_graph_d...

But if you want to scale to more than two instances you will have to pay a $50k license. $50.000,00 dollars. Which is far too expensive for startups.

I didn't pay $50k. Make them an offer. Seriously.

Re: Graph Databases 101

#17
post #6
post #2

Question as someone new to graph databases: Are there any open source graph databases worth looking into?

Cayley is a good option; we use it in production. https://github.com/google/cayley

Might I ask what sort of dataset size, servers etc you are using? I'm looking for an graph database and Cayley seems the best fit, though I'm not sure what sort of limits on the data there would be in the real world.

Re: Graph Databases 101

#18
1-Would it be more efficient to store objects that contain its relations if you only do (simple) read operations? (e.g. JSON database)

2-Instead, do graph DB engines try to break through bottlenecks for big data and analytics scenarios?

Re: Graph Databases 101

#19
post #7
post #5

Earlier quoted context omitted.

Depends on what kind of data and graph you are going to store/use. Neo4j is quite popular, cypher isn't very hard to learn, and it has lots of examples. Might be a good choice for a beginner. https://en.wikipedia.org/wiki/Graph_database#List_of_graph_d...

> cypher isn't very hard to learn Oh but I love a challenge. Are there reasons to choose cypher besides a gentle learning curve?

Not really, if you learn Cypher you should be fine learning the basics of Gremlin, SPARQL, or other languages to operate on graphs in a few hours.

There was some post about enabling SPARQL in Neo4J, but when you install Neo4J it comes with cypher by default (not sure if it supports anything else).

I use Apache Jena + SPARQL, but had to use Neo4J to help in a master thesis. Took me a few hours of "How the heck can I do that same thing I'd do in SPARQL that way?", plus some reading of the tutorials.

Edit: some old post with example of Cypher, Gremlin and SPARQL: http://kinoshita.eti.br/2014/09/09/cypher-gremlin-and-sparql...

Re: Graph Databases 101

#20
post #6
post #2

Question as someone new to graph databases: Are there any open source graph databases worth looking into?

Cayley is a good option; we use it in production. https://github.com/google/cayley

Is Cayley mature enough for production? I thought it was still relatively new. Would love to know a little more about how you're using it.
Post reply on HN