dbTalk Databases Forums  

Upgrade Berkeley DB from version 3.3.11 to 4.5.20

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Upgrade Berkeley DB from version 3.3.11 to 4.5.20 in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
funwithdolphin
 
Posts: n/a

Default Upgrade Berkeley DB from version 3.3.11 to 4.5.20 - 01-02-2007 , 05:16 AM






We have upgraded our application from Berkeley DB sleepycat version
3.3.11 to Berkeley DB sleepycat version 4.5.20.

Following are the changes in Berkeley DB 4.5 release:
The log file format changed in the Berkeley DB 4.5 release. No database
formats changed in the Berkeley DB 4.5 release.

So can anyone tell us is it required to upgrade existing old Berkeley
DB files to newer versions? If yes, then what all we need to do?


Reply With Quote
  #2  
Old   
Florian Weimer
 
Posts: n/a

Default Re: Upgrade Berkeley DB from version 3.3.11 to 4.5.20 - 01-02-2007 , 09:53 AM






Quote:
So can anyone tell us is it required to upgrade existing old Berkeley
DB files to newer versions? If yes, then what all we need to do?
I assume you are using TDS.

1. Backup everything.

2. Force a checkpoint of the environment.

3. Run DB 3.3's recovery against the environment. This will remove
all meta-data which changes between versions.

4. Recreate the environment with DB 4.5, either with db_recover or
your application's recovery procedures.

5. Forcing a checkpoint is recommended.

This procedure is documented in more detail at:

<http://www.oracle.com/technology/documentation/berkeley-db/db/ref/upgrade/process.html>


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.