Skiplist vs Berkley db

Ken Murchison murch at andrew.cmu.edu
Thu Apr 20 14:44:20 EDT 2006


Marc G. Fournier wrote:
> On Thu, 20 Apr 2006, Ken Murchison wrote:
> 
>> Marc G. Fournier wrote:
>>> On Thu, 20 Apr 2006, Ken Murchison wrote:
>>>
>>>> Marc G. Fournier wrote:
>>>>> On Wed, 19 Apr 2006, John Hampton wrote:
>>>>>
>>>>>> barsalou wrote:
>>>>>>> What I was wondering is....can someone help list the pro's and 
>>>>>>> cons of skiplist and Bdb?
>>>>>>
>>>>>> I found the following link to be very helpful
>>>>>>
>>>>>> http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/WhatDatabaseBackend
>>>>>
>>>>> 'k, just read this, thx ... first question I have is what is 
>>>>> /var/spool/imap/db?  mboxlist?  nothing else on that page appears 
>>>>> appropriate, but just want to make sure ...
>>>>
>>>> AFAIK, there is no such thing as /var/spool/imap/db (not in the IMAP 
>>>> spool). There will be something like /var/imap/db (in configdir), 
>>>> which is the BDB environment directory.
>>>
>>> I have my imapd.conf file setup to point to /var/spool/imap ... not 
>>> sure why I did this, but I've had it like this forever now ... same 
>>> as the default /var/imap ...
>>>
>>> So, based on the above ... if I were to switch *everything* to 
>>> skiplist, then that directory would go away?
>>
>> It wouldn't go away by itself, but you could remove it.
> 
> 'k ... just to make sure that I fully understand though ... as long as I 
> use Berkeley DB for *anything*, that directory needs to exist ... ?  For 
> instance, if duplicate_db == db3?

Yes.  I you use BDB for any of the databases, then you will have a 
<configdir>/db/ directory.


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University


More information about the Info-cyrus mailing list