简体   繁体   English

在哪里使用Neo4j

[英]Where to use Neo4j

I'm actually trying to learn new things... 我其实是在尝试学习新事物......

I used SQL for a long time, using MySQL and recently discovered document-oriented databases. 我使用SQL很长一段时间,使用MySQL和最近发现的面向文档的数据库。

I came across graph-databases & Neo4j and want to try it through NodeJS but I really don't get the point. 我遇到了图形数据库和Neo4j,并希望通过NodeJS尝试它,但我真的不明白这一点。

Should I use Neo4j coupled with another DB? 我应该使用Neo4j和另一个DB吗? Like storing my data into MySQL & relationships in Neo4j? 就像将我的数据存储到MySQL和Neo4j中的关系一样?

Or may I use Neo4j to store data (like posts)? 或者我可以使用Neo4j存储数据(如帖子)?

Neo4j is often used as the primary database, see https://github.com/thingdom/node-neo4j for a node.js driver. Neo4j通常用作主数据库,请参阅https://github.com/thingdom/node-neo4j获取node.js驱动程序。 Also, depending on your use case, you can use it with MySQL in different scenarios for complex queries that take a long time in MySQL like recommendations and other path queries, see http://docs.neo4j.org/chunked/snapshot/data-modeling-examples.html for some interesting starting examples. 此外,根据您的使用情况,您可以在不同情况下将其与MySQL一起用于在MySQL中花费很长时间的复杂查询,例如建议和其他路径查询,请参阅http://docs.neo4j.org/chunked/snapshot/data -modeling-examples.html用于一些有趣的起始示例。

/peter /彼得

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM