Batch import through the REST API for neo4j -
i using neo4j's rest api batch importing.
as per docs ( http://docs.neo4j.org/chunked/stable/rest-api-batch-ops.html )
this service transactional. if of operations performed fails (returns non-2xx http status code), transaction rolled , changes undone.
i imporitng 60k nodes , 200k relationships. (at least) 1 of relationships fails , expected whole operation fails.
my question is, there way track specific line of import failing can isolate or remove it?
update: per @thomas fenzi's answer below, turned on x-stream
flag, moving @ snails pace. (about 1/5 th speed). have other suggestions?
if use api in streaming mode (chapter 18.15.3. in docs, send x-stream = true
header , whatever need client side handle chunked responses) responses point of error.
60k nodes , 200k relationships might bit high single transaction, depending on hardware.
Comments
Post a Comment