database performance - Limit of labels on a node in Neo4j -


is there limit on number of labels can put on nodes in neo4j? ramifications of lots of labels on performance of inserts? thanks

in theory number of labels unlimited (not sure think integer.max_value). in practice should have few labels reasonable on single node. first 4-5 (don't remember exact number) labels stored directly node. remaining labels stored in different location internally. reading node having more 4-5 labels might result in io operation.

upon write operation every labels cause burden since labels self-indexing , therefore neo4j needs write labelscanstore label.

most graphs i've seen far (and that's quire few ;-) ) don't have more 3 labels on single node.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -