concept graph datum in category graphs

appears as: graph data, graph data
Graph Databases in Action

This is an excerpt from Manning's book Graph Databases in Action.

Our primary method will be through the example of building a fictitious restaurant review and recommendation application we call DiningByFriends. As we move through the software development life cycle from planning, to analysis, to design and on to implementation, this application will demonstrate how to think about and work with graph data. Each chapter will build upon the previous chapters’ work, and by the end of this book we’ll have created a functioning application on a graph database. We believe that putting the concepts immediately to work solving a realistic set of problems, even if they are somewhat simplistic, is the best way to get comfortable using a new technology.

Traversal Source – The traversal source is a concept specific to TinkerPop. It represents the base, or starting point, which processes all traversals efficiently on the graph data. By convention, this is usually represented with the variable g and is required to begin any traversal. (Most other graph engines operate more like relational databases in this regard, and don’t expose this type of detail on every traversal.)

Neo4j in Action

This is an excerpt from Manning's book Neo4j in Action.

These experiments demonstrate that the Neo4j graph database is significantly faster in querying graph data than using a relational database. In addition, a single Neo4j instance can handle data sets of three orders of magnitude without performance penalties. The independence of traversal performance on graph size is one of the key aspects that make Neo4j an ideal candidate for solving graph problems, even when data sets are very large.

In the next section we’ll try to answer the question of what graph data actually is, and how Neo4j can help you model your data models as natural graph structures.

At depths 4 and 5, however, you see a significant degradation of performance: a query involving 4 joins takes over 10 seconds to execute, while at depth 5, execution takes way too long—over a minute and a half, although the count result doesn’t change. This illustrates the limitation of MySQL when modeling graph data: deep graphs require multiple joins, which relational databases typically don’t handle too well.