Article View: news.software.nntp
Article #38568Re: What is the DBZ database
From: Asle Pedersen
Date: Fri, 09 Jul 1999 00:00
Date: Fri, 09 Jul 1999 00:00
35 lines
2452 bytes
2452 bytes
Curt Welch wrote: > Asle Pedersen <apederse@grm.hia.no> wrote: > > > 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): > > I'm not sure which point confuses you, but... > > > "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......" It was the point about storing in one file per article or not that confused me, but in an e-mail Matthew Emmerton cleared things up for me when he pointed out to that in newer systems (e.g newer versions of INN), a switch is being made from "traditional" storage system to CNFS, which uses raw disk buffers (1GB, etc) and stores the articles in the buffer, hence no filesystem overhead. BTW, I think I will stick to a simple SQL database in my news-client application, as there will be a moderated number of articles to store after I have done some filtering. I will probably use the varchar type for some of the databasefields. (unless someone have a better suggestion than using SQL). -Asle Pedersen
Technical Details
Message-ID:
<3785EED1.97831BFB@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-mailReferences:
<3784A379.47A4C53E@grm.hia.no> <871zejmd2p.fsf@slip-32-101-160-82.ma.us.ibm.net> <3785B213.350EDC9B@grm.hia.no> <19990709082117.851$Qn@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <3785EED1.97831BFB@grm.hia.no> Subject: Re: What is the DBZ database Date: Fri, 09 Jul 1999 00:00:00 +0000 From: Asle Pedersen <apederse@grm.hia.no> References: <3784A379.47A4C53E@grm.hia.no> <871zejmd2p.fsf@slip-32-101-160-82.ma.us.ibm.net> <3785B213.350EDC9B@grm.hia.no> <19990709082117.851$Qn@newsreader.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: 499079579 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news-abuse@uninett.no X-Trace: snipp.uninett.no 931524219 26155 128.39.202.131 (9 Jul 1999 12:43:39 GMT) Organization: UNINETT news service Mime-Version: 1.0 Newsgroups: news.software.nntp