Article View: news.software.nntp
Article #92837Re: Peering and IPv6?
From: Stefan Ram
Date: Thu, 28 May 2026 15:48
Date: Thu, 28 May 2026 15:48
23 lines
2763 bytes
2763 bytes
Ivo Gandolfo <usenet@bofh.team> wrote or quoted:
>disk I/O and read/write speed), because I'm trying SQLite too but I'm
>getting excellent performance on small to medium-sized group messages
>(<500.000 posts), but on large groups, performance is terrible if not
>disastrous (>1.000.000 posts).
Sometimes the performance of SQLite can be improved by
- adding indexes on fields frequently used in WHERE, JOIN, or
ORDER BY clauses (but not adding indexes on other fields)
- partial indexes can speed up certain queries
- PRAGMAS for use directly after opening the connection:
- PRAGMA journal_mode = WAL; (for simultaneous reads and writes)
- PRAGMA synchronous = NORMAL; (to reduce synch frequency)
- PRAGMA cache_size = -200000; (~ 200 MB instead of 2)
- PRAGMA temp_store = MEMORY; (forces tmp tables to memory)
- keeping huge BLOBS in a separate table (like, a 1-to-1 table
for bodies)
- VACUUMing a database creates a copy of it, and thus requires
additional disk space
However, I only take these ideas from a text and have not tried
them out myself.
Technical Details
Message-ID:
<sqlite-20260528164622@ram.dialup.fu-berlin.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<67idnZ5t_asRoZb3nZ2dnZfqnPGdnZ2d@giganews.com> <6a116819$1@news.ausics.net> <10usa75$lh5$1@solani.org> <6a18220b$1@news.ausics.net> <10v9bsv$244e$1@nnrp.usenet.blueworldhosting.com> <10v9h3n$3e7rt$2@paganini.bofh.team>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: news.software.nntp
Subject: Re: Peering and IPv6?
Date: 28 May 2026 15:48:55 GMT
Organization: Stefan Ram
Lines: 23
Expires: 1 Jun 2027 11:59:58 GMT
Message-ID: <sqlite-20260528164622@ram.dialup.fu-berlin.de>
References: <67idnZ5t_asRoZb3nZ2dnZfqnPGdnZ2d@giganews.com> <6a116819$1@news.ausics.net> <10usa75$lh5$1@solani.org> <6a18220b$1@news.ausics.net> <10v9bsv$244e$1@nnrp.usenet.blueworldhosting.com> <10v9h3n$3e7rt$2@paganini.bofh.team>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de pVSNcwYKxIylaA7hwraJjgreorPOXBtCQ+rcis4WpwOkSO
Cancel-Lock: sha1:BlTX5rHqxlu+DKzec9hjHkibje8= sha256:Yiz9qhy528LryonqCJffCJUciV6LJ7J9E8TZ5aQRn7o=
X-Copyright: (C) Copyright 2026 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en