Hi Michael,
I will share the data privately. It's not only 1 mb compressed.
Times are after a few runs. 650 rels is the returned subset.
#2-3. I understand it's slower, but I expect the index should help. Or maybe make another/additional type of index for sorting purposes.
#4. Right now just running the query via webadmin is sufficient to notice the difference.
I truly hope you continue on improving the (auto)indexing and query optimization. I've much less performance issues with graph traversals (though there is one, like finding mutual likes as I discussed in previous thread, it turns out a careful gremlin script is much faster than cypher..rather unexpected). However I hope neo4j can also support some common "relational" use cases.
Forgive me for replying via mobile.
Hendy
Hi Michael,
I will share the data privately. It's not only 1 mb compressed.
Times are after a few runs. 650 rels is the returned subset.
#2-3. I understand it's slower, but I expect the index should help. Or maybe make another/additional type of index for sorting purposes.
#4. Right now just running the query via webadmin is sufficient to notice the difference.
I truly hope you continue on improving the (auto)indexing and query optimization. I've much less performance issues with graph traversals (though there is one, like finding mutual likes as I discussed in previous thread, it turns out a careful gremlin script is much faster than cypher..rather unexpected).
However I hope neo4j can also support some common "relational" use cases.
The index can't be used for sorting since it is not the index Cypher uses to find the matching nodes. Maybe it makes more sense in SQL-lingo: You are joining on one index. You can't then use another index for ordering. What you are asking for is not possible in any database I know of.
Not sure quite what you're saying here? ANSI standard SQL supports joining on any column and sorting on any column. If any of those are indexed then the indexes may or may not be used for the respective operations, depending on the guts of the database in question and what the result set looks like. Eg, Oracle will sort pre-join or post-join depending on whet it thinks will be most efficient (and depending on hints if you use them) and sometimes it can avoid a table reference completely if the relevant data is held within the index.