Article View: news.software.nntp
Article #12800Re: History DB Performance
From: Jared Mauch
Date: Thu, 28 Nov 1996 00:00
Date: Thu, 28 Nov 1996 00:00
40 lines
1933 bytes
1933 bytes
[Posted and mailed] In article <57fug6$j1d@newshub.atmnet.net>, rgs@vigra.com (Rusty Sanders) writes: > In article <57d8ev$f9e@news.cic.net>, jared@nic.hq.cic.net (Jared Mauch) writes: >> >> I don't know enough about inn sources to hack on it to help any, >> but I would be interested in seeing some compile options >> to keep the entire history file in memory on servers that are capable >> of doing that. It would make sense that if you have the >> memory, why go out to disk. > > Isn't that what INND_DBZINCORE=1 does? That along with ICD_SYNC_COUNT should > do exactly what you want, if I'm reading the code correctly. > > Just set them up in config.data, rebuild, and have at it... That just keeps the dbz index in core, not the actual history file. If that was true, this process would be a lot larger: 10468 news 33 0 52M 51M sleep 31.2H 0.08% 0.08% innd chi-news:/history> ls -l total 80033 -rw-rw-r-- 1 news 74889392 Nov 27 20:06 history -rw-rw-r-- 1 news 74 Nov 27 20:06 history.dir -rw-rw-r-- 1 news 8162328 Nov 27 20:06 history.pag drwxr-xr-x 2 root 8192 Jan 12 1996 lost+found/ chi-news:/history> du -sk * 73184 history 1 history.dir 6840 history.pag 8 lost+found - Jared
Technical Details
Message-ID:
<57j2n6$kpn@news.cic.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:
<56turt$5vb$1@newsfeed.dreamscape.com>Show Full Headers
Complete Article Headers
Message-ID: <57j2n6$kpn@news.cic.net> Subject: Re: History DB Performance Date: Thu, 28 Nov 1996 00:00:00 +0000 From: jared@nic.hq.cic.net (Jared Mauch) References: <56turt$5vb$1@newsfeed.dreamscape.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: 201158223 To: rgs@vigra.com (Rusty Sanders) Content-type: text/plain; charset=us-ascii Organization: CICNet, Inc. Mime-version: 1.0 Newsgroups: news.software.nntp