Akonadi(数据存储)

    From KDE UserBase Wiki
    Revision as of 11:06, 17 January 2021 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

    介绍

    Akonadi 框架为应用程序提供中心数据库来统一保存、索引和获取用户的个人信息。这包括邮件、联系人、日历、事件、日志、闹钟和笔记等。在 SC 4.4 中, KAddressBook 成为首个使用 Akonadi 框架的程序。在 SC 4.7 中, KMail, KOrganizer, KJots等也开始更新使用 Akonadi 。此外,一些 等离子 部件也使用 Akonadi 保存和获取日历事件、笔记等。

    在当前,下面的应用程序能够使用Akonadi框架集中存储和访问用户数据。进入它们的页面可以了解更多信息。

    KMail

    邮件客户端

    使用 Akonadi 保存邮件

    KAddressBook

    联系人管理器

    使用 Akonadi 存储联系人信息

    KOrganizer

    个人管理

    使用 Akonadi 存储日历、事件、日志等。

    KJots

    记事应用程序

    使用 Akonadi 存储笔记

    此外,Plasma 部件,如数字时钟部件、笔记部件也使用 Akonadi 来存储和检索事件、笔记。

    控制 Akonadi 服务器

    The Akonadi control module started by the context menu of the Akonadi tray icon 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. Using this method, you can get additional useful information on the console.

    启动 Akonadi 服务器:

    akonadictl start

    停止Akonadi 服务器:

    akonadictl stop

    重新启动正在运行的 Akonadi 服务器,

    akonadictl restart

    查询 Akonadi 服务器的状态:

    akonadictl status

    Disabling the Akonadi subsystem

    The Akonadi server is started by any Akonadi-enabled application. If you don't want Akonadi to be started after login, you have to ensure that no Akonadi-enabled application is launched at login or thereafter. Remember to check Plasma widgets as well — the Digital Clock widget in the default panel, for instance uses Akonadi to (optionally) display calendar events and this is enabled in its settings by default (see the "Display Events" option) . You must remove any widgets that may start it from your start-up, if you wish Akonadi to start only when you start KMail or other applications.


    别忘了!

    不运行Akonadi,将无法使用任何启用了Akonadi的应用程序。即使已经禁用服务,这些应用程序会在需要时启动Akonadi。 参见 Akonadi-enabled applications。同时请注意,一些 Plasma 部件,例如数字时钟也使用 Akonadi

    只要使用 Akonadi 的应用程序请求访问服务,Akonadi 服务器就会自动启动。

    要禁用 Akonadi 子系统,首先通过控制模块或命令行停止 Akonadi 服务器:

    akonadictl stop

    To ensure that Akonadi is not started, check that no applications require it at login. In particular, open the Plasma clock applet preferences, go to Calendar and uncheck Show events to prevent Plasma from requesting information from Akonadi and thus allowing it to start.

    常见问题

    我现在的数据在哪?

    Andras Mantia 的博客有解释数据的存储位置以及 Akonadi 与其交互的方式。

    How to upgrade my PostgreSQL database?

    After updating your PostgreSQL server to a new major version, sometimes you will have to convert your Akonadi database for use with this new version. Instructions can be found on this page.

    迁移问题

    Akonadi术语表简单描述了它的目的,包含了相关链接。这个页面解释了AkonadiKAddressBook协同工作的方式。