Date: Sun, 15 Apr 2007 19:36:56 -0700 From: Garrett Cooper <youshi10@u.washington.edu> To: freebsd-ports@freebsd.org Subject: Hash table support in ports-mgmt/porttools (!) Message-ID: <4622E148.2090906@u.washington.edu>
next in thread | raw e-mail | index | archive | help
Hello all, I'm not sure if anyone else was aware of this since it's not documented in the manual, but portupgrade and friends' package database used for storing and retrieving ports also supports a BDB hash tables, not just B-Trees in the backend. I found this out after poking through the Ruby code a bit. I noticed a bit of lag when updating the entire DB compared with B-Trees, but after that it appears to be relatively quick. In order to use the hash table support you need to set the following variable, like so in your environment: PKG_DBDRIVER="hash" Just thought I'd say something if no one knew about this. -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4622E148.2090906>