Skip to content

Is it more efficient to persist in bulk? #328

Answered by hg-ms
hrstoyanov asked this question in Q&A
Discussion options

You must be logged in to vote

You’re right, in many cases it may be more efficient to use the bulk operations (PersistenceManager.storeAll(Object...)) to store more modified objects at once. The most obvious benefit is that you can reduce the number of required io operations (with the side effect that this will create only one transaction for all objects).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hrstoyanov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants