makedbz -i still running at 125+ hours

Alex Kiernan alexk at demon.net
Mon Jun 11 09:14:28 UTC 2001


greg andruk <gja at meowing.net> writes:

> [me]
> > Did the makedbz command include something like -s `wc -l history` ?
> > Not even sure if that does anything any more, but forcing the table
> > size used to make a huge difference.
> 
> Looks like the dbz defaults are still fairly small.
> 
> Should makedbz -i be taught to make a first pass to get a line count
> if -d is not specified?  Given the time saved later, the extra work
> up front would seem to be worth it.

Might we get away with taking the file size & dividing by an average
line length (since all we need is an estimate)?



More information about the inn-workers mailing list