🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80154

Re: JFTR: ovdb + db46 should be omitted

#80154
From: Julien ÉLIE
Date: Sun, 22 Feb 2009 17:53
48 lines
3345 bytes
Hi Michael,

> compression + zlib, I know ;-) BTW: Has anybody experience with that
> feature w.r.t. a rather large ovdb?

Trying to find out who wrote the zlib support for ovdb (so as to put it
in the changelog for INN 2.5.0), I found out that mail which would
be of interest:

    https://lists.isc.org/pipermail/inn-workers/2004-June/013106.html


[Heath Kehoe]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I've just committed to CURRENT new code that enables compression
of overview records in ovdb.  So far, my testing has shown that
this compression is a big win for ovdb, mostly because the average
record size is smaller which increases the average keys-per-page
in the BerkeleyDB Btree databases, thus improving performance
(see http://www.sleepycat.com/docs/ref/am_conf/intro.html ).
Only records that are longer than 600 bytes get compressed.

The change is made in a way to insure minimal disruption.
Compression defaults to off, and must be enabled using the
'compress' setting in ovdb.conf.  You can enable compression
without having to rebuild the database, in which case new records
will be compressed but existing records will remain the same.
To gain immediate benefit, you'll have to delete the databases
and rebuild them using makehistory.

If you don't enable compression the database will remain
backward-compatible with older versions of ovdb.

On my server with about 21 million overview records, after
rebuilding the databases with compression enabled, the overview
directory went from around 20 GB to 12.6 GB, and the expireover
run went from 6 hours to 2 hours.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


That seems great!

-- 
Julien ÉLIE

« Quod sis, esse uelis nihilque malis ;
  Summum nec metuas diem nec optes. » (Martial)
Technical Details
Message-ID: <gns3g4$j16$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <gnmqtg$m4l$1@de-l.enfer-du-nord.net> <87prhcc3q7.fsf@windlord.stanford.edu> <gnn1t3$p6r$1@de-l.enfer-du-nord.net> <gnn2lg$pkd$1@news.trigofacile.com> <gnn3bd$q32$1@de-l.enfer-du-nord.net>

Show Full Headers
Complete Article Headers
Message-ID: <gns3g4$j16$1@news.trigofacile.com>
Subject: Re: JFTR: ovdb + db46 should be omitted
Date: Sun, 22 Feb 2009 18:53:40 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gnmqtg$m4l$1@de-l.enfer-du-nord.net> <87prhcc3q7.fsf@windlord.stanford.edu> <gnn1t3$p6r$1@de-l.enfer-du-nord.net> <gnn2lg$pkd$1@news.trigofacile.com> <gnn3bd$q32$1@de-l.enfer-du-nord.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 48
NNTP-Posting-Host: aaubervilliers-151-1-24-227.w83-114.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1235325253 19494 83.114.143.227 (22 Feb 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sun, 22 Feb 2009 17:54:13 +0000 (UTC)
In-Reply-To: <gnn3bd$q32$1@de-l.enfer-du-nord.net>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049