Skip to content

Possible regression in UNWIND performance with **old** gremlin Cypher engine (13 seconds to create one relation) #3148

Description

@ExtReMLapin

While waiting for fixes on new cypher "engine", I moved back to old one.

Trying to execute this query :

UNWIND $batch as row
MATCH (a),(b) WHERE ID(a) = row.source_id and ID(b) = row.target_id 
MERGE (a)-[r:in]->(b)RETURN a, b, r

With a batch size of ~700 it was taking ages, so in the debugger, i tried with only one entry and jesus ... it took 13 seconds to create one relation.
I restarted my arcadedb multiple times, issues happens again and again on OLD cypher engine

micro batch size entry :

{"batch": [{"source_id": "#10:0", "target_id": "#1:3", "features": {}, "relation_type": "in"}]}

chrome_FJuNOEDqBz.mp4

database dump :

SDJFKLSDJFKLS-backup-20260115-160216620.zip

Metadata

Metadata

Assignees

Labels

wontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions