🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38550

Re: What is the DBZ database

#38550
From: meow
Date: Fri, 09 Jul 1999 00:00
25 lines
1925 bytes
Asle Pedersen <apederse@grm.hia.no> writes:

>> In INN and its predecessors, the articles are stored in individual
>> files, indexed by message ID.  History is a simple text file listing
>> the IDs and their locations; dbz provides an on-disk hash table to
>> quickly locate an entry in that file.  So, dbz is really just a
>> simplified/optimized version of the dbm-style databases found in lots
>> of programs.

> I'm a bit confused by this answer because I read an answer by Curt Welch to
> another question in this category and he says (quote):

> "Older systems would store each article in a separate file in a file system
> but the overhead for that has grown too large for today's Usenet
> volumes......"

On the newer INN systems, the filename field of history is replaced by
a storage token, which is basically still an encoded filename.  In one
of the new storage methods (CNFS) it includes an offset into that
file.  I left all that out because dbz still works the same way.  If
you really want to get into that part of things, it might be a good
idea to grab a copy of INN, play with it, and maybe dig into the
sources.

Technical Details
Message-ID: <87hfnej5q2.fsf@slip-32-101-160-82.ma.us.ibm.net>
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: <3784A379.47A4C53E@grm.hia.no> <871zejmd2p.fsf@slip-32-101-160-82.ma.us.ibm.net> <3785B213.350EDC9B@grm.hia.no>

Show Full Headers
Complete Article Headers
Message-ID: <87hfnej5q2.fsf@slip-32-101-160-82.ma.us.ibm.net>
Subject: Re: What is the DBZ database
Date: Fri, 09 Jul 1999 00:00:00 +0000
From: meow <meowing@banet.net>
References: <3784A379.47A4C53E@grm.hia.no> <871zejmd2p.fsf@slip-32-101-160-82.ma.us.ibm.net> <3785B213.350EDC9B@grm.hia.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
X-Deja-AN: 499097122
X-Notice: should be reported to postmaster@ibm.net
X-Complaints-To: postmaster@ibm.net
X-Trace: 9 Jul 1999 13:46:50 GMT, 166.72.251.46
Organization: meow ergo vulis
Meow: meow
Newsgroups: news.software.nntp