Re: Berkeley DB upgrade?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Paul Boven wrote:
>> Hi everyone,
>>
>> I'm planning an upgrade from a Cyrus-2.2.8 to Cyrus-2.2.12. However, we
>> will also be upgrading Berkeley from 4.1.25 to 4.4.20 because of some
>> performance issues with the first.
>>
>> So now I'm wondering: should I call db_upgrade from Berkeley on each of
>> these databases? And which databases exactly would that be? This is a
>> stock standard 2.2.8, with no specific backends mentioned in the
>> imapd.conf or compiled in. What are the filenames/locations where I
>> should find Berkeley db files?
>>
>> Some candidates:
>> /var/imap/mailboxes.db - but Berkeley-db fails to recognise that file,
>> so I can't dump it.
>> /var/imap/annotations.db - same problem.
>>
>> /var/imap/tls_sessions.db is a Berkeley db-file, but one I could afford
>> to wipe during the upgrade.
>>
>> /var/imap/deliver.db is a Berkeley db-file, but also one I could affort
>> to wipe.
>>
>
> Paul,
>
> If it where me I would downgrade your bdb back to 4.1.25 so that you can
> read the files then export them to text format.  Once you upgrade cyrus,
>  import them into skiplist format and be done with bdb.
>
> I have a fairly large system and was always bumping into bdb problems so
> about a week ago I finally decided to go to skiplist format and haven't
> looked back.
>
> Skiplist should also make things easier next time you upgrade since it
> doesn't depend on external libraries and their versions.

I can second that. People using my rpms are using skiplist by default now
and I didn't get any negative feedback about it. But I got alot of
feedback from people who messed up with BDB.

Simon
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux