Re: Berkeley DB upgrade?

From: Simon Matter (no email)
Date: Tue Jul 11 2006 - 13:58:08 EDT

  • Next message: David Korpiewski: "New replication scheme"

    > 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
    

  • Next message: David Korpiewski: "New replication scheme"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD