About Max Number of Labels

Hi everyone! Quick question, once I heard a 'legend' about a max number of labels that can be created in a Neo4j Db instance. Does anyone know what's this number right now for 4.1.x instances?

Thanks!

H

Hi @Bennu,

Is it the one you are looking for https://stackoverflow.com/questions/32300425/limit-of-labels-on-a-node-in-neo4j?

1 Like

Hi @nghia71,

Unfortunately, it's not. They talk about the maximum number of labels per node, I'm interested on the this limit for the entire DB. This may suggest minimum of Interger.MAX_INTEGER for this upper bound tho.

H

By "principle", would it be the same, which is Interger.MAX_INTEGER as you said?

1 Like

Hello, the current limit is 4 billion unique labels in the normal store format (when using the high limit format there shouldn't be any restrictions). We'll update the docs on format limits to include this.

1 Like