Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site oliveb.UUCP
Path: utzoo!watmath!clyde!burl!we13!ihnp4!zehntel!hplabs!oliveb!jerry
From: jerry@oliveb.UUCP (Jerry Aguirre)
Newsgroups: net.news.adm
Subject: Should I use the dbm(3) library routines with news?
Message-ID: <299@oliveb.UUCP>
Date: Fri, 9-Mar-84 15:09:27 EST
Article-I.D.: oliveb.299
Posted: Fri Mar  9 15:09:27 1984
Date-Received: Sat, 10-Mar-84 14:37:13 EST
Organization: Olivetti ATC, Cupertino, Ca
Lines: 16

The documentation that comes with the news software talks about having
an optional history.pag and history.dir file.  These are hashed
versions of the history file using the dbm(3) database routines.  The
code seems to use these to check whether an article has already been
received.  This sounds like it would be much faster than scanning the
entire history file to find the ID.  At our site it seems to take
longer to process a news article than to receive it at 1200 baud.  We
use dbm with delivermail for our rather large alias file and it works
well.

Does anybody have experience using the dbm library with news? Also does
anybody have software to scan the articles (or history file) and build
the database?  We are running 2.8bsd and version B news.

					    Jerry Aguirre
    {hplabs|fortune|ios|tolerant|allegra|tymix}!oliveb!jerry