Article View: news.software.nntp
Article #91026Re: Migrating tradindexed overview to ovsqlite
From: Julien ÉLIE
Date: Sat, 28 Oct 2023 20:38
Date: Sat, 28 Oct 2023 20:38
43 lines
2803 bytes
2803 bytes
Hi Jesse,
> If you aren't rebuilding the history file, you'll have a better experience.
> Spent some time watching system calls and filesystem activity, and the
> majority of what makehistory is spending time on in my case is dbz related
> stuff.
Just to be sure, did you run makehistory with the -s flag to provide the
estimated number of articles?
It reminds me the issue we recently discussed in this newsgroup about
makedbz. I then reworded INSTALL this way:
"""
Next, you need to create an empty history database. To do this, type:
cd <pathdb in inn.conf>
touch history
makedbz -i -o
makedbz will then create a database optimized for handling about
6,000,000 articles (or 500,000 if the slower tagged hash format is
used). If you expect to inject more articles than that, use the "-s"
flag to specify the number of entries to size the initial history file
for. To pre-size it for 100,000,000 articles, type:
makedbz -i -o -s 100000000
This initial size does not limit the number of articles the news server
will accept. It will just get slower when that size is exceeded, until
the next run of news.daily which will appropriately resize it.
"""
I'm wondering whether you're not running into that issue with
makehistory. I should also update its manual page to emphasize the use
of the "-s" flag :)
--
Julien ÉLIE
« Dans toute statistique, l'inexactitude du nombre est compensée par la
précision des décimales. » (Alfred Sauvy)
Technical Details
Message-ID:
<uhjrh0$156ko$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<8m8r7nmoop.fsf@raybanana.net> <uhigvk$2pund$1@dont-email.me> <uhihvm$2q4fn$1@dont-email.me> <uhjatr$2ula4$1@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <uhjrh0$156ko$1@news.trigofacile.com> Subject: Re: Migrating tradindexed overview to ovsqlite Date: Sat, 28 Oct 2023 22:38:56 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <8m8r7nmoop.fsf@raybanana.net> <uhigvk$2pund$1@dont-email.me> <uhihvm$2q4fn$1@dont-email.me> <uhjatr$2ula4$1@dont-email.me> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 28 Oct 2023 20:38:56 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176-143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="1219224"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:4mGU4l1uc6Sj0hJEgapx47Up1D0= sha256:PvM8Iy0rojilZqCk8AGeBMLC3OxGdZddJPri5/PQffo= sha1:D+UBHKKfQSD1sKOtsA0jbajf3ok= sha256:OPTrf4cshcOB/Q+eU5DDlz8RVe86GivTOjH83nHu6LE= In-Reply-To: <uhjatr$2ula4$1@dont-email.me>