[Neo4j] Neo4j Sharding

2014-06-01 Thread Bernardo Hermont
Hi all, I have the following questions about Neo4j Is it possible to inform which slave node I want to store data that it is inserted using PUT REST interface? Or the data is automatically sharded along the slave servers that are part of the cluster? Is there any way to do this in a clustered

[Neo4j] Re: java embedded neo4j out of memory (something wrong with cache)

2014-06-01 Thread Arvin
By the way, here is my jvm setting: java -jar -Xmx90G -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA and neo4j.propertise: neostore.nodestore.db.mapped_memory=15G neostore.relationshipstore.db.mapped_memory=30G neostore.propertystore.db.mapped_memory=50G neostore.propertystore.db.strings.

[Neo4j] java embedded neo4j out of memory (something wrong with cache)

2014-06-01 Thread Arvin
Hi all, In my research project, I partition my whole graph data into many parts, and store each part in its own graph.db folder then, I may load 10 or 15 graph.db into memory at the same time( new Neo4jGraph(/path/to/graph.db) , I use blueprint api ), because I want to traverse on these part of

Re: [Neo4j] Re: best way to return a subgraph in cypher

2014-06-01 Thread Michael Hunger
No it's in 2.1 Not really an equivalent There are some things you can do with reduce for uniqueness and path patterns but it won't be the same Sent from mobile device Am 02.06.2014 um 05:01 schrieb John Fry : > Thanks - I will take a look as this approach. Just quickly UNWIND isnt avail > in

Re: [Neo4j] Re: best way to return a subgraph in cypher

2014-06-01 Thread John Fry
This is not a bad way to get a subgraph for step 1. neo4j-sh (?)$ START a=node(448091), b=node(6573222) MATCH p=allshortestpaths((a)-[*..10]-(b)) return extract(n IN nodes(p)| n.title), extract(r IN rels(p)| r.weight); yields a

Re: [Neo4j] Re: best way to return a subgraph in cypher

2014-06-01 Thread John Fry
Thanks - I will take a look as this approach. Just quickly UNWIND isnt avail in 2.0.2. Is there an east equivalent? As soon as I get some good results I will post back... -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group

Re: [Neo4j] Re: best way to return a subgraph in cypher

2014-06-01 Thread Michael Hunger
How about something like this: START a=node(448091), b=node(6573222) MATCH p=allshortestpaths((a)-[*..10]-(b)) // all nodes UNWIND nodes(p) as n // remove duplicates WITH distinct n // expand MATCH p2=(n)-[*..2]-(m) UNWIND nodes(p) as n WITH distinct n LIMIT 1000 MATCH (n)-[r]-(m) RETURN n,r,m

Re: [Neo4j] Neo4j 2.0 to 2.1 Upgrade Fails When Neo4j Running as a Windows Service

2014-06-01 Thread Michael Hunger
I think we should rather find and fix the root cause why stopping the service via sc does make an unclean shutdown. Michael On Sun, Jun 1, 2014 at 11:01 PM, Jim Salmons wrote: > Thanks for the pointer to that technique, Chris. None of my databases ATM > are so critical that it is a show-stoppe

[Neo4j] Re: best way to return a subgraph in cypher

2014-06-01 Thread John Fry
I think ideally it would help if I could get the subgraph results in the following format (i.e. basically a list of relation properties with src and dst nodes): +-+ | from

Re: [Neo4j] Neo4j 2.0 to 2.1 Upgrade Fails When Neo4j Running as a Windows Service

2014-06-01 Thread Jim Salmons
Thanks for the pointer to that technique, Chris. None of my databases ATM are so critical that it is a show-stopper for me, but I figure it is good to surface the issue in the event that others with critical needs get bitten. Now that I've looked at the situation a bit, too, it appears that a

[Neo4j] best way to return a subgraph in cypher

