[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: GDBM vs BDB as openldap backend.



Howard Chu wrote a post back in September with a good/quick overview of
the various backends and what they're for.  It's now a part of the
FAQ-O-Matic.  Look at http://www.openldap.org/faq/data/cache/756.html
-Alan

Justin Zygmont said:
> is there anywhere that explains what the differences are with these
> database types, etc?  I went through the administrators guide and it's
> almost useless.  I'm trying to setup a RH 8 system to have all systems
> use  it for authentication.  When I changed the database type to passwd
> and did  a search, things started looking like it could work, but I
> still can't  authenticate to it.  I'm new to directories, is there
> anything i'm  missing?
>
> any help would be appreciated
>
>
>
> On Thu, 6 Feb 2003, Alan Sparks wrote:
>
>> (I'm assuming by BDB you mean Berkeley DB, not the bdb backend of
>> OpenLDAP.)
>>
>> GDBM is the weak fallback supported by OpenLDAP, and is generally not
>> the suggested backend database provider for OpenLDAP.  Berkeley DB is
>> much more robust.
>>
>> If you are using a supported-by-OpenLDAP version of Berkeley DB, if
>> you're having stability problems you should verify you are using
>> up-to-date versions of both packages.  And run the Berkeley DB test
>> suite (which is very time consuming and complete) to verify you have
>> no problems which might be causing you problems.
>>
>> I personally use the OpenLDAP 2.1.12 ldbm backend (bdb under test)
>> with Berkeley 4.1.25 on Solaris 7.  No stability problems of note, and
>> no CPU pegging out.
>>
>> Kirill Ponazdyr said:
>> > Greetings,
>> >
>> > Because of the stability issues with bdb, we have just switched our
>> openldap backend to gdbm.
>> >
>> > So far stability is perfect, we also feel that performance is a
>> little better than with bdb.
>> >
>> > What are exact differences between bdb and gdbm backends ? Is gdbm
>> tested well enough to be used in production environment ?
>> >
>> > Best Regards
>> >
>> > Kirill
>> >
>> > Kirill Ponazdyr
>> > Technical Director
>> > Codeangels Solutions
>> > Tel: +41 (0)43 844 90 10
>> > Fax: +41 (0)43 844 90 12
>>
>>
>> ===========
>> Alan Sparks, UNIX/Linux Systems Administrator
>> <asparks@doublesparks.net>
>>
>>


===========
Alan Sparks, UNIX/Linux Systems Administrator    <asparks@doublesparks.net>