-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
explain execution plan display #64
Comments
The auto_explain module can be used to get details about nested statements.
In my case, the info was written to the log file |
Thanks for your guide. |
I am currently attempting to add EXPLAIN, in its simple forms, to the openCypher grammar in AGE. But, at this point, I can't guarantee that it will be successful or useful. John |
EXPLAIN has been added to the master repository. It is available by pulling the latest source down - not the latest release. In order to use it, you will need to put the EXPLAIN inside of the cypher function. For example -
|
I pulled the latest source down from age-github. SELECT * FROM cypher('test_graph', $$EXPLAIN MATCH p=(a)-[v]->(b)
|
explain
SELECT *
FROM cypher('graph_name', $$
MATCH (a:Person), (b:Person)
WHERE a.name = 'Node A' AND b.name = 'Node B'
with a,b
match(a)-[e:RELTYPE]->(b)
where b.born > 1999
RETURN a
$$) as (a agtype);
QUERY PLAN
Function Scan on cypher (cost=0.00..10.00 rows=1000 width=32)
(1 row)
Explain about Cypher is simply displayed as Function Scan on Cypher.
How can I see the plan information for the Cypher statement?
The text was updated successfully, but these errors were encountered: