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.
Note
This feature is available starting with Release 1.0.1.0.200463.0 (2019-10-15).