Difference between revisions of "Using the lmdb database backend"

(LMDB back end)
Line 1: Line 1:
 
= LMDB back end =
 
= LMDB back end =
Samba can use an [https://symas.com/lmdb/ LMDB] back end instead of the default [https://tdb.samba.org/ TDB] back end. The [https://symas.com/lmdb/ LMDB] back end permits database sizes greater than 4Gb.
+
Samba can use an [https://symas.com/lmdb/ LMDB] back end instead of the default [https://tdb.samba.org/ TDB] back end. The LMDB back end permits database sizes greater than 4Gb.
 +
 
 +
== Enabling LMDB ==
 +
The LMDB backend can be enabled when provisioning or joining a domain using the <code>--backend-store=mdb</code> option.  The maximum size of the database files defaults to 8Gb, this can be changed with the <code>--backend-store-size</code>
 +
 
 +
{{Imbox
 +
| type=warning
 +
| text=This is a hard limit and Samba will wail if this limit is exceeded. There is currently no way to resize a Samba LMBD database.
 +
}}

Revision as of 22:34, 31 March 2020

LMDB back end

Samba can use an LMDB back end instead of the default TDB back end. The LMDB back end permits database sizes greater than 4Gb.

Enabling LMDB

The LMDB backend can be enabled when provisioning or joining a domain using the --backend-store=mdb option. The maximum size of the database files defaults to 8Gb, this can be changed with the --backend-store-size