Skip to main content
Constructs a query execution plan but does not run it. Inspect this execution plan to better understand how your query will get executed. Arguments: Graph name, Query Returns: String representation of a query execution plan

Frequently Asked Questions

No. GRAPH.EXPLAIN only constructs the execution plan without running the query. No data is read or modified. Use GRAPH.PROFILE if you want to execute the query and see runtime metrics.
The execution plan shows the sequence of operations (scans, filters, traversals, projections) the engine will perform. This helps you understand whether indexes are being used and identify potential performance bottlenecks.
In the execution plan output, look for operations like Index Scan instead of Node By Label Scan. An index scan indicates the query is leveraging an index for faster lookups.
Yes. You can pass parameterized queries to GRAPH.EXPLAIN using the same CYPHER param=val syntax as GRAPH.QUERY.