ldbadd --no-sync implications?
Stefan (metze) Metzmacher
metze at samba.org
Thu Mar 3 09:11:50 MST 2011
> On 3 March 2011 11:54, Michael Wood <esiotrot at gmail.com> wrote:
>> What's a good way to add a bunch of users in a reasonably short amount
>> of time while not causing other operations to be impacted too badly?
>> Would it help if I set up another Samba box and replicated from one to
>> the other?
> By the way, using ldbadd --nosync to add 1000 users took around 1.5
> minutes. The strace output was strange...
I'm using TDB_NO_FSYNC=1; export TDB_NO_FSYNC, so that transactions
doesn't trigger real disk io.
Adding about 15000 user, groups and computers with about 90000
group membership (batched to ldif modify per group) takes about 10 mins
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the samba-technical