[Samba] Re: tdb search optimization

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Nov 9 16:07:35 GMT 2007

On Fri, Nov 09, 2007 at 03:56:48PM +0000, Bruno Gomes Pessanha wrote:
> Is it possible to split the ntprinters.tdb in many 
> parts as print queues quantity?
> Sorry if I asked something too far from reality
>  but I was wondering if could make things work faster.

You might try to do a "tdbbackup -n 10000 ntprinters.tdb"
and replace the ntprinters.tdb by its backup file. The -n
10000 sets the new hash table size to 10000, much more than
the default 131.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20071109/05ec54c6/attachment.bin

More information about the samba mailing list