.. _kdb_action(KES):

kdb_action
####################

视图\ ``kdb_action``\ 记录任务的动作信息。

.. table:: kdb_action 列
      :widths: 3 3 3
      :class: longtable

    +-------------------+-----------------------------+-----------------------------------+
    | 名称              | 类型                        | 描述                              |
    +===================+=============================+===================================+
    | acid              | integer                     | action的ID，引用job.jobid         |
    +-------------------+-----------------------------+-----------------------------------+
    | acname            | text                        | action的名字                      |
    +-------------------+-----------------------------+-----------------------------------+
    | acdesc            | text                        | action的描述                      |
    +-------------------+-----------------------------+-----------------------------------+
    | acenabled         | bool                        | action状态                        |
    |                   |                             |                                   |
    |                   |                             | false - 不执行                    |
    |                   |                             |                                   |
    |                   |                             | true - 执行                       |
    +-------------------+-----------------------------+-----------------------------------+
    | ackind            | char                        | action的类型                      |
    |                   |                             |                                   |
    |                   |                             | s - sql                           |
    |                   |                             |                                   |
    |                   |                             | b - batch                         |
    +-------------------+-----------------------------+-----------------------------------+
    | accode            | text                        | Job的action                       |
    +-------------------+-----------------------------+-----------------------------------+
    | acconnstr         | text                        | 连接串                            |
    +-------------------+-----------------------------+-----------------------------------+
    | acdbname          | name                        | 目标数据库                        |
    +-------------------+-----------------------------+-----------------------------------+
    | acnextrun         | timestamp with time zone    | 下次运行的时间                    |
    +-------------------+-----------------------------+-----------------------------------+