Dannes, original file size and option to restore original file as default serialization behavior will resole a lot of issues, including this one ... ( original file can be any but same each time)
> note: if the reimplementation does not work well enough, it is possible to
> switch back.....
This should not be an option. The old implementation could cause
severe locking issues if you had many users working on the same db. We
have this scenario in one of my projects. People managed to deadlock
the db twice a week. Since upgrading to the new version, those
problems disappeared completely.