1

I'm new to neo4j. I installed it a few hours ago and started following the tutorial described in the guide. At most, I created 7 or 8 nodes, and one type of relationship (Knows). I've reaopened neo4j and the dashboard tells me that there are 1870 nodes, 1546 properties, and 2326 relationships. When I go to the data browser, i can actually see node 1870. This still confuses me, even after having seen this posts: Neo4j Overview Dashboard returns wrong node/relationship/property counts? or this other one: Why is neo4j webadmin reporting incorrect node/relationship/property counts?

What I i understood from them was that the dasboard doesn't necessarily show the real quantity of nodes, relationships, etc. But then, why can I actually see node 1870? Doesn't this afect whatever graph I'm trying to create? I imagine it does affect it, and that i have to delete the .db dile to start again? Thanks in advance

4

1 回答 1

4

仪表板应该是用于节点、rels 和 props 的最高 id - 而不是精确计数。ID 是分块请求的,这就是您看到差异的原因。

对于确切的节点数,请执行以下操作:

start n=node(*) return count(n)
于 2013-08-13T10:49:26.363 回答