Analyzing Neptune query execution using Gremlin explain - Amazon Neptune
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Analyzing Neptune query execution using Gremlin explain

Amazon Neptune has added a Gremlin feature named explain. This feature is a self-service tool for understanding the execution approach taken by the Neptune engine. You invoke it by adding an explain parameter to an HTTP call that submits a Gremlin query.

The explain feature provides information about the logical structure of query execution plans. You can use this information to identify potential evaluation and execution bottlenecks and tune your query, as explained in Tuning Gremlin queries. You can also use query hints to improve query execution plans.