neo4j/community — comment on commit 2767ed3f73d7f7f819d58a25124e51a1ae8e2794
File:  line 0
By tinwelint:

Nice to see you experimenting, but have done profiling yet? I'm 99% positive it's all spent in reading properties and none in reading nodes/relationships (since those are read sequentially). I'm thinking about just plowing through the property store(s) from beginning to end and reading out the chains and store them sequentially in some intermediary store file (fast) and keep a HashMap with first-record-id as key and absolute-position-in-file+number-of-properties as key. Then the second pass would be the actual migration where the legacy reader would read that intermediary store file and using that HashMap.