Dont know what I was thinking when I wrote this....
what I meant was....
how do I rebuild  vpasswd.cdb?
I have a complication with our Compaq win2K base NAS box, so I cant use the
normal v-utils right now, but have a load of things that need changing!

-----Original Message-----
From: Ken Jones [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 6:43 PM
To: Leonard Cooper
Cc: Vchkpw
Subject: Re: Vpasswd File optimisation??


On 14 Aug 2001 16:58:44 +0200, Leonard Cooper wrote:
> 
> Hi all,
> I have a huge vpasswd file of one of my virtual domains. These users were
> added  vadduser -as [EMAIL PROTECTED]
> 
> I would like to know if and how I can "OPTIMISE" this  file?
> 
> thanks
> Leonard
> 

What would "optimizing" get you? Faster lookups or 
faster updates? It uses Dan Bernsteins cdb code so
any optimizations would need to be in the cdb code.

If you want faster use I suggest you switch to
an sql module like mysql. Mysql is built to handle
multiple updates/add/delete/lookups with an index.

>From my experience the cdb module is not fast enough
for updates with over 5000 users. It is, however, still
very fast for lookups. 

Ken Jones

Reply via email to