Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Neo4j eases relationship traversals => especially useful for a social network for instance.

But are there any scenarios when it's advised to associate an additional relational database (or other NoSQL database that isn't specifically oriented graph) for specific query types.

In short, can Neo4j be sufficient to itself for all query tasks?

share|improve this question
    
Given that the only operations in SQL are essentially join and filters, and that filters are trivial in Neo4j, while joins can be simulated by following a relation with a given name, I would say yes. I am not sure that it would be a very efficient way to query, though. –  Andrea Jan 11 '13 at 15:35

1 Answer 1

up vote 1 down vote accepted

I tend to think of it this way. SQL relational databases are tuned to run SQL queries as fast as possible, whether or not that is the best way to represent your data.

Each of the NoSQL products have generally arisen because SQL databases are not a good match for representing a particular type of data, and are tuned for that use. If you are using a well respected product for the problem its designed to solve, then you are probably in good shape.

Go outside this, and it tends to bite you.

share|improve this answer
    
That's clear, thanks :) –  Mik378 Jan 12 '13 at 17:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.