-
Hi I have been ingesting data to my three server nebula cluster (meta, graph and storage all running on each server). When I try to count the edges the graphd process crashes, seemingly due to memory shortage:
As I understand it, this is the operating system killing the process due to taking too much memory. The machines have 15,5 gb memory each. What should I do to make my query stable? I am running nebula 3.2.0. Details:
after ingesting data I have done this to be able to count the objects:
Then I do:
But get:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Dear @joruxs For now, the equivalent query of above MATCH:
is more optimal from a resource-consuming perspective(ref). But still as there is no count pushdown in storage side, they are all expensive in both query patterns now. Another option is to leverage the stats job(async job), but it's limited to getting stats per edge type/tag:
ref: https://docs.nebula-graph.io/3.2.0/3.ngql-guide/7.general-query-statements/6.show/14.show-stats/ |
Beta Was this translation helpful? Give feedback.
Dear @joruxs
For now, the equivalent query of above MATCH:
is more optimal from a resource-consuming perspective(ref).
But still as there is no count pushdown in storage side, they are all expensive in both query patterns now.
#4137
Another option is to leverage the stats job(async job), but it's limited to getting stats per edge type/tag: