Dave,
do you have the test setup somewhere? It seems that you are using a
shapefile import. In that case Neo4j Spatial is storing the polygons
as Well Known Binaries and not really expanding them into a subgraph
of POIs, so you are kind of "underutilizing" the capabilities :)

If you have the code, we can add it to Neo4j Spatial and then start
improving the index. I would like to get Craig and Davide Savazzi into
the picture who know a lot more about the implementation than I do,
but the implementation is here:
https://github.com/neo4j/neo4j-spatial/blob/master/src/main/java/org/neo4j/gis/spatial/RTreeIndex.java.

For tuning, try to make sure to run the tests warm (that is, repeat
every test a couple of times without closing the DB) and depending on
the data, adjust the memory mappings for Neo4j. You can even warm up
the OS file caches by doing

dd nodestore.id >> /dev/null for all store files a couple of times
(best to do a small shellscript for it)

Craig is in China right now, will see if he can give more hints over
the next few days. Thanks for looking into this!

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Fri, Jan 28, 2011 at 11:07 AM, Dave Hesketh
<[email protected]> wrote:
> Peter
> I'm very happy to help optimizing the Rtree implementation (if I can). My
> knowledge of Neo4j and Java is very limited. I am in the process of
> scaling-up the data but I would still like some guidance on tuning Neo4j in
> general. I will keep you informed of my results.
> Dave
> ps my last posted request to the forum looked a complete mess. I attached 5
> files which seem to be have been embedded in the text of the email. I am
> going to try again with this email.
>
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to