Vertex Primary key data type and size

The docs say: “It is recommended that the primary key data type be STRING, INT, or UINT.”.
However, UINT max size is 4294967295 (4.29B). What do you do when the vertex count exceeds this value? I know many graphs do.

Will TG introduce a LONG or BIGINT?

Thank you

We treat the INT and UNIT ID the same way with String. Internally the primary ID under in uint64 type.

So basically you can have as many as uint64 max number of vertexes in the graph database.


The day you have a graph with more than 18,446,744,073,709,551,615 vertices, let us know!