Akonadi(数据存储)
介绍
Akonadi 框架为应用程序提供中心数据库,统一保存、索引和获取用户的个人信息。包括邮件、联系人、日历、事件、日志、闹钟和笔记等。在 SC 4.4 中, KAddressBook 成为首个使用 Akonadi 框架的程序。在 SC 4.7 中, KMail, KOrganizer, KJots等也开始更新使用 Akonadi 。此外,一些 Plasma 部件也使用 Akonadi 保存和获取日历事件、笔记等。
在写作时,下面的应用程序能够使用Akonadi框架集中存储和访问用户数据。进入它们的页面可以了解更多信息。
KMail
Mail Client Uses Akonadi to store emails
KAddressBook
Contact Manager Uses Akonadi to store contact information
KOrganizer
Personal Organizer Uses Akonadi to store calendars, events, journals, etc.
KJots
Note Taking Application Uses Akonadi to store notes
In addition to this, plasma widgets like the Digital Clock widget, the Notes widget also use Akonadi to store and retrieve events and notes.
Controlling the Akonadi server
The Akonadi control module in System Settings provides an easy means to starting, stopping, restarting and querying the status of the Akonadi server. You may also accomplish this from the commandline using the command akonadictl.
To start the Akonadi server,
akonadictl start
To stop the Akonadi server,
akonadictl stop
To restart a running Akonadi server,
akonadictl restart
To query the status of the Akonadi server,
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.