[Pkg-db-devel] Bug#417204: db4.5_load manual page should recommend sorting the input

Frederik Eaton frederik at ofb.net
Sun Apr 1 20:09:14 UTC 2007


Package: libdb4.5
Version: 4.5.20-1
Severity: minor

I find that when I sort the input (by key, of course) to db4.5_load,
it runs about 200 times faster. If the time to do the sorting is
included, then the speed-up is closer to 100, but it is still enough
of a speed-up that I think the manual page should recommend that users
try sorting their input. Also, the resulting database file is about
1/3 smaller.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libdb4.5 depends on:
ii  libc6                       2.3.6.ds1-10 GNU C Library: Shared libraries

libdb4.5 recommends no packages.

-- no debconf information




More information about the Pkg-db-devel mailing list