Also, support for these heavy nodes with many relationships on them is
being worked some on so that you can get relationship count per
type/direction immediately instead of iterating over them, as well as only
loading relevant relationships instead of all.

In the meantime it would be better to keep a property per node containing
the number of relationships, kept up to date by your code when you
create/delete relationships. You could perhaps write that as a
TransactionEventHandler (if you're down at java level).

2011/11/9 Hans Birkeland <han...@funcom.com>

> Thanks for the quick reply! :)
>
> This is the query: start n=node(159178) match n-[*1..4]->x return count(*)
>
> Hans
>
> --
> View this message in context:
> http://neo4j-community-discussions.438527.n3.nabble.com/Expected-performance-question-tp3492892p3492924.html
> Sent from the Neo4j Community Discussions mailing list archive at
> Nabble.com.
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to