Ask Your Question
4

What is the reason that neo4j admin bulk import doesn't employ multiple threads throughout the entire process?

asked 2022-11-07 11:00:00 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-09-15 11:00:00 +0000

devzero gravatar image

The reason that neo4j admin bulk import doesn't employ multiple threads throughout the entire process is that it would risk creating inconsistencies in the database. Neo4j's transactional model ensures data consistency and ACID compliance, and concurrently importing data could corrupt the database. Additionally, the bulk import process involves loading data into memory, and parallelizing this process could result in excessive memory consumption and slow down the entire process. It is better to have a single thread to ensure consistency and also to limit memory usage.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-11-07 11:00:00 +0000

Seen: 15 times

Last updated: Sep 15 '22