Where to use Neo4j

I'm really trying to learn new things ...

I have been using SQL for a long time, using MySQL and recently discovered document-oriented databases.

I came across graphical databases and Neo4j and want to try it through NodeJS, but I really don't understand.

Should I use Neo4j in combination with another database? How to store my data in MySQL and relationships in Neo4j?

Or can I use Neo4j to store data (e.g. messages)?

+4
source share
1 answer

Neo4j is often used as the primary database, see https://github.com/thingdom/node-neo4j for the node.js driver. In addition, depending on your use case, you can use it with MySQL in different scenarios for complex queries that take a lot of time in MySQL, for example recommendations and other path requests, see http://docs.neo4j.org/chunked /snapshot/data-modeling-examples.html for some interesting source examples.

/Peter

+1
source

Source: https://habr.com/ru/post/1440311/


All Articles