๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90991

Re: betterbird: reading crossposts once?

#90991
From: Jakob Bohm
Date: Wed, 18 Oct 2023 17:51
47 lines
3948 bytes
On 2023-10-17 05:34, VanguardLH wrote:
> Frank Slootweg <this@ddress.is.invalid> wrote:
> 
>> All you have to do is to remember all the hundred of thousands /
>> millions of message-ids of the postings you've ever 'read'. How hard
>> can *that* be!?
> 
> Thunderbird uses SQLite for the messages databases, one for each folder
> (newsgroup).  While SQLite is fast for small database sizes, it doesn't
> scale well.  The bigger the database, the slow queries get, and the
> slowdown is not linear.  SQLite recommends once you pass into the
> terabyte range to find a different solution.
> 
> https://www.dbtalks.com/tutorials/learn-sqlite/what-are-the-limitations-of-sqlite
> A SQLite database can have maximum 2147483646 pages. Hence the maximum
> number of tables in a schema cannot reach more than 2147483646. The
> maximum number of rows in a table is 264. The maximum number of columns
> is 32767 in a table.
> 

According to the official docs at https://www.sqlite.org/limits.html
this limit is 2 to the 64th power not twohundredandsixtyfour.

With that and a database table containing only 2 columns: MID and count
of read flags already set, the database would contain only one small row
per read message with only the numeric field changing after adding a
row.  Replacing MIDs by fixed-size hashes of MIDs would allow fixed
length records, thus further easing the DB engine burden.  Anyways disk
space for known messages would hit physical limits before the database
fills up.

The goal with this proposal is to handle 2 real world situations:

1. Cross-posts to multiple newsgroups from one server.

2. Having multiple newsserver accounts in one xxBird configuration, such 
as news.dotsrc.org (the old SunSite) and eternal-september.org .


Enjoy

Jakob
-- 
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Sรธborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
Technical Details
Message-ID: <XA2dnYXpbLiVhq34nZ2dnZeNn_Vi4p2d@giganews.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-mail
References: <uftnus$2voq4$1@dont-email.me> <1qnm7s6fh6uot$.dlg@v.nguard.lh> <87y1g5yxux.fsf@hope.eyrie.org> <w29h803rmpn4.dlg@v.nguard.lh> <slrnuilnm3.3uvei.rayban@raybanana.net> <ofkn3js6yvvh$.dlg@v.nguard.lh> <uggt8q.rdg.1@ID-201911.user.individual.net> <ugh6ae$cvr5$3@dont-email.me> <ughha2.nhc.1@ID-201911.user.individual.net> <ughfd8$aigv$1@news.trigofacile.com> <ugjdnb.ido.1@ID-201911.user.individual.net> <8mpm1esqft.fsf@raybanana.net> <ugjt35.nqo.1@ID-201911.user.individual.net> <1jc7gql3n1783.dlg@v.nguard.lh>

Show Full Headers
Complete Article Headers
Message-ID: <XA2dnYXpbLiVhq34nZ2dnZeNn_Vi4p2d@giganews.com>
Subject: Re: betterbird: reading crossposts once?
Date: Wed, 18 Oct 2023 19:51:52 +0200
From: Jakob Bohm <jb-usenet@wisemo.com.invalid>
References: <uftnus$2voq4$1@dont-email.me> <1qnm7s6fh6uot$.dlg@v.nguard.lh> <87y1g5yxux.fsf@hope.eyrie.org> <w29h803rmpn4.dlg@v.nguard.lh> <slrnuilnm3.3uvei.rayban@raybanana.net> <ofkn3js6yvvh$.dlg@v.nguard.lh> <uggt8q.rdg.1@ID-201911.user.individual.net> <ugh6ae$cvr5$3@dont-email.me> <ughha2.nhc.1@ID-201911.user.individual.net> <ughfd8$aigv$1@news.trigofacile.com> <ugjdnb.ido.1@ID-201911.user.individual.net> <8mpm1esqft.fsf@raybanana.net> <ugjt35.nqo.1@ID-201911.user.individual.net> <1jc7gql3n1783.dlg@v.nguard.lh>
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
NNTP-Posting-Date: Wed, 18 Oct 2023 17:51:04 +0000
Newsgroups: news.software.readers,news.software.nntp
Organization: WiseMo A/S
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:6.2) Goanna/20230604
 Epyrus/2.0.2
MIME-Version: 1.0
In-Reply-To: <1jc7gql3n1783.dlg@v.nguard.lh>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Lines: 47
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-WwoUtrbm9OEJvVFOoQsOUdwEkZj3Q35vIQ8BOpnC7+0UkIB8eWpymlPeToALmp+mBpm6+4xFLL0nlxY!7veuZY81kRB6UCYA0QVKTCGNDJEicKo1L+LpW36LpfOs+tE6y+gR9BBhbm00vr9ABbuIKZ47XiA=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40