Skip to main content

Cancel, Stop, or Delete a Deployment

Several actions may necessitate cancelling, stopping, or deleting a deployment. For example:

  • Modifying the SQL code for a deployment
  • Additing or deleting parameters to or from the WITH clause
  • Changing the version of a deployment
  • A deployment fails and cannot reuse the state data to recover
  • You no longer need a deployment

Cancel or Stop a Deployment

note

The system retains only the latest checkpoint when a deployment is running. When the deployment is canceled, the system does not automatically delete the checkpoint.

  1. Ensure the deployment is running.
  2. On the Dashboard page, open the console for the workspace you want to manage.
  3. In the Console navigation pane, click Deployments.
  4. On the Deployments page, click Cancel in the deployment's Actions column.
  5. Click OK to confirm.

While the deployment is canceling, the status displays in the console.

Other Ways to Stop a Deployment

If you want the system to create a savepoint before canceling deployment, click More Strategies and select Stop With Savepoint in the Cancel this deployment dialog box. The system creates a savepoint for the deployment and then the deployment enters the cancel process.

If you want to permanently remove or terminate the deployment, you can use Stop With Drain. The deployment is permanently terminated. For more information, see the Drain section.

caution

If you want to restart the deployment later, do not select this option. An error may occur when the deployment is resumed.

Delete a Deployment

If you no longer need a deployment, you can delete it.

  1. Ensure the deployment is not running. After it has stopped completely, the associated data will be deleted along with it.
  2. On the Dashboard page, open the console for the workspace you want to manage.
  3. In the Console navigation pane, click Deployments.
  4. On the Deployments page, click Delete in the deployment's Actions column.
  5. Click OK.