Dolphin Scheduler 2.0.0 MetaData


    User Queue DataSource

    • Multiple users can belong to one tenant
    • The queue field in the t_ds_user table stores the queue_name information in the t_ds_queue table, but t_ds_tenant stores queue information using queue_id. During the execution of the process definition, the user queue has the highest priority. If the user queue is empty, the tenant queue is used.
    • The user_id field in the t_ds_datasource table indicates the user who created the data source. The user_id in t_ds_relation_datasource_user indicates the user who has permission to the data source.

    Project Resource Alert

    • The user_id in the t_ds_projcet table represents the user who created the project, and the user_id in the t_ds_relation_project_user table represents users who have permission to the project
    • The user_id in the t_ds_resources table represents the user who created the resource, and the user_id in t_ds_relation_resources_user represents the user who has permissions to the resource
    • The user_id in the t_ds_udfs table represents the user who created the UDF, and the user_id in the t_ds_relation_udfs_user table represents a user who has permission to the UDF

    Command Process Task

    • A project has multiple process definitions, a process definition can generate multiple process instances, and a process instance can generate multiple task instances
    • The t_ds_schedulers table stores the timing schedule information for process difinition
    • The data stored in the t_ds_relation_process_instance table is used to deal with that the process definition contains sub-processes, parent_process_instance_id field represents the id of the main process instance containing the child process, process_instance_id field represents the id of the sub-process instance, parent_task_instance_id field represents the task instance id of the sub-process node

    t_ds_process_definition

    t_ds_process_instance

    t_ds_task_instance

    t_ds_command