2014-06-01 Thread John Fry
Hello All, I am looking to build the following pseudo code in Cypher: 1. find all the shortest paths between two nodes (sucessfully done - see snippet below) START a=node(448091), b=node(6573222) MATCH p=allshortestpaths((a)-[*..10]-(b)) return p; 2. return a complete subgraph (inc rel propert

Re: [Neo4j] Neo4j 2.0 to 2.1 Upgrade Fails When Neo4j Running as a Windows Service

2014-06-01 Thread Chris Vest
You can, after you've shut down the Neo4j Windows service, use neo4j-shell with the `-path ` option to start a non-service Neo4j instance and then do a clean shutdown with the `exit` command. You should then be able to upgrade. I don't know why there is this problem with shutting down the Window

Re: [Neo4j] economical, large-memory systems for Neo4j?

2014-06-01 Thread Rich Morin
On Jun 1, 2014, at 07:58, Michael Hunger wrote: > Yep, I think that your Mac's should be good enough. Fast IO is also important. That's good to hear. I don't know about how well their I/O works. I have a half-TB SSD I can run on, which should help. I'll certainly try things before spending larg

Re: [Neo4j] economical, large-memory systems for Neo4j?

2014-06-01 Thread Wes Freeman
After the ~64GB RAM mark, you have to start considering server-oriented boards and builds (supermicro motherboards, etc.). If you're looking at buying, I had a nice server built by AVADirect a couple of years ago that I've been quite happy with. The midrange server builds they offer support 256-512

Re: [Neo4j] economical, large-memory systems for Neo4j?

2014-06-01 Thread Michael Hunger
Yep, I think that your Mac's should be good enough. Fast IO is also important. What does your property graph model look like for the YAGO2 dataset? I'm still working on that new import tool, hope to get it into a releasable alpha state this week. Michael On Sun, Jun 1, 2014 at 3:28 PM, Rich Mor

[Neo4j] Relationships corrupted after upgrade to 2.1.1 ?

2014-06-01 Thread Tom Zeppenfeldt
After upgrading from 2.0.3. to 2.1.1 some of my cypher queries return errors on a specific node: match (n)-[r]->(m) where id(n)=6620 return n Unable to load one or more relationships from Node[6620]. This usually happens when relationships are deleted by someone else just as we are about to lo

Re: [Neo4j] economical, large-memory systems for Neo4j?

2014-06-01 Thread Rich Morin
On Jun 1, 2014, at 06:04, Michael Hunger wrote: > How big is your dataset? I'm currently playing with YAGO2s, which has ~300 million triples. I don't know what this comes to in Neo4j terms (still trying to import it :-), but let's assume that we're talking about 100 million relations and 50 mill

Re: [Neo4j] economical, large-memory systems for Neo4j?

2014-06-01 Thread Michael Hunger
Rich, How big is your dataset? Does this help? http://maxdemarzi.com/2013/11/25/scaling-up/ Sent from mobile device Am 01.06.2014 um 14:53 schrieb Rich Morin : > I've been thinking about getting an economical system to experiment with > Neo4j on large databases (eg, YAGO2s). AFAICT, having l

[Neo4j] economical, large-memory systems for Neo4j?

2014-06-01 Thread Rich Morin
I've been thinking about getting an economical system to experiment with Neo4j on large databases (eg, YAGO2s). AFAICT, having *lots* of RAM is the high-order bit, so I've been thinking about starting with (say) 128 GB but adding more when prices drop. Problem is, I haven't found any single-pro

[Neo4j] Neo4j Spatial for 2.1.1 (neo4j-spatial-0.13-neo4j-2.1.1) / graph-collections dependency

2014-06-01 Thread Axel Morgner
Hi, I just released a new version of Neo4j spatial to run against Neo4j 2.1.1: https://github.com/neo4j-contrib/m2/tree/master/releases/org/neo4j/neo4j-spatial/0.13-neo4j-2.1.1 Please note that for this release, I removed the dependency to the graph-collection repository. Prior to a discus