After you create a data mocking task in OceanBase Developer Center (ODC), you can view the task in the task list on the Mock Data tab of the Task Center page. On the Task Center panel that appears, click + on the right side of Export, and a new data mocking task panel will pop up.
Task list
On the Mock Data task tab, the task list displays the following fields. You can filter and sort the tasks based on these fields.
Connection: the name of the database connection to which the task belongs.
Task Name: the name of the task that you specified when you created the task.
Creation Time: the date and time when the task was created.
Task Status: the current status of the task. Valid values: Running , Aborted , Completed , and Failed . ODC provides different management actions for tasks in different states.
Actions: provides task management options, such as View, Download , Abort, and Delete.
| Action | Description |
|---|---|
| View | Click this button to go to the Task Details page to view the task information and task details. |
| Download | Click this button to download the SQL file that corresponds to the mock data to your local device. |
| Abort | Click this button to abort a task that is not completed. |
| Delete | Click this button to delete the task from the task list when the task is aborted, completed, or failed. |
Task details
Click View in the Actions column of the row where the target task is located. The task details panel appears. Click Task Information in the upper-right corner of the panel to view the basic task information and the data mocking settings.
Basic task information: displays information such as Task Name , Connection Name , Mode Name , Task Type , and Creation Time .
Data mocking settings: displays the settings information specified when the data mocking task was created, including Target Table , Mock Data Volume , Batch Size , Clear Table Before Mock Data Insertion , Data Conflict Handling Mode , Actual Insertion Records , Conflict Records , Ignore Insertion , Clear Records , and Rule Settings .