Updated on 2024-04-26 GMT+08:00

Managing Jobs

After creating a cluster instance, you can customize a job, enable a job, and migrate data.

You can create jobs to migrate data or automatically create tables.

  • Data migration: Data is migrated from Kafka to GaussDB(DWS).
  • Automatic table creation: Tables and fields in the source database are synchronized to GaussDB(DWS), but data is not migrated.

Creating a Job

  1. Log in to the GaussDB(DWS) console.
  2. In the navigation pane on the left, choose Data Migration > Instances.
  3. In the instance list, locate the row that contains the target instance and click Job Management in the Operation column. The Job Management page is displayed.
  4. Click Data Migration or Create Table. (By default, the Kafka Connection parameter cannot be configured if you click Create Table.)

  5. Enter the job name, configure Kafka Connection, DWS Cluster Connection, and Customized Table/Field Mapping, and click Test Connection.
  6. Check to ensure the connection passes the test, and click Next.
  7. Click Next and confirm the settings.
  8. Click OK.
  9. Return to the job list. In the Operation column of the job, click Start. For details, see Starting a Job.

Viewing Job Details

  1. Log in to the GaussDB(DWS) console.
  2. In the navigation pane on the left, choose Data Migration > Instances.
  3. Click the name of an instance to go to the details page.
  4. In the navigation pane on the left, click Manage Job.
  5. Click a job name to go to the details page. Check the job information, including the connections, service parameters, and table/column mappings.

Starting a Job

  1. Log in to the GaussDB(DWS) console.
  2. In the navigation pane on the left, choose Data Migration > Instances.
  3. Click the name of an instance to go to the details page.
  4. In the navigation pane on the left, click Manage Job.
  5. In the Operation column of a job, click Start.
  6. In the displayed dialog box, click OK to start the job.

Stopping a Job

  1. Log in to the GaussDB(DWS) console.
  2. In the navigation pane on the left, choose Data Migration > Instances.
  3. Click the name of an instance to go to the details page.
  4. In the navigation pane on the left, click Manage Job.
  5. In the Operation column of a job, click Stop.
  6. In the displayed dialog box, click OK to stop the job.

Deleting a Job

  1. Log in to the GaussDB(DWS) console.
  2. In the navigation pane on the left, choose Data Migration > Instances.
  3. Click the name of an instance to go to the details page.
  4. In the navigation pane on the left, click Manage Job.
  5. In the Operation column of a job, click Delete.
  6. Click OK.