Re: Is SQLite3 still not recommended?

Daniel Vrátil <[email protected]> Tue, 04 Apr 2023 09:25:31 +0200
Newsgroups gmane.comp.kde.devel.pim
Message-ID <5192336.LvFx2qVVIh@bifrost>
Hi,

I think SQLite is a good choice these days. SQLite has made huge progress in 
the past many years since its support has been introduced to Akonadi. The 
documentation on wiki is certainly not up-to-date.

While I was a big advocate for pushing PostgreSQL as the default backend for 
Akonadi in the past, I think nowadays going for anything else than SQLite as 
the default backend is silly. Especially with today's fast SSD drives, I don't 
think a regular user will notice any difference, it might actually turn out to 
be the fastest solution overall.

Coincidentally, I recently learned that the SQLite shared cache mode, which 
Akonadi uses, has been deprecated for a while and WAL mode is now recommended  
for most usecases, so that's something to look into. There might be more new 
features in SQLite that have been introduced in the past years that Akonadi 
could leverage for better performance.

/Dan

On Wednesday, 29 March 2023 19:12:30 CEST Fabio wrote:
> Hi all,
> 
> the Akonadi documentation suggests to prefer MariaDB/MySQL or PostgreSQL
> over SQLite3, for various reasons. Is this still the case? I feel like
> this suggestion is outdated, for a simple desktop use case. Here some hints:
> 
>    * Debian provides the akonadi-backend-sqlite package
>    * This document hasn't been updated in 8 years:
> https://invent.kde.org/pim/akonadi/-/blob/master/README.sqlite
>    * This answer links to a non-existent web page. Again, it feels like
> it hasn't been reviewed in quite some time:
> https://techbase.kde.org/KDE_PIM/Akonadi#Why_not_use_sqlite?
> 
> For a simple desktop use case, the less daemons/services running, the
> better. That's my take.
> 
> Thank you KDE team and keep rocking!
> Fabio.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEECr36VaTmvqmag+qXTWlVeuyxNoMFAmQr0OsACgkQTWlVeuyx
NoPFRxAAmXskluXZwTPmlFJdChHYNBz7ZBLdzLGTpWSPnwX+EeokV9WtvqdYy9aM
AroLHkW/Di7domni8VfM/ymjSxLaCXiA34O6D2DdXoPXY/XL3UCaMna/85sMkR3g
ghxIQP5UaclUgx+XyUPiDO1M7D6UHnO1qCRC330FE8bA2kR/ZQD0zo06H9iKmPLS
q9+VOTWd5Jz4F2CbufnM79cFKRwgvMLHE2mqsdGwn9kYhKFNq9eiEKLba9KJSv78
a5eX8Nw8gPDGvMc4htLteYRadBrfPRyUZ3StE9xuNvxqwV6pUO8YwY62o8sKg4Ww
bL0FNc04fVK4eaUjJKpKwab4hrnnQKA0VUkPq+A9WHqIsCw6pxeGatDdYXevK4sE
a9PvvG+A7bsbRS267DQsgw6T1evtpctmAMOe/Gi1GM7kbk85NHXQCpHxU2mEpWdE
YuFULtr7c8mSTB2bAuB+N8wH05J5aVw3XyV7nlIpJw50Mcje0H6vUHbSYXdMZxNj
g3nr5cFTQmXVTWq/z0nEPrrNDzpAkgf+BF4RYae/wv2AeIbLHEIaAJ1UQyUZ0DGN
/VBZoEWPwPobsMq9lfh+/NrqRIR48DjSVUMmoeKNN4RVc1zhI5YOLtvadCAUpmPd
JoejRowKu+S6FraD85z6dcwdZeHjjEJnTafk2r1b6zoQ6AZkQnI=
=pBlI
-----END PGP SIGNATURE-----