Re: Reducing .local/share/akonadi

Daniel Vrátil <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <1961015.Dcr3WMZSXV@odin>
On Wednesday, July 19, 2017 3:23:38 PM CEST solitone wrote:
> I use kmail to access three IMAP accounts, one POP3 account, and a local
> folder.
> 
> Since my .local/share/akonadi folder is pretty big (1.3 GB):
> 
> $ du -h -d 1 .local/share/akonadi
> 401M    .local/share/akonadi/db_data
> 497M    .local/share/akonadi/search_db
> 377M    .local/share/akonadi/file_db_data
> 4.0K    .local/share/akonadi/db_misc
> 1.3G    .local/share/akonadi
> 
> I was wondering whether there is a way to clear up some space.
> 
> For instance, what's the purpose of the search_db directory?

db_data is the MySQL database, which contains meta-data and some emails. 
file_db_data contains emails that are too big to be stored in the database (by 
default anything larger than 4KB). search_db is the full-text index. Except 
for akonadictl vaacuum, as Martin suggested, there's not much else to do to 
decrease the size.

You could disable "download emails for offline use" on your IMAP accounts so 
that only headers are retained locally and not the entire emails, but remember 
that your emails won't be available when you are offline if you use this 
option.

Dan

> 
> Thanks & Regards


-- 
Daniel Vrátil
www.dvratil.cz | [email protected]
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde)

GPG Key: 0x4D69557AECB13683
Fingerprint: 0ABD FA55 A4E6 BEA9r9A83 EA97 4D69 557A ECB1 3683
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEECr36VaTmvqmag+qXTWlVeuyxNoMFAll0bR8ACgkQTWlVeuyx
NoMeNg/9HHaB3GsXTa40w98HdMOdVIfWZWZcVLOGkZ+gct3PBg8xdwBNltmMiteI
cm1edS62q9yh4FwwjiB1eYfEG32F6Qg6sDIYI04KsuUMkjbMHT/vacf1F6PVSu+Z
eFyCQLd+m+q4tgKj0iagOmisOdj987HwIW7LO3LuAj7iifleDLHDyGW0EE4Bks2D
JQ+RK6dm9JYlImkOopKdIVIGg79yg4yOjYzox2MzPjiMzqhD+QB6+Bld0BiVf8KL
hwSVgheE/pPaHLuEUQo2Ji4Txha9PmRpSCtGlqsxKQXJrZPmqoVXLOA4JV73MJKJ
2FwMxatNgeW6rUqND7e8I8/hlUFCT/Y0cyG6z4WG1H2JxIm7z9Q3Gx9fNMYwyn5B
U+st8LYPT3goGCHQX7JSNTVXM82lnZZZFFaDLgQJnmS0qnfpH3g23iv1wFiyGx43
289i30iQ87CAbCwxoq9R+fgIy58cykNYu1zXKLnVYm3QIDpx3g/orzpqXpWeErwD
rJDB7MQMcnaAxwjqehMGODfmFoGM72c+zttteCkXsSEbU+0EYfFhyy5qtMZUjd4C
3cEmAEZVmFENvnHfXm/oW+ADTPl1Lq88G23tOeJCZ99U+6xvxyYUknSZN6Tdx0K/
xOrP88zuHBHl02pNJeMWYVmwOdO15iulRBbkXgS4se085Oz+vgY=
=wXPu
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.