Skip to content
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

Query node by graphid slow #2152

Open
xuan2orange opened this issue Feb 14, 2025 · 0 comments
Open

Query node by graphid slow #2152

xuan2orange opened this issue Feb 14, 2025 · 0 comments
Labels
question Further information is requested

Comments

@xuan2orange
Copy link

xuan2orange commented Feb 14, 2025

Hi,

I have a query like this:

EXPLAIN ANALYZE SELECT * FROM cypher('graph_name', $$ MATCH (V:Nodetype) WHERE id(V)=1036234240758848 RETURN V $$) as (V agtype);

it costs 1 second.

Parallel Seq Scan on "Nodetype" "V_2" (cost=0.00..44406.69 rows=1758 width=321) (actual time=1225.284..1225.284 rows=0 loops=3) Filter: (age_id(_agtype_build_vertex(id, _label_name('78689'::oid, id), properties)) = '1036234240758848'::agtype) Rows Removed by Filter: 281228 Planning Time: 0.404 ms Execution Time: 1241.129 ms

What can i do to make this query fast?

Thanks.

@xuan2orange xuan2orange added the question Further information is requested label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant