Cancel a long running database operation.

0 votes
I have used a cloud spanner database in my project and have identified certain operations that are running since long. How do I cancel such database operations?
Nov 14 in GCP by Karan
• 6,670 points
27 views

1 answer to this question.

0 votes

Use projects.instances.databases.operations.cancel to cancel a long-running instance operation.

  1. Click projects.instances.databases.operations.cancel.

  2. For name, enter the long-running database operation name as shown in the long-running database operation response. For example:

    projects/[PROJECT_ID]/instances/test-instance/databases/example-db/operations/_auto_1492721321097206

    (Use the operation name you received instead of this value.) You can also retrieve the database operation name by listing long-running database operations.

  3. Click Execute.

This should do! 

answered Nov 14 by anonymous
• 40,990 points
How to delete a long running instance operation?

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

Cloud spanner instance auto-scaling

As the instance's workload changes, Cloud Spanner ...READ MORE

answered Nov 14 in GCP by Sirajul
• 40,990 points
33 views
0 votes
1 answer

Create a Cloud spanner instance.

You can create an instance with the gcloud command-line ...READ MORE

answered Nov 13 in GCP by Sirajul
• 40,990 points
30 views
0 votes
1 answer

Deleting a Cloud Spanner instance

Deleting an instance permanently removes the instance ...READ MORE

answered Nov 13 in GCP by Sirajul
• 40,990 points
24 views
0 votes
1 answer

How to delete a long running instance operation?

Use projects.instances.operations.delete to delete a long-running instance operation. Click projects.instances.operations.delete. For name, enter ...READ MORE

answered Nov 14 in GCP by Sirajul
• 40,990 points
24 views