[Samba] samba4 binddlz performance
mat at samba.org
Sun Dec 9 03:03:55 MST 2012
On 12/04/2012 01:33 AM, Thomas Manninger wrote:
> I think, i am in the near of the solution of my problem.
> The search of a user is very fast (<1sec):
> ldbsearch -H /var/lib/samba/private/sam.ldb cn=Administrator
> But the search of a record is very slow (~3sec):
> ldbsearch -H /var/lib/samba/private/sam.ldb -b DC=mb.intern,CN=MicrosoftDNS,CN=System,dc=mb,dc=intern dc=mbdom2
Are you sure that it's this excact query that is executed ? what about
the scope ?
> There are missing indexes in the ldb database??
> Where can i can the index, or add some??
Well ldb database has the DN as the primary index so one level and base
search shouldn't be too slow but if you have a substree scope then it
will be quite costly.
Even with indexes.
More information about the samba-technical