Re: [Samba] Re: tdb search optimization

2007-11-09 Thread Volker Lendecke
On Fri, Nov 09, 2007 at 03:56:48PM +, 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

Re: [Samba] Re: tdb search optimization

2007-11-09 Thread Volker Lendecke
On Fri, Nov 09, 2007 at 09:07:26PM +, Bruno Gomes Pessanha wrote: You might try to do a tdbbackup -n 1 ntprinters.tdb But, this makes tdb bigger, right? Sorry, but I didn't understand why increasing the hash would make search operations faster. Well, then you have to find other

Re: [Samba] Re: tdb search optimization

2007-11-09 Thread simo
On Fri, 2007-11-09 at 21:07 +, Bruno Gomes Pessanha wrote: You might try to do a tdbbackup -n 1 ntprinters.tdb But, this makes tdb bigger, right? Yes Sorry, but I didn't understand why increasing the hash would make search operations faster. Should make a lot less collisions,