Is it more efficient to persist in bulk? #328
-
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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). |
Beta Was this translation helpful? Give feedback.
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).