Akonadi(数据存储)
介绍
Akonadi 框架为应用程序提供中心数据库,统一保存、索引和获取用户的个人信息。包括邮件、联系人、日历、事件、日志、闹钟和笔记等。在 SC 4.4 中, KAddressBook 成为首个使用 Akonadi 框架的程序。在 SC 4.7 中, KMail, KOrganizer, KJots等也开始更新使用 Akonadi 。此外,一些 Plasma 部件也使用 Akonadi 保存和获取日历事件、笔记等。
在写作时,下面的应用程序能够使用Akonadi框架集中存储和访问用户数据。进入它们的页面可以了解更多信息。
KMail
邮件客户端 使用 Akonadi 保存邮件
KAddressBook
联系人管理器 使用 Akonadi 存储联系人信息
KOrganizer
个人管理 使用 Akonadi 存储日历、事件、日志等。
KJots
记事应用程序 使用 Akonadi 存储笔记
此外,等离子部件,如数字时钟部件、笔记部件也使用 Akonadi 来存储和检索事件、笔记。
控制 Akonadi 服务器
System Settings 中的 Akonadi 控制模块可以方便的启动、停止、重启和查询 Akonadi 服务器。同时,可以通过命令 akonadictl 在命令行中实现这些功能。
启动 Akonadi 服务器:
akonadictl start
停止Akonadi 服务器:
akonadictl stop
重新启动正在运行的 Akonadi 服务器,
akonadictl restart
查询 Akonadi 服务器的状态:
akonadictl status
Disabling the Akonadi subsystem
The Akonadi server is launched automatically at login whenever any Akonadi-enabled application requests access to it.
To disable the Akonadi subsystem, first, shut down the running Akonadi server from the control module or the command line:
akonadictl stop
Now, edit the file ~/.config/akonadi/akonadiserverrc and change StartServer from true to false:
StartServer=false
The Akonadi server should no longer launch automatically on login.
Frequently Asked Questions
Refer to the Troubleshooting page for resolving glitches during migration. Akonadi's Glossary entry has a brief description of its purpose and other useful links. This page explains how Akonadi and KAddressBook work together.
If you are experiencing 100% CPU usage by the virtuoso-t process when using Akonadi and related applications, try this proposed workaround while it is being investigated: In KRunner's configuration page, disable the Nepomuk search plugin and the Contact plugin. Then, log out and back in. For further information and inputs, report back here or on the Forum or on the IRC channel #kontact.