Do I have to split relations of a node into domains?

15 views
Skip to first unread message

Frandro

unread,
Jul 19, 2014, 7:46:59 PM7/19/14
to ne...@googlegroups.com
In my case, as the edges of a node grow the performance becomes worse.
My use case includes traversing all neighbor nodes and their neighbor nodes. But the problem is that their relations of two types are growing.

I've read the following board.

There's a comment that recommends creating a meta node to have the most edges of the node.
Another one is saying the problem will be mitigated in Neo4j 2.1.

Any helpful comments will be appreciated.

Mattias Persson

unread,
Aug 1, 2014, 8:23:54 AM8/1/14
to Neo4j Development
The two approaches are essentially them same, although in 2.1 the "meta node" benefits are built into the store format.

If you're querying relationships that are in a minority group (type+direction) there's a good benefit, but if you query relationships in a majority group, i.e. the most common type+direction, the benefit is not as good.


--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Mattias Persson
Neo4j Hacker at Neo Technology
Reply all
Reply to author
Forward
0 new messages