Is there a way to calculate how much disk space nodes use inside the graph?
For example, I have 1,000,000 nodes in my database. Each node has a group id field. Is there a way to calculate how much disk space is being used for all nodes that match group_id ‘XYZ’?
i.e. Group ‘XYZ’ has 24,000 nodes, and it’s taking up 3.4MB of disk space
You can get estimate sizes per predicate from the state endpoint but to get it to the results of a query you would have to count the length of each value in the result.
Shorter version of the answer: No, there is not a way to do what you want to.