This section discusses ways to maximize your EQL query performance.
Controlling input size
The size of the input for a statement can have a big impact on the evaluation time of the query.
Filtering as early as possible
Filtering out rows as soon as possible improves query latency because it reduces the amount of data that must be tracked through the evaluator.
Controlling join size
Joins can cause the Dgraph to grow beyond available RAM. Going beyond the scale capabilities will cause very, very large materializations, intense memory pressure, and can result in an unresponsive Dgraph.
Additional tips
This topic contains additional tips for working effectively with EQL.