Article View: news.software.nntp
Article #92839Re: Peering and IPv6?
From: Ivo Gandolfo
Date: Thu, 28 May 2026 21:44
Date: Thu, 28 May 2026 21:44
40 lines
2737 bytes
2737 bytes
Il 28/05/2026 17:48, Stefan Ram ha scritto: > 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 Areally try, good for low traffic group's, but not for my project with a lot of milions of posts > - PRAGMAS for use directly after opening the connection: > - PRAGMA journal_mode = WAL; (for simultaneous reads and writes) yeah good, but with milions of records slow down as a turtle > - 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 yep, sometimes you need to vacuum, and this lock entire the db until it's finished, so totally useless (I cant lock the DB for minutes or hours), and db grown as a bear > > However, I only take these ideas from a text and have not tried > them out myself. > Trust me, I areally try and simulated, this is the reason I abandon it and moving to LMDB or MDBX, for the simple reason all previous action areally made when you to to insert a new record on them ;) Sincerely -- Ivo Gandolfo
Technical Details
Message-ID:
<10vacvf$3e7ru$1@paganini.bofh.team>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!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> <sqlite-20260528164622@ram.dialup.fu-berlin.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!not-for-mail From: Ivo Gandolfo <usenet@bofh.team> Newsgroups: news.software.nntp Subject: Re: Peering and IPv6? Date: Thu, 28 May 2026 23:44:15 +0200 Organization: To protect and to server Message-ID: <10vacvf$3e7ru$1@paganini.bofh.team> 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> <sqlite-20260528164622@ram.dialup.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 28 May 2026 21:44:15 -0000 (UTC) Injection-Info: paganini.bofh.team; logging-data="3612542"; posting-host="UVa2lCJi2YFEtTlJ34XukQ.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="NnMoDEm3qkIJGKBtBYRUeg"; User-Agent: Mozilla Thunderbird X-Notice: Filtered by postfilter v. 0.9.3 Content-Language: en-US