You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have shacl validations setup through the call: CALL apoc.trigger.add("shacl-validate", "call n10s.validation.shacl.validateTransaction($createdNodes, $createdRelationships, $assignedLabels, {}, $assignedNodeProperties, {}, $deletedRelationships, $deletedNodes)", { phase: "before" });
The shacl file is pretty basic. It validates each property usually for datatype, min/max value, and validations relationships. When trying to insert nodes, this is extremely fast when the node count isn't very large. When there are say 5 million nodes, the schema validations take an incredible long time (over a minute). If I am not mistaken, this validation is supposed to be specific for a transaction and not the entire database so I am unsure why it's not scaling with the number of nodes. Any suggestions would be greatly appreciated.
n10s version: 4.4.0
I have shacl validations setup through the call:
CALL apoc.trigger.add("shacl-validate", "call n10s.validation.shacl.validateTransaction($createdNodes, $createdRelationships, $assignedLabels, {}, $assignedNodeProperties, {}, $deletedRelationships, $deletedNodes)", { phase: "before" });
The shacl file is pretty basic. It validates each property usually for datatype, min/max value, and validations relationships. When trying to insert nodes, this is extremely fast when the node count isn't very large. When there are say 5 million nodes, the schema validations take an incredible long time (over a minute). If I am not mistaken, this validation is supposed to be specific for a transaction and not the entire database so I am unsure why it's not scaling with the number of nodes. Any suggestions would be greatly appreciated.
This is a subset of the shacl file as an example
The text was updated successfully, but these errors were encountered: