Questions tagged [graph-databases]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
2 answers
174 views

Should I store large amounts of data in the properties of a node in a graph database?

I'm building a reddit clone on top of software that must incorporate a legacy neo4j graph database to track user actions. I also want to use it to store the comment/post data. Assuming this new app is ...
Austin Capobianco's user avatar
0 votes
1 answer
122 views

Designing a graph database structure for an application with a large amount of connections

I'm looking for advice on how to design the data model for a project I'm working on. I'm not really sure where to ask such a question. I've been using StackOverflow for years, but this problem is a ...
Shaggydog's user avatar
  • 101
0 votes
0 answers
100 views

Is graph database suitable for accounting like software?

The problem: We have a business process where we need to record many transactions between parties. At the same time, the products&services that transactions are for can fall into many categories ...
tlzg's user avatar
  • 113
4 votes
0 answers
135 views

How do you shard a graph database or graph data?

Imagine I have graph data that is beyond the size of a single machine. How would you shard a graph database? I asked on Hacker News and people suggested sharding based on a hash of the predicate-...
Samuel Squire's user avatar
-1 votes
1 answer
326 views

How to model a ternary relationship in a graph-based paradigm?

Consider a context where we have Users saving Questions and adding personal Tags to them. In a graph-based paradigm, a first approach could be something like: (User)-[SAVES {tags}]->(Question) ...
ssn's user avatar
  • 71
0 votes
1 answer
128 views

Solution design leveraging Graph and Relational database types

Is it viable to leverage both a graph db and a relational db at the same time for the same data sets? Does it even make sense to approach the solution this way? Thinking is i use nodes and ...
Aeseir's user avatar
  • 247
0 votes
1 answer
599 views

How does a database update trigger a notification to application layer?

Application component 1(ap1) record/insert/update a new state in graph database(neo4j) For every new state change in the database, application component 2(ap2) needs to be informed/notified that a new ...
overexchange's user avatar
  • 2,265
2 votes
1 answer
587 views

Neo4j graph performance: should I cache slow queries in a separate database?

Setup/Intro I have 10k+ nodes in my Neo4j graph in which I need to display a sub-graph (100-500 nodes) between 2 start/end nodes on the frontend app along with info about the critical path and all ...
IamMowgoud's user avatar
-3 votes
1 answer
138 views

Tracking Graph edges changes history

i have a graph and transactions which change the relationship between the graph nodes and i need to keep tracking of this changes over time. Kinde of queries i need to execute: I want to see the ...
Ebrahim Ze's user avatar
1 vote
0 answers
43 views

Queries as a service for other applications (neo4j)

I am new to neo4j and the graph I'm shaping will be used by third party applications for some fixed (cypher) queries - we can think about the classical "Who is friend of Alice?" question. I'd like ...
watery's user avatar
  • 197
2 votes
1 answer
241 views

Data modeling user-object permissions, between claims and metadata

I've been thinking about how to map user claims to permissions in a way that scales from a read and write perspective, probably using a stand-alone service. What we have today doesn't scale for ...
Jeff Putz's user avatar
  • 154
4 votes
2 answers
1k views

How to properly use a database containing common tables in a multi-application system?

I'm trying to determine the best application and database architecture for a project I am working on. The idea is that there will be multiple, separate applications that will all share a few tables ...
SegFaultDev's user avatar
5 votes
2 answers
463 views

In a graph database, how do I know whether to use a node, node property or relationship property?

For example, given node types User and Post, and expressing that a user posted something on Twitter, what factors would I need to consider in deciding between: (u:User)-[posted]->(p:Post {platform:...
Isvara's user avatar
  • 630
5 votes
2 answers
1k views

Is there something "dirty" about using a non-linear store in Event Sourcing?

I just stumbled upon an article by Lucas Majerowicz titled "Add git-like functionality to your application using Event Sourcing". In it, he describes using Event Sourcing with events stored ...
eggyal's user avatar
  • 189
3 votes
1 answer
1k views

In what way is an XML database different from (is not specialization of) a graph database?

XML is labelled tree, a special case of graphs. So, why there are separate XML databases and why is it that XML is not stored in graph databases? At a first glance it seems so easy - one should map ...
TomR's user avatar
  • 1,003
1 vote
1 answer
606 views

graph database - how to avoid that the edge becomes a vertex

In my current project I have a situation where I would need to use an edge collection as vertex collection. I would like to find a way to avoid it. This is the (reduced) scenario. These are the ...
Richard Burkhardt's user avatar
5 votes
0 answers
524 views

Graph Database, Storing Transactions

I'm working on getting a handle on Graph Databases (using Neo4j) and am trying to wrap my head around where "the line" is between what makes a good fit for GraphDBs and what should be strictly RDBMSs. ...
jleach's user avatar
  • 2,682
1 vote
2 answers
1k views

How to design the datamodel of nested categories connected to a note?

I am building a personal app to store my notes in. It is not a new concept, of course, but it is giving me a great project to learn Node.JS together with trying out a graph database: Neo4j. What I am ...
PIDZB's user avatar
  • 233
9 votes
2 answers
3k views

How Graph DB stores the data?

Recently read couple of Graph DB tutorials. Most of them tell what is Graph DB/when to use/fetch syntax but no where found high level description how GraphDB stores the data internally to understand ...
user3198603's user avatar
  • 1,896
1 vote
0 answers
919 views

How can I represent my graph schema in a REST interface?

Abstract I'm working on a REST interface to a graph database (Titan/Gremlin-Server, but this shouldn't matter) that has a strong sense of type for vertices and edges. I'd like to design a REST API ...
Louis Thibault's user avatar
0 votes
2 answers
382 views

Searching, storing, and finding graph attributes and vertices

I've been reading the 3rd edition of [Algorithms][1] by Cormen, Leiserson, Rivest and Stein. For DFS and BFS their algorithm loops through all the vertices first and colors them white. 1) If the ...
drewsmug's user avatar
  • 111
2 votes
1 answer
127 views

Might this be a good candidate for a graph database? [closed]

We need to create an application that must diff relationships between entities. As an example, let's say we're creating an application to model instances of a disease amongst pets, and we ...
ttrmw's user avatar
  • 31
4 votes
3 answers
7k views

Graph database keeping historical relationships

I'm starting the modeling of the following problem: I have many clients (millions) that interact in a network forming a graph. At the highest granularity of my business problem, each realationship ...
Henrique Barcelos's user avatar
4 votes
3 answers
2k views

Relational vs Graph Database for (initially) moderately-sized network

We're developing an application whose data domain (or at least 90% of it) can be modeled effectively using a relational database. We've been using PostgreSQL since the beginning and have had no ...
Tony E. Stark's user avatar
11 votes
1 answer
337 views

Algorithm to generate Edges and Vertexes outwards from origin with max multiplicity of 3

I am creating a 2d game for a website where the universe can grow extremely large (basically infinitely large). Initially, the universe is composed of 6 stars that are an equal distance from the ...
John F.'s user avatar
  • 111
0 votes
1 answer
134 views

What business value does a semantic platform offer that a graph database doesn't [closed]

We hear a lot about graph databases such as Neo4J and a little less about semantic platforms such as OWLIM and similar triple (or quad) stores. I understand the latter is associated with embedded OWL ...
Simon Gibbs's user avatar
3 votes
1 answer
641 views

How can I model this scenario in a graph database?

I'm developing an application where users can tag resources and it's also important to know who tagged the resource with a specific tag. A graph database seems like a good fit for this and the rest ...
Phil's user avatar
  • 39
22 votes
3 answers
34k views

Why would I use ElasticSearch if I already use a graph database?

I don't find any deep explanation on the web about a comparison between ElasticSearch and the graph databases. Both are optimized to traverse data. ElasticSearch seems to be optimized for analytics. ...
Mik378's user avatar
  • 3,888
2 votes
1 answer
135 views

Which approach would be better for persisting these overridable configuration keys and values? A simple key-value store, or a graph database?

I'm creating a system where there are config keys and values. So for example: config.key = 10 Is an example of a configuration key and a value. These keys can also have overrides based on "...
Vivin Paliath's user avatar
3 votes
2 answers
3k views

Designing a social network with CQRS, graph databases and relational databases in mind

I have done quite an amount of research on the topic so far, but i couldn't come up with a conclusion to make up my mind. I am designing a social network and during my research i stumbled upon graph ...
sm_'s user avatar
  • 137
4 votes
2 answers
403 views

How does I/O work for large graph databases?

I should preface this by saying that I'm mostly a front end web developer, trained as a musician, but over the past few years I've been getting more and more into computer science. So one idea I have ...
tjb1982's user avatar
  • 249
3 votes
0 answers
1k views

How to link the data of MongoDB and Neo4j?

I want to implement a system which store the profiles of employee and the resources that they have. There are many types of resources, such as the documents they produced, the techniques they have......
LoveTW's user avatar
  • 151
2 votes
1 answer
308 views

Would a model like this translate well to a document or graph database?

I'm trying to understand what types of models that I have traditionally persisted relationally would translate well to some kind of NoSQL database. Suppose I have a model with the following ...
Eric's user avatar
  • 123
10 votes
7 answers
1k views

Nested Entities and calculation on leaf entity property - SQL or NoSQL approach

I am working on a hobby project called Menu/Recipe Management. This is how my entities and their relations look like. A Nutrient has properties Code and Value An Ingredient has a collection of ...
Chandu's user avatar
  • 203
3 votes
2 answers
375 views

Under which area of Artificial Intelligence is my knowledge store?

I've a maturing idea regarding a knowledge store. For the purposes of this question, the store would be used by a police force for the recording and querying of crimes. I believe that historically,...
ianmayo's user avatar
  • 143
2 votes
1 answer
1k views

Architecture for Social Graph data that has a Time Frame Associated?

I am adding some "social" type features to an existing application. There are a limited # of node & edge types. Overall the data itself is relatively small (50,000 - 70,000 for each type of node)...
Jay Stevens's user avatar
33 votes
1 answer
29k views

When should you use a document vs relational vs graph database? [closed]

For the purposes of discussion let's consider a FourSquare scenario. Scenario Entities: Users Places Relationships: Checkins: users <-> places, many to many Friends: users <-> users, many ...
wting's user avatar
  • 1,034
4 votes
1 answer
311 views

What are graph datastores better at doing than other datastores and why?

Where previously there was only relational databases, the data store world is now rife with options like Key-Value, Document, and Graph datastores. Unfortunately, every datastore likes to show how it ...
cdeszaq's user avatar
  • 322
2 votes
2 answers
519 views

Tool for large scale graph analysis

What are the best tools / frameworks / libraries available to implement and run algorithms on graphs? In particular I need a tool that can load a set of nodes, edges and values assigned to these ...
Chris's user avatar
  • 215
1 vote
3 answers
2k views

Is OrientDB document-database? or graph-database?

Some document says OrientDB is document-database, some others talks it's graph-database. What's right?
Eonil's user avatar
  • 1,739