dbTalk Databases Forums  

Database upgrading instructions

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


Discuss Database upgrading instructions in the comp.databases.berkeley-db forum.



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

Default Database upgrading instructions - 11-19-2005 , 02:51 PM






The database upgrade instructions do not mention the removal of log
files:

Quote:
1. Shut down the old version of the application.

2. Run recovery on the database environment using the DB_ENV->open
method or the db_recover utility.

3. Remove any Berkeley DB environment using the DB_ENV->remove method
or an appropriate system utility.

4. Archive the database environment for catastrophic recovery. See
Archival procedures for more information.

5. Recompile and install the new version of the application.

6. Restart the application.
(These are the instructions for the 4.2 -> 4.3 upgrade, 4.3 -> 4.4 is
the same.)

Is this an omission, or am I doing something wrong when the new
version complains about incompatible log formats?


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

Default Re: Database upgrading instructions - 11-20-2005 , 04:04 PM






* Hubert Schmid:

Quote:
The database upgrade instructions are correct. But there is a bug in
version 4.3. See the thread beginning with this article:

From: Hubert Schmid <h.schmid-usenet (AT) gmx (DOT) de
Subject: Upgrade from 4.2 to 4.3
Date: Thu, 13 Oct 2005 20:11:54 +0200
Ah, this explains it.

Quote:
The workaround is to open the database environment without DB_RECOVER.
Hmm. This means that it's not possible to perform the upgrade only
using the Berkeley DB tools. Not good.

Is the fix for the historic log files bug available separately?


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

Default Re: Database upgrading instructions - 11-26-2005 , 04:54 PM



* Florian Weimer:

Quote:
(These are the instructions for the 4.2 -> 4.3 upgrade, 4.3 -> 4.4 is
the same.)
This is no longer true. Currently,
<http://www.sleepycat.com/docs/ref/upgrade/process.html> recommends to
run the db_checkpoint program while there is no environment, which
will fail.

Shall I submit a bug report?


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.