[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: a few MDB questions
- To: Brent Bice <bbice@sgi.com>, openldap-technical@openldap.org
- Subject: Re: a few MDB questions
- From: Quanah Gibson-Mount <quanah@zimbra.com>
- Date: Mon, 02 Sep 2013 12:19:23 -0700
- Content-disposition: inline
- Dkim-filter: OpenDKIM Filter v2.8.4 edge01-zcs.vmware.com A47AA648
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zimbra.com; s=C2AA288C-EE47-11E2-9BB0-E820BDD9BDBF; t=1378149562; bh=1zDZgbKWLt8LIj+PMHAwlr0uQRotJdQLZFJ8TCSsAkE=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding; b=hsUWweD4yX+8Y+0JVeC3UI2D1p4W3wT8Fz8jJEY4yw4EZheANnCiw0I2nJ3QtINPd uZX81bLqK3BgZtwijlgBzAbf71cHBD/JUJW66s0gL3B8Hf/iqFkXv0vAe4hkS8cIu6 7SSJsoSYic29d25F9A0KHJe9OCA9bxgDL2jljuUQ=
- In-reply-to: <5224D773.7030404@sgi.com>
- References: <5224D773.7030404@sgi.com>
--On Monday, September 02, 2013 12:22 PM -0600 Brent Bice <bbice@sgi.com>
wrote:
I'm trying out the mdb backend before converting several of our LDAP
servers to it and have a few questions I haven't found answers to yet.
OpenLDAP version?
Firstly, I found when I spun up an instance using MDB that I couldn't
have more than 1000 leaf nodes. It appears when I tried to create the
1001st leaf node, one of the earlier nodes disappeared. Is this a known
limitation or just a config option I don't see in the slapd-mdb man page?
Right now my config just contains:
database mdb
masxize 2147483648
suffix "dc=mysuffix,dc=com"
rootdn "cn=Manager,dc=sgi,dc=com"
rootpw myrootpw
directory /data/ldap/instance-v1.4/var/openldap-data
[... a bunch of indexes ...]
checkpoint 1024000 60
This is not a valid back-mdb parameter. I would suggest re-reading the man
page.
The total size of the DB was only 412 megs so far and each of three
branches in the DB appeared to be limited at 1000 leaf nodes so I don't
think I was just hitting a maxsize limit.
I have DBs with hundreds of millions of objects, without issue.
Which leads me to the 2nd question... The maxsize option (according
to what I've read) is the maximum size of the database in bytes. But it
looks to me like the biggest value I can specify is 4G - the biggest
value for an unsigned long. Would this be cuz the system I'm testing on
is a 32bit version of linux? (unsigned long is only 4 bytes whereas on a
64 bit OS unsigned longs are 8 bytes)
I would advise using a 64-bit OS with MDB.
--Quanah
--
Quanah Gibson-Mount
Lead Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration