Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-11-2021 11:57 PM
In the Neo4j query tuning course, we learn the Hierarchy of accessibility
But, knowing that from version 4.3 we can now create index on a relationship property and therefore I guess anchor on a relationship, is this Hierarchy of accessibility outdated?
Here is the cost of access from least expensive to most expensive:
Solved! Go to Solution.
11-14-2021 09:46 AM
Yes we just had this discussion internally.
Basically relationships are now also accessible by type and property, so equivalent to (1) when there is an index.
11-14-2021 09:46 AM
Yes we just had this discussion internally.
Basically relationships are now also accessible by type and property, so equivalent to (1) when there is an index.
11-14-2021 09:12 PM
I can see that you might simplify the hierarchy of accessibility model too.
And I'm guessing this it not the final form.
I can't wait for the new / updated query tuning course 🙂
I think, I might be wrong, node labels indexes must now be explicitly define in Neo4j 4.3.
Knowing that for a MATCH, only the anchor node will actually use labels indexes, for me this modification make sens and probably reduce the memory use by the graph. Downside is, it makes Neo4j a bit less user friendly in terms of speed when you don't know it.
But a explicit warning could be add to the browser to inform the new user.
Anyway thanks for the info.
11-14-2021 02:25 PM
Hello @michael.hunger
In your picture, anchor types correspond to indexed relationships?
Regards,
Cobra
All the sessions of the conference are now available online