Skip to content

automatic substructure dense nodes #614

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

Open
jexp opened this issue Sep 29, 2017 · 0 comments
Open

automatic substructure dense nodes #614

jexp opened this issue Sep 29, 2017 · 0 comments

Comments

@jexp
Copy link
Member

jexp commented Sep 29, 2017

Add procedures to automatically create and update multi-level trees for multi-million relationship-dense nodes to reduce read and write contention.

Procedures

  • apoc.dense.create.relationship(n1,type,props,n2)
  • apoc.dense.delete.relationship(n1,type,props,n2)

Function/Procedure

  • apoc.dense.relationships(n1,type[,props],level/count)

create a tree with levels that will be filled with (1k,10k relationships per tree-node (and another 100-1k relationships to the next level of tree-nodes) and if it is full, a new level is added, where the next n relationships will be sent to).

million-rel-substructure-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Blocked
Development

No branches or pull requests

3 participants