-2
我有以下问题,即我需要解决的高效查询,和灵活的性能扩展:什么数据库可用于以下场景?
节点:
node_id1
node_id2
node_id3
node_id4
node_id5
组:
node_id1;node_id2;node_id3
node_id4;node_id5
node_id1 < node_id2 < node_id3 => node_id1;node_id2;node_id3
(唯一的组ID从最小到最大)
性能:
node_id1: color:red
node_id2: color:blue
node_id3: color:blue
结果:
node_id1;node_id2;node_id3: color:red:1,blue:2 size:3 ... etc
关系类型:需要速度优化
node_id -IS_IN -> group
操作:
get groups by group properties, ex: color restrictions, min/max size, etc
get all groups for given node_id
update group properties when contained node_id property gets modified (can this be implemented in a smart way without too many lines of code?)
,你会推荐什么样的数据库? mysql,neo4j,arangodb,mongodb,其他?
他列出的系统并非都是关系型的。 – philipxy
有几个我不熟悉的情况下,我会推荐使用RDBMS。 –