🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #12798

Re: History DB Performance

#12798
From: Steinar Haug
Date: Thu, 28 Nov 1996 00:00
20 lines
1446 bytes
[Rusty Sanders]

|Ummm... I hate to be disagreeable, but I don't believe innd does anything with
|the history file other than to concatenate new entries to the end of it. From
|what I understand of it all (please! anyone with a real clue(tm) please chime
|in) 100% of the history information is present in the history.pag file. The
|INND_DBZINCORE flag says to keep the history.pag file in core, which means
|that all history lookups can be done without disk accesses (other than swap).

Don't people read the source code any more? You're simply wrong, which a
quick glance at the code would show.

The history.pag file is a keyed database. The key is the message ID, the
data is the (byte) offset into the history file. *Only* the message ID and
the offset are stored in history.pag.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

Technical Details
Message-ID: <57jlrs$sbl@verdi.nethelp.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <56turt$5vb$1@newsfeed.dreamscape.com> <yy36830612y.fsf@velo.pp.vix.com>

Show Full Headers
Complete Article Headers
Message-ID: <57jlrs$sbl@verdi.nethelp.no>
Subject: Re: History DB Performance
Date: Thu, 28 Nov 1996 00:00:00 +0000
From: sthaug@nethelp.no (Steinar Haug)
References: <56turt$5vb$1@newsfeed.dreamscape.com> <yy36830612y.fsf@velo.pp.vix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 201206726
Organization: Nethelp Consulting, Trondheim, Norway
Newsgroups: news.software.nntp