9.2.4.7. # dayu_inst 大禹-实例表

## 字段

列名 | 类型 | 是否非空 | 默认值 | 备注 |
————- | ——- | ——– | —— | —————————————————————- |
id | Long | not null | null | 自增 ID |
plan_sched_id | Long | not null | null | 方案 ID 或者调度 ID |
inst_type | Integer | not null | null | 1-手动、2-周期、3-单步执行 |
states | Integer | not null | null | 0-正常(未运行),1-运行中,2-运行成功,3-运行失败,4-警告,9-停用 |
dag_json | blob | not null | null | 启动实例时复制,防止修改影响执行中实例 |
create_time | Long | not null | null | 创建时间 |
start_time | Long | not null | null | 开始时间 |
end_time | Long | not null | null | 结束时间 |
update_time | Long | not null | null | 更新时间 |

## 索引

字段 | 唯一索引 | 备注 |
———————– | ——– | ——————– |
id | 是 | 主键 |
create_time | 否 | 查询所有实例 |
inst_type,plan_sched_id | 否 | 查询特定调度关联实例 |

## 说明