Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
Dimitar Stoychev
OpenLDAP
Commits
f9f22058
Commit
f9f22058
authored
20 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
ITS#3178 add "fasttool" option to disable transaction logging in tool mode
parent
76b2701a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/man/man5/slapd-bdb.5
+6
-0
6 additions, 0 deletions
doc/man/man5/slapd-bdb.5
servers/slapd/back-bdb/config.c
+5
-0
5 additions, 0 deletions
servers/slapd/back-bdb/config.c
with
11 additions
and
0 deletions
doc/man/man5/slapd-bdb.5
+
6
−
0
View file @
f9f22058
...
...
@@ -71,6 +71,12 @@ results if the data comes from a transaction that is later aborted.
In this case, the modified data is discarded and a subsequent search
will return a different result.
.TP
.B fasttool
Disables transaction logging when using the slapadd/slapindex tools,
using the DB_TXN_NOT_DURABLE flag. Does not affect normal slapd operation,
but will improve the performance of slapadd/slapindex.
See the Berkeley DB reference guide for more details.
.TP
.B idlcachesize <integer>
Specify the size of the in-memory index cache, in index slots. The
default is zero. A larger value will speed up frequent searches of
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/back-bdb/config.c
+
5
−
0
View file @
f9f22058
...
...
@@ -64,6 +64,11 @@ bdb_db_config(
}
else
if
(
strcasecmp
(
argv
[
0
],
"dbnosync"
)
==
0
)
{
bdb
->
bi_dbenv_xflags
|=
DB_TXN_NOSYNC
;
/* slapadd/slapindex logging configuration */
}
else
if
(
strcasecmp
(
argv
[
0
],
"fasttool"
)
==
0
&&
slapMode
&
SLAP_TOOL_MODE
)
{
bdb
->
bi_dbenv_xflags
|=
DB_TXN_NOT_DURABLE
;
/* transaction checkpoint configuration */
}
else
if
(
strcasecmp
(
argv
[
0
],
"checkpoint"
)
==
0
)
{
if
(
argc
<
3
)
{
...
...
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