无论如何要在neo4j 实例上拥有多个数据库? [英] Anyway to have multiple databases on a neo4j instance?

查看:39
本文介绍了无论如何要在neo4j 实例上拥有多个数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从关系数据库的思维方式来看,每个 neo4j 实例只有一个图数据库似乎很奇怪.我们的想法是从根开始做多个子图吗?

Coming from a relational database mindset, it seems odd that one only one one graph db per instance of neo4j. Is the idea that we do multiple subgraphs starting from root ?

谢谢

推荐答案

根"节点的概念正在消失.这有很多问题,其中大部分都与节点密度有关.

The concept of "root" node is going away. There are many problems with this, most of which revolve around node density.

我相信您的问题的核心是围绕数据库设计,以及拥有多个图形数据库实例还是一个具有多个子图的实例更智能.

I believe the heart of your question is around database design, and whether it is smarter to have several graph database instances, or one instance with several subgraphs.

这真的取决于你,但我会同意子图的想法,因为它允许你的一些数据在同一个连接中共享,如果你这样做,Neo4j 并没有真正的任何性能损失,只要你保留它们分开,那么你最终会遇到的唯一问题是节点/关系的最大大小,但这是一个人为的限制,以后会被提高.

Really it's up to you, but I would go with the subgraph idea as it allows some of your data to be shared in the same connection, and Neo4j doesn't really any performance penalties if you do this, provided you keep them separated, then the only problem you'll eventually run into is the max size of nodes/relationship, but this is an artificial limit that will be bumped up later.

这篇关于无论如何要在neo4j 实例上拥有多个数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