Hello @MichelDiz, Both the queries(with/without batch) still is getting timed out(after 30 seconds), even after upgrading to below configuration.
RAM - 16GB
Disk - SSD(IOPS limit: 1,000, IOPS burst limit: 10,000).
Batch Query
upsert {
query {
var(func: type(Equipment), first: 10000, offset: 0) @filter(eq(scopes,OFR)){
eq1 as uid
}
var(func: type(Equipment), first: 10000, offset: 10000) @filter(eq(scopes,OFR)){
eq2 as uid
}
var(func: type(Equipment), first: 10000, offset: 20000) @filter(eq(scopes,OFR)){
eq3 as uid
}
var(func: type(Equipment), first: 10000, offset: 30000) @filter(eq(scopes,OFR)){
eq4 as uid
}
var(func: type(Equipment), first: 10000, offset: 40000) @filter(eq(scopes,OFR)){
eq5 as uid
}
var(func: type(Equipment), first: 10000, offset: 50000) @filter(eq(scopes,OFR)){
eq6 as uid
}
var(func: type(Equipment), first: 10000, offset: 60000) @filter(eq(scopes,OFR)){
eq7 as uid
}
var(func: type(Equipment), first: 10000, offset: 70000) @filter(eq(scopes,OFR)){
eq8 as uid
}
var(func: type(Equipment), first: 10000, offset: 80000) @filter(eq(scopes,OFR)){
eq9 as uid
}
var(func: type(Equipment), first: 10000, offset: 90000) @filter(eq(scopes,OFR)){
eq10 as uid
}
var(func: type(Equipment), first: 10000, offset: 100000) @filter(eq(scopes,OFR)){
eq11 as uid
}
var(func: type(Equipment), first: 10000, offset: 110000) @filter(eq(scopes,OFR)){
eq12 as uid
}
var(func: type(Equipment), first: 10000, offset: 120000) @filter(eq(scopes,OFR)){
eq13 as uid
}
var(func: type(Equipment), first: 10000, offset: 130000) @filter(eq(scopes,OFR)){
eq14 as uid
}
}
mutation {
delete {
uid(eq1) * * .
uid(eq2) * * .
uid(eq3) * * .
uid(eq4) * * .
uid(eq5) * * .
uid(eq6) * * .
uid(eq7) * * .
uid(eq8) * * .
uid(eq9) * * .
uid(eq10) * * .
uid(eq11) * * .
uid(eq12) * * .
uid(eq13) * * .
uid(eq14) * * .
}
}
}
The only difference is that we do not observe any OOM errors, but the delete is still not successful. We have also setup monitoring and below is the screenshot for your reference.