nebulaGraph 性能优化问题


您好,如图我改造成用match的方式也不行

profile 加在这个语句前面,看下生成的执行计划。我们再优化下呢

现在有1200万的顶点了,这个语句跑不出来,profile生成不了

使用find noloop path的方式倒是能跑出数据,但是无法group by


find noloop path from "player100" to "player101" over * bidirect upto 2 steps yield path as p | yield nodes($-.p) as pp | yield $-.pp[0] as src, $-.pp[2] as dst, $-.pp[1] as neighbor | group by $-.neighbor yield $-.neighbor, count($-.dst)

2 个赞

感谢大佬,这种方式可行,再请教一下order by 和 limit怎么写呢,我尝试了几种都报语法错误了

这个直接看语法吧

好的,感谢

学习了,find path 的文档没有写 group by。- -,我没写对语句,报错了,我就以为 group by 不支持。

1 个赞

此话题已在最后回复的 7 天后被自动关闭。不再允许新回复。