Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Barchiesi
OpenLDAP
Commits
632a1e6a
Commit
632a1e6a
authored
12 years ago
by
Howard Chu
Committed by
Quanah Gibson-Mount
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add MDB description
parent
87f3ccd5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/guide/admin/backends.sdf
+37
-1
37 additions, 1 deletion
doc/guide/admin/backends.sdf
doc/guide/admin/tuning.sdf
+12
-5
12 additions, 5 deletions
doc/guide/admin/tuning.sdf
doc/guide/preamble.sdf
+1
-0
1 addition, 0 deletions
doc/guide/preamble.sdf
with
50 additions
and
6 deletions
doc/guide/admin/backends.sdf
+
37
−
1
View file @
632a1e6a
...
...
@@ -139,7 +139,7 @@ configuration lines:
> include ./schema/core.schema
>
> database ldif
> directory
"
./ldif
"
> directory ./ldif
> suffix "dc=suretecsystems,dc=com"
> rootdn "cn=LDIF,dc=suretecsystems,dc=com"
> rootpw LDIF
...
...
@@ -187,6 +187,42 @@ H3: Further Information
{{slapd-ldif}}(5)
H2: MDB
H3: Overview
The {{mdb}} backend to {{slapd}}(8) is the upcoming primary backend for a
normal {{slapd}} database. It uses OpenLDAP's own Memory-Mapped Database ({{TERM:MDB}})
library to store data and is intended to replace the Berkeley DB backends.
It supports indexing like the BDB backends, but it uses no caching and requires
no tuning to deliver maximum search performance. Like {{hdb}}, it is also
fully hierarchical and supports subtree renames in constant time.
H3: back-mdb Configuration
Unlike the BDB backends, the MDB backend can be instantiated with very few
configuration lines:
> include ./schema/core.schema
>
> database mdb
> directory ./mdb
> suffix "dc=suretecsystems,dc=com"
> rootdn "cn=mdb,dc=suretecsystems,dc=com"
> rootpw mdb
> maxsize 1073741824
In addition to the usual parameters that a minimal configuration requires, the MDB
backend requires a maximum size to be set. This should be the largest that
the database is ever anticipated to grow (in bytes). The filesystem must also
provide enough free space to accommodate this size.
H3: Further Information
{{slapd-mdb}}(5)
H2: Metadirectory
...
...
This diff is collapsed.
Click to expand it.
doc/guide/admin/tuning.sdf
+
12
−
5
View file @
632a1e6a
...
...
@@ -27,13 +27,20 @@ H3: Memory
Scale your cache to use available memory and increase system memory if you can.
See {{SECT:Caching}}
See {{SECT:Caching}} for BDB cache tuning hints.
Note that MDB uses no cache of its own and has no tuning options, so the Caching
section can be ignored when using MDB.
H3: Disks
Use fast subsystems. Put each database and logs on separate disks configurable
via {{DB_CONFIG}}:
Use fast filesystems, and conduct your own testing to see which filesystem
types perform best with your workload. (On our own Linux testing, EXT2 and JFS
tend to provide better write performance than everything else, including
newer filesystems like EXT4, BTRFS, etc.)
Use fast subsystems. Put each database and logs on separate disks
(for BDB this is configurable via {{DB_CONFIG}}):
> # Data Directory
> set_data_dir /data/db
...
...
@@ -315,9 +322,9 @@ it is generally recommended to be 3x"cachesize".
{NOTE: The idlcachesize setting directly affects search performance}
H
3
: {{slapd}}(8) Threads
H
2
: {{slapd}}(8) Threads
{{slapd}}(8) can process requests via a configurable number of thread, which
{{slapd}}(8) can process requests via a configurable number of thread
s
, which
in turn affects the in/out rate of connections.
This value should generally be a function of the number of "real" cores on
...
...
This diff is collapsed.
Click to expand it.
doc/guide/preamble.sdf
+
1
−
0
View file @
632a1e6a
...
...
@@ -224,6 +224,7 @@ LDAP Sync|LDAP Content Synchronization
LDAPv3|LDAP, version 3
LDIF|LDAP Data Interchange Format
MD5|Message Digest 5
MDB|Memory-Mapped Database
MIB|Management Information Base
MODDN|Modify DN
MODRDN|Modify RDN
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment