age icon indicating copy to clipboard operation
age copied to clipboard

How many vertex & edges can be added into a graph?

Open ccnick16 opened this issue 1 year ago • 4 comments

Hi

When I try to use load_labels_from_file to import vertex from a csv file, I got an error said:

pq: entry_id must be 1 .. 281474976710655

the vertex's id in csv is a uint64_t integer value.

if I change the id to a uint32_t,then all vertex in csv can be loaded succedded.

Is this means the maximum vertex number is 281474976710655 ?

ccnick16 avatar Apr 13 '24 06:04 ccnick16

Is this means the maximum vertex number is 281474976710655 ?

Yes, and that is the maximum for edges too. Though, this limitation applies per graph.

rafsun42 avatar Apr 16 '24 00:04 rafsun42

OK, Just worndering why not use 64 bits length

ccnick16 avatar Apr 21 '24 02:04 ccnick16

@wen-bing The actual ID is only 48 bit. Rest of the 16 bit is reserved for label ID to gain some performance benefits. Do you need to store more than 281474976710655 vertices?

rafsun42 avatar Apr 23 '24 19:04 rafsun42

This issue is stale because it has been open 60 days with no activity. Remove "Abondoned" label or comment or this will be closed in 14 days.

github-actions[bot] avatar Jun 23 '24 00:06 github-actions[bot]

This issue was closed because it has been stalled for further 14 days with no activity.

github-actions[bot] avatar Jul 07 '24 00:07 github-actions[bot]