Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!sun-barr!apple!oliveb!olivey!jerry From: jerry@olivey.olivetti.com (Jerry Aguirre) Newsgroups: news.sysadmin Subject: Re: Abysmal disk usage in unbatching news - suggestions? Message-ID: <42381@oliveb.olivetti.com> Date: 31 May 89 01:56:37 GMT References: <26@anasaz.UUCP> Sender: news@oliveb.olivetti.com Reply-To: jerry@olivey.UUCP (Jerry Aguirre) Organization: Olivetti ATC; Cupertino, Ca Lines: 16 In article karl@cheops.cis.ohio-state.edu (Karl Kleinpaste) writes: >solution). Build yourself a /usr/lib/libdbm.a, add #define DBM to >defs.h and -DDBM and -ldbm to your Makefile, and remake the Known >Universe. Re-install the result, and run expire -r to rebuild your >history files in DBM format. I got at least a 4x throughput increase >in [ir]news by doing so, on a (now defunct) 3B2/400 running SysVRel3.0. Actually you should only have to run expire -R (upper case). This will just rebuild the dbm copy of the history file from the text version and is a lot faster. The -r option will have to scan the entire set of news articles, parse each file, and sort the output by date. Depending on the amount of news you keep this can take many hours. And, of course, you can delete the 0-9 files.