How to check the DQL execution plan

There’s no way to check if the DQL is optimized or not. If you think the performance is not upto the mark, then we can take a look and help you see how to optimize it. The query will get executed just as you input it. You could look at the traces generated by Dgraph to see what the query did.