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
James Lowden
OpenLDAP
Commits
918173fd
Commit
918173fd
authored
11 years ago
by
Howard Chu
Committed by
Quanah Gibson-Mount
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ITS#7590 tweak bdb/hdb/mdb notes
parent
8871e28f
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
+13
-8
13 additions, 8 deletions
doc/guide/admin/backends.sdf
doc/guide/admin/tuning.sdf
+2
-2
2 additions, 2 deletions
doc/guide/admin/tuning.sdf
doc/guide/preamble.sdf
+1
-1
1 addition, 1 deletion
doc/guide/preamble.sdf
with
16 additions
and
11 deletions
doc/guide/admin/backends.sdf
+
13
−
8
View file @
918173fd
...
@@ -23,18 +23,22 @@ H2: Berkeley DB Backends
...
@@ -23,18 +23,22 @@ H2: Berkeley DB Backends
H3: Overview
H3: Overview
The {{
b
db}} backend to {{slapd}}(8) is the recommended primary backend for a
The {{
h
db}} backend to {{slapd}}(8) is the recommended primary backend for a
normal {{slapd}} database. It uses the Oracle Berkeley DB ({{TERM:BDB}})
normal {{slapd}} database. It uses the Oracle Berkeley DB ({{TERM:BDB}})
package to store data. It makes extensive use of indexing and caching
package to store data. It makes extensive use of indexing and caching
(see the {{SECT:Tuning}} section) to speed data access.
(see the {{SECT:Tuning}} section) to speed data access.
{{hdb}} is a variant of the {{bdb}} backend that uses a hierarchical database
{{hdb}} is a variant of the original {{bdb}} backend which was first written for use with BDB.
layout which supports subtree renames. It is otherwise identical to the {{bdb}}
{{hdb}} uses a hierarchical database layout which supports subtree renames.
behavior, and all the same configuration options apply.
It is otherwise identical to the {{bdb}}
behavior, and all the same configuration options apply.
Note: An {{hdb}} database needs a large {{idlcachesize}} for good search performance,
Note: An {{hdb}} database needs a large {{idlcachesize}} for good search performance,
typically three times the {{cachesize}} (entry cache size) or larger.
typically three times the {{cachesize}} (entry cache size) or larger.
Note: The {{hdb}} backend has superseded the {{bdb}} backend, and both will
soon be deprecated in favor of the new {{mdb}} backend. See below.
H3: back-bdb/back-hdb Configuration
H3: back-bdb/back-hdb Configuration
MORE LATER
MORE LATER
...
@@ -187,13 +191,14 @@ H3: Further Information
...
@@ -187,13 +191,14 @@ H3: Further Information
{{slapd-ldif}}(5)
{{slapd-ldif}}(5)
H2: MDB
H2:
L
MDB
H3: Overview
H3: Overview
The {{mdb}} backend to {{slapd}}(8) is the upcoming primary backend for a
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}})
normal {{slapd}} database. It uses OpenLDAP's own
Lightning Memory-Mapped Database ({{TERM:LMDB}})
library to store data and is intended to replace the Berkeley DB backends.
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
It supports indexing like the BDB backends, but it uses no caching and requires
...
@@ -202,7 +207,7 @@ fully hierarchical and supports subtree renames in constant time.
...
@@ -202,7 +207,7 @@ fully hierarchical and supports subtree renames in constant time.
H3: back-mdb Configuration
H3: back-mdb Configuration
Unlike the BDB backends, the
MDB
backend can be instantiated with very few
Unlike the BDB backends, the
{{mdb}}
backend can be instantiated with very few
configuration lines:
configuration lines:
> include ./schema/core.schema
> include ./schema/core.schema
...
@@ -214,7 +219,7 @@ configuration lines:
...
@@ -214,7 +219,7 @@ configuration lines:
> rootpw mdb
> rootpw mdb
> maxsize 1073741824
> maxsize 1073741824
In addition to the usual parameters that a minimal configuration requires, the
MDB
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
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
the database is ever anticipated to grow (in bytes). The filesystem must also
provide enough free space to accommodate this size.
provide enough free space to accommodate this size.
...
...
This diff is collapsed.
Click to expand it.
doc/guide/admin/tuning.sdf
+
2
−
2
View file @
918173fd
...
@@ -28,8 +28,8 @@ H3: Memory
...
@@ -28,8 +28,8 @@ H3: Memory
Scale your cache to use available memory and increase system memory if you can.
Scale your cache to use available memory and increase system memory if you can.
See {{SECT:Caching}} for BDB cache tuning hints.
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
Note that
L
MDB uses no cache of its own and has no tuning options, so the Caching
section can be ignored when using MDB.
section can be ignored when using
L
MDB.
H3: Disks
H3: Disks
...
...
This diff is collapsed.
Click to expand it.
doc/guide/preamble.sdf
+
1
−
1
View file @
918173fd
...
@@ -223,8 +223,8 @@ LDAP|Lightweight Directory Access Protocol
...
@@ -223,8 +223,8 @@ LDAP|Lightweight Directory Access Protocol
LDAP Sync|LDAP Content Synchronization
LDAP Sync|LDAP Content Synchronization
LDAPv3|LDAP, version 3
LDAPv3|LDAP, version 3
LDIF|LDAP Data Interchange Format
LDIF|LDAP Data Interchange Format
LMDB|Lightning Memory-Mapped Database
MD5|Message Digest 5
MD5|Message Digest 5
MDB|Memory-Mapped Database
MIB|Management Information Base
MIB|Management Information Base
MODDN|Modify DN
MODDN|Modify DN
MODRDN|Modify RDN
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