Converting deliver.db from berkely-nosync to skiplist
Ken Murchison
ken at oceana.com
Mon Sep 26 14:47:41 EDT 2005
Brenden Conte wrote:
> Skiplist doesn't have fast lookups? I admit to not knowing the
> intricacies of the various formats, but i thought skiplist and Berkeley
> were at least comparable, as the opinion i've seen has been that
> skiplist is better, especially when encountering corruption with berkeley.
For random lookups, such as deliver.db and tls_sessions.db, berkeley is
faster. For enumerating the database, such as performing an IMAP LIST
command, skiplist is faster.
> --On Sunday, September 25, 2005 11:08:28 AM +0200 Henk.Roose at cwi.nl wrote:
>
>> Brenden Conte wrote:
>>
>>> Using RPM version of 2.2.10 and Berkeley DB 4.1.25...
>>>
>>> We've run into problems the last few nights with corruption of the
>>> duplicate delivery database (delivery.db). I tried disabling it,
>>> however that caused processes to fail to communicate to the local lmtp
>>> sockets for some reason. We do enjoy this feature, and disabling it
>>> was no the optimal solution, so we would like to convert it to
>>> skiplist.
>>
>>
>> Don't, you need fast lookups. When this file gets corrupted just move it
>> out of the way between a stop and start.
>>
>>> Also, I noted in the man page that it also includes sieve in the
>>> description for that option. I was unaware of any sieve database -
>>> where is it (or is it old, left over from previous versions)?
>>>
>>> Thanks,
>>> Brenden
>>>
>>>
>>>
>>> ----
>>> 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
>>
>>
>> Henk
>>
>> --
>> Henk Roose <Henk.Roose at cwi.nl>
>> CWI - Centrum voor Wiskunde en Informatica
>> Centre for Mathematics and Computer Science
>> Amsterdam (NL)
>> ----
>> 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
>
>
>
>
>
> ----
> 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
>
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 2495 Main St. - Suite 401
716-604-0088 x26 Buffalo, NY 14214
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
More information about the Info-cyrus
mailing list