Open topic with navigation
Upgrade db4o Version
How do you upgrade to a newer version safely? By default db4o can read an older version of a database and operate on it without any issues. However for major version updates you should consider doing this updating procedure. This ensures that the database uses the newest file format and performance optimizations.
The safest update procedure:
- Defragment the database with the current version. This will automatically also create a backup.
- Upgrade to the new db4o version.
- After that immediately defragment the database with the current version. This will create another backup. After that the database file uses the most current database format.
- Make sure that you can read the data from the database. If everything works you can delete the backups.