New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
新增CMDB数据库表结构文档 #7782
base: v3.13.x
Are you sure you want to change the base?
新增CMDB数据库表结构文档 #7782
Conversation
7420fb6
to
da5fe89
Compare
这些表按照类别或者功能拆一下到不同的文件里面吧,不然太多了,拆出来也方便查看 |
89e5e31
to
ced574e
Compare
ced574e
to
3f466d7
Compare
3f466d7
to
4841c69
Compare
4841c69
to
bee15d4
Compare
e348160
to
1298c53
Compare
1298c53
to
085e170
Compare
085e170
to
6e1b3d4
Compare
6e1b3d4
to
759fa78
Compare
| bk_biz_maintainer | String | 维护者 | | ||
| bk_scope | Object | 业务集范围 | | ||
| default | NumberLong | 是否是默认业务集,1代表是,0代表否 | | ||
| bk_supplier_account | String | 开发商ID,默认0 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| bk_supplier_account | String | 开发商ID,默认0 | | |
| bk_supplier_account | String | 开发商ID | |
把这些bk_supplier_account的描述里的“,默认0”都去掉
| create_time | ISODate | 创建时间 | | ||
| last_time | ISODate | 最后更新时间 | | ||
|
||
#### bind_info 字段结构示例 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
缺了template_row_id
|
||
容器数据纳管——共享集群关联关系表 | ||
|
||
#### 表结构 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个表结构描述有问题
|
||
#### 作用 | ||
|
||
模型实例表,CMDB3.9及3.9以下版本使用 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这种废弃表就不要在这个版本里写了,都删掉吧
| extend_resource_name | String | 扩展资源名 | | ||
| bk_supplier_account | String | 开发商ID,默认0 | | ||
|
||
#### operation_detail 字段结构示例 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
其它操作类型的也补充一下
|
||
#### 作用 | ||
|
||
事件订阅信息表,cmdb3.9及以下版本 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
废弃表删掉
|
||
#### 作用 | ||
|
||
存储具体执行的异步任务信息(会定时清理两周前的过期任务) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
去掉具体时间,这个清理时间后续可能会调整
存储具体执行的异步任务信息(会定时清理两周前的过期任务) | |
存储具体执行的异步任务信息(会定时清理过期任务) |
|
||
存放用户自定义配置信息,前端使用 | ||
|
||
#### 表结构 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个表结构和前端确认过了吗?
| cc_WorkloadBaseWatchChain | 容器数据纳管——工作负载变更事件信息 | | ||
| cc_PodBaseWatchChain | 容器数据纳管——Pod变更事件信息 | | ||
|
||
#### 表结构 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
把描述里除了字段本身含义的内容都删掉
新加的功能: