You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.1 KiB
3.1 KiB
MetaData
Table Schema
see sql files in dolphinscheduler/dolphinscheduler-dao/src/main/resources/sql
E-R Diagram
User Queue DataSource
- One tenant can own Multiple users.
- The queue field in the
t_ds_usertable stores thequeue_nameinformation in thet_ds_queuetable,t_ds_tenantstores queue information usingqueue_idcolumn. During the execution of the process definition, the user queue has the highest priority. If the user queue is null, use the tenant queue. - The
user_idfield in thet_ds_datasourcetable shows the user who create the data source. The user_id int_ds_relation_datasource_usershows the user who has permission to the data source.
Project Resource Alert
- User can have multiple projects, user project authorization completes the relationship binding using
project_idanduser_idint_ds_relation_project_usertable. - The
user_idin thet_ds_projcettable represents the user who create the project, and theuser_idin thet_ds_relation_project_usertable represents users who have permission to the project. - The
user_idin thet_ds_resourcestable represents the user who create the resource, and theuser_idint_ds_relation_resources_userrepresents the user who has permissions to the resource. - The
user_idin thet_ds_udfstable represents the user who create the UDF, and theuser_idin thet_ds_relation_udfs_usertable represents a user who has permission to the UDF.
Project - Tenant - ProcessDefinition - Schedule
- A project can have multiple process definitions, and each process definition belongs to only one project.
- A tenant can be used by multiple process definitions, and each process definition must select only one tenant.
- A workflow definition can have one or more schedules.
Process Definition Execution
- A process definition corresponds to multiple task definitions, which are associated through
t_ds_process_task_relationand the associated key iscode + version. When the pre-task of the task is empty, the correspondingpre_task_nodeandpre_task_versionare 0. - A process definition can have multiple process instances
t_ds_process_instance, one process instance corresponds to one or more task instancest_ds_task_instance. - The data stored in the
t_ds_relation_process_instancetable is used to handle the case that the process definition contains sub-processes.parent_process_instance_idrepresents the id of the main process instance containing the sub-process,process_instance_idrepresents the id of the sub-process instance,parent_task_instance_idrepresents the task instance id of the sub-process node. The process instance table and the task instance table correspond to thet_ds_process_instancetable and thet_ds_task_instancetable, respectively.



