Hey Gonfi,
can you explain exactly what it is you're trying to achieve ?
* datamodel
* # of nodes and rels
* # of rels per node (per type)
* classes, and the specific access/traversal code that poses the problems
That will help us to determine the possible causes for slowdowns as well as
solutions.
You can use @Indexed inside of Relationship-Entities. Then they will be added
to relationship-indexes which might speed up supernode iteration.
Neo4j shines at traversing relations, not necessarily in handling supernodes
(i.e. nodes with 10k rels) at least not with cold caches when they have to be
retrieved from disk.
We've planned those heavy relationship issues to be worked on.
Cheers
Michael
Am 16.09.2011 um 17:32 schrieb Gonfi den Tschal:
I'm struggling with the speed of iterating relations. It's where neo4j
is said to shine, so I must be doing something wrong.
What can I do to speed up the process of looping relationships related
to an object?
There are too many bottlenecks (warm-up phase), plus my data is too
large to fit all into ram.
Is @Indexed meant to be used on @RelatedTo and @RelatedToVia
collections also? Or do I have to create
relationship indexes manually? And then how would sdg use them, or
would I have to fall back to basic neo4j api?
Any pointer to wiki/manual?
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user