Article View: news.software.nntp
Article #38524Re: What is the DBZ database
From: meow
Date: Thu, 08 Jul 1999 00:00
Date: Thu, 08 Jul 1999 00:00
35 lines
2134 bytes
2134 bytes
Asle Pedersen <apederse@grm.hia.no> writes: > I have seen the DBZ database been mentioned in all the INN faq files, > but what is it? 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. > Is the overview database a DBZ database? Generally not. It is traditionally in the form of text file like history, but indexing (if it exists at all) is usually simpler because sequential access is the common case. > What is the most common way of storing news by a news-client? By a client? There is no most common way =) Some readers use what's one file per group much like a traditional Unix mail folder, others copy the classical news server model and have one directory per group, one file per article. Others use home-grown databases. > I'm thinking of using an SQL database, but some people have advised > me not to do so. What other options do I have ? For a client, that might work just fine, so long as the engine you choose is reasonably smart about using disk space. For a server, you will probably find that an RDBMS is simply too slow for the job; it's optimized for a different sort of data flow.
Technical Details
Message-ID:
<871zejmd2p.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-mailReferences:
<3784A379.47A4C53E@grm.hia.no>Show Full Headers
Complete Article Headers
Message-ID: <871zejmd2p.fsf@slip-32-101-160-82.ma.us.ibm.net> Subject: Re: What is the DBZ database Date: Thu, 08 Jul 1999 00:00:00 +0000 From: meow <meowing@banet.net> References: <3784A379.47A4C53E@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: 498688260 X-Notice: should be reported to postmaster@ibm.net X-Complaints-To: postmaster@ibm.net X-Trace: 8 Jul 1999 15:55:39 GMT, 32.101.160.201 Organization: meow ergo vulis Meow: meow Newsgroups: news.software.nntp