summaryrefslogtreecommitdiffabout
path: root/doc
authorSergey Poznyakoff <gray@gnu.org>2018-06-27 14:33:22 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-06-27 14:33:22 (GMT)
commit505faa939a83495603b2fd4a5c77d2ca8d5b08df (patch) (side-by-side diff)
tree3e5550d33744abd9c566d994b6cd3f8cbfac7dd5 /doc
parent3bf70df01fc591e10b204b69074e1ff4074f143b (diff)
downloadgdbm-505faa939a83495603b2fd4a5c77d2ca8d5b08df.tar.gz
gdbm-505faa939a83495603b2fd4a5c77d2ca8d5b08df.tar.bz2
New gdbmtool variables: coalesce and centfree
The two boolean variables control the use of free block coalescing and central free block modes in newly opened databases.
Diffstat (limited to 'doc') (more/less context) (ignore whitespace changes)
-rw-r--r--doc/gdbm.texi19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/gdbm.texi b/doc/gdbm.texi
index 8920839..ed57243 100644
--- a/doc/gdbm.texi
+++ b/doc/gdbm.texi
@@ -2241,6 +2241,25 @@ Flush all database writes on disk immediately. Default is false.
@xref{Open, GDBM_SYNC}.
@end deftypevr
+@deftypevr {gdbmtool variable} bool coalesce
+Enables the @emph{coalesce} mode, i.e. merging of the freed blocks of
+GDBM files with entries in available block lists. This provides for
+effective memory management at the cost of slight increase in
+execution time when calling @code{gdbm_delete}. @xref{Options,
+GDBM_SETCOALESCEBLKS}.
+
+This variable affects the @command{open} command and should be set
+before invoking it.
+@end deftypevr
+
+@deftypevr {gdbmtool variable} bool centfree
+Set to @samp{true}, enables the use of central free block pool in
+newly opened databases. @xref{Options, GDBM_SETCOALESCEBLKS}.
+
+This variable affects the @command{open} command and should be set
+before invoking it.
+@end deftypevr
+
The following commands are used to list or modify the variables:
@deffn {command verb} set [@var{assignments}]

Return to:

Send suggestions and report system problems to the System administrator.