8 process parallel query dgraph, in less than a minute, memory runs out

dgraph version v1.0.15
3 node: 16core64GB
each data size: 180GB,380GB,440GB

my query is very simple, use pydgraph==1.2.0,my dgraph version is 1.0.15
but the query time is very long, 7 seconds on average

query = “”“query all($a: string, $value: string) {
all(func: eq(type, $a))@filter(eq(value, $value)) {
uid
type
value
}
}”""
variables = {’$a’: ‘PERSON’, ‘$value’: value}
t0 = time.time()
res = client.txn(read_only=True).query(query, variables=variables)
ppl = json.loads(res.json)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.