ruby - Neo4j Batch Inserts -


I batch was used Neo4j API to put a few million records, which will be normally individually, this import has grown very rapidly eliminated but keeps I think I entered millions of records I have something lined up the insertion of Neo4j batch and insert it at the time?

If so, how can I see the progress of this queue? I'm counting and I think the records are increasing, but very slow.

I am using Nioji gem batch entry () and a batch code insertion is below:

  User.find_in_batches (Bac_akar: 500) do | Group | $ Neo4j.batch (* group.map {| user | [ "create_unique_node", "user", "id", user.id, user.graph_node_properties]})  

Running Neo4j 2.1 Ubuntu 12.04 LTS on Enterprise Edition.

Did you shut down correctly batch Insserr after putting his?

Are you using Neo4j version and OS?

Also make sure that your memory configuration is correct to configure memory-mapping just before the nodestore and the relationship.

This is not a line, it is writing directly to those records how do you "check" and count? You should not log in with a concurrent database.

Can you share your code?


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -