]> git.ipfire.org Git - thirdparty/samba.git/commit
netcmd: Increase the transaction_index_cache_size to 200k for schemaupgrade
authorAndréas Leroux <aleroux@tranquil.it>
Thu, 2 May 2024 08:29:52 +0000 (10:29 +0200)
committerDouglas Bagnall <dbagnall@samba.org>
Tue, 4 Feb 2025 21:48:40 +0000 (21:48 +0000)
commit5092d7f46b8491e4a2d973a00aff4d6c0e77945e
tree8832ff82511666791d6ee297f36cab87e1ffa8cb
parent51f38ac7f3df4b3de9106b9b4861417ff317b14b
netcmd: Increase the transaction_index_cache_size to 200k for schemaupgrade

Increasing this value greatly improve the performances of schema
upgrade for large domains (>200k entries).

The value 200000 is chosen because it is already used in join.py, and
should be sufficient for known domains.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15795

Signed-off-by: Andréas Leroux <aleroux@tranquil.it>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/domain/schemaupgrade.py