Article View: news.software.nntp
Article #91024Re: Migrating tradindexed overview to ovsqlite
From: Jesse Rehmer
Date: Sat, 28 Oct 2023 15:55
Date: Sat, 28 Oct 2023 15:55
43 lines
3198 bytes
3198 bytes
On Oct 28, 2023 at 3:49:58 AM CDT, "Jesse Rehmer" <jesse.rehmer@blueworldhosting.com> wrote: > On Oct 28, 2023 at 3:32:52 AM CDT, "Jesse Rehmer" > <jesse.rehmer@blueworldhosting.com> wrote: > >> On Oct 27, 2023 at 10:05:42 PM CDT, "Ray Banana" <rayban@raybanana.net> wrote: >> >>> >>> Hi, >>> >>> the current flood of spam from Google Groups and the corresponding >>> amount of NoCeM messages made me consider an overview method that >>> does not rely on expireover to remove the overview data for cancelled >>> articles. From what I have seen on a test server, ovsqlite seems to >>> remove overview data immediately. I have rebuilt the ovdb of a test >>> server with ~1,5 million articles in just a couple of minutes and am now >>> considering a migration of my main reader server (~50 million articles) >>> to ovsqlite. Does anyone have experience and an estimate how long such a >>> migration might take on ordinary SATA disks with EXT4 filesystems? >> >> Not quite the same use case, but I'm rebuilding history and moving to ovsqlite >> on 1.5TB / 500 million articles on NVMe storage and it is taking over a week. > > I should add more flavor, initially I tried rebuilding history+overview as-is > (tradspool + tradindexed) and ran into a filesystem issue (filled the ZFS pool > too full and performance suffered greatly). That attempt ran from October 14th > through the 24th before I ended it. > > Added storage, rebalanced the ZFS pool, and decided to move to ovsqlite since > others had commented it is faster to rebuild than tradindexed. That rebuild > has been running since 10/23 and appears to be about half done based on the > size of the new history file. > > I've been able to rsync and ZFS send/receive the entire data set to other > servers four times during this period, so this slow behavior isn't a > limitation of my system or storage, jacking up the number of lines makehistory > processes does not seem to make any difference for me either. 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. The ovsqlite-server process is barely doing anything in comparison.
Technical Details
Message-ID:
<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-mailReferences:
<8m8r7nmoop.fsf@raybanana.net> <uhigvk$2pund$1@dont-email.me> <uhihvm$2q4fn$1@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <uhjatr$2ula4$1@dont-email.me> Subject: Re: Migrating tradindexed overview to ovsqlite Date: Sat, 28 Oct 2023 15:55:39 +0000 From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com> References: <8m8r7nmoop.fsf@raybanana.net> <uhigvk$2pund$1@dont-email.me> <uhihvm$2q4fn$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: A noiseless patient Spider Lines: 43 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=fixed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 28 Oct 2023 15:55:39 -0000 (UTC) User-Agent: Usenapp for MacOS Cancel-Lock: sha1:SHmIjzFba7EsW7+wixnHUhImqlM= X-Usenapp: v1.27.2/d - Full License