ldbadd --no-sync implications?

Stefan (metze) Metzmacher metze at samba.org
Thu Mar 3 09:11:50 MST 2011

Hi Michael,

> 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
for me.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110303/b3fd6de4/attachment.pgp>

More information about the samba-technical mailing list