Re: [Neo4j] Adding a large number of nodes, and relationships to Neo4j

2016-05-27 Thread Diaa ElKott
Thanks again for your response, and for the link, Michael. This link is very valuable. Have a great weekend. On Friday, May 27, 2016 at 11:20:35 PM UTC-4, Michael Hunger wrote: > > You should not return anything from your create statements > > then the output is minimal and just statistics, >

Re: [Neo4j] Adding a large number of nodes, and relationships to Neo4j

2016-05-27 Thread 'Michael Hunger' via Neo4j
You should not return anything from your create statements then the output is minimal and just statistics, you can even use this to summarize www.markhneedham.com/blog/2015/08/21/neo4j-summarising-neo4j-shell-output/ > Am 28.05.2016 um 04:11 schrieb Diaa ElKott : > > >

Re: [Neo4j] Adding a large number of nodes, and relationships to Neo4j

2016-05-27 Thread Diaa ElKott
Thanks a lot for your response, Michael. I followed your directions, and was able to pass the queries to Neo4j via the shell command. Just wondering: is there a way to echo-off the neo4j shell commands? Would this speed up the process, even by a little? Thanks, and have a great weekend. Diaa

Re: [Neo4j] Adding a large number of nodes, and relationships to Neo4j

2016-05-27 Thread 'Michael Hunger' via Neo4j
bin/neo4j-shell -file import.cypher (in the zip / tar.gz download) separate the commands with semicolons. you can use "begin" "commit" on separate lines to control transactions. Please note that there is a bug with periodic commit in Neo4j shell in versions 3.0 and 3.0.1 It's fixed in

Re: [Neo4j] Adding a large number of nodes, and relationships to Neo4j

2016-05-27 Thread Diaa ElKott
Thanks for your response, Sukaant. I actually don't want to learn new tools to perform this job. I am thinking there must exist a way to store the Cypher queries in text files, and then execute these queries somehow; perhaps using a shell command? I will search in that direction. Thanks again

Re: [Neo4j] Adding a large number of nodes, and relationships to Neo4j

2016-05-27 Thread Sukaant Chaudhary
I'll suggest you to move your tables to hive and transfer the data from hive to neo4j in offline mode using impala, it can be done within minutes. -Sukaant Chaudhary On Fri, May 27, 2016 at 12:41 PM, Diaa ElKott wrote:

[Neo4j] Adding a large number of nodes, and relationships to Neo4j

2016-05-27 Thread Diaa ElKott
Hello all: I have a number of table files, which I am parsing, and extracting data, and relationships, and using them to construct a Neo4j database. So far, I am creating Cypher queries, which I am passing to Neo4j via the browser (localhost://7474). This takes a very long time! I am wondering