[odb-users] how to use ODB for hight performance

Boris Kolpackov boris at codesynthesis.com
Tue May 21 13:39:25 EDT 2013


Hi Herzl,

Herzl Shmuelian / Brilltech Int. <hshmuelian at brilltech.com> writes:

> but when I add comment code "if (i % 100 == 0) etc" this decrease the
> performace to 95 sec.
> why this happend?

As I said, the exact batch size that will result in optimal performance
depends on your situations so it is a good ide to experiment with different
sizes. Try 1000, 5,000, 10,000, etc. Or it could be that persisting
100,000 objects all at once it the best approach.

Boris



More information about the odb-users mailing list