I have a batch search and mutation with 200000 datas.
data schema has index predicate
What I did
I will search first:
query1(func: type(ip_address)) @filter(eq(ip_address.id, “xxx”)) {
uid
dgraph.type
other…
}
… so many
query200000(func: type(xxxx))@filter(eq(xxx,“xxx”) and @filterxxx{xxxx}
my data is 400M in disk
but memory used more than10G and out of memory
so what can I do?
purpose :
I want to find uid firstly, and put uid to every data json uid and update them