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, 2019 in GCP by Karan
• 19,610 points
1,122 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, 2019 by anonymous
• 59,230 points
How to delete a long running instance operation?

Related Questions In GCP

0 votes
1 answer
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, 2019 in GCP by Sirajul
• 59,230 points
2,069 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, 2019 in GCP by Sirajul
• 59,230 points
1,029 views
0 votes
1 answer

Deleting a Cloud Spanner instance

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

answered Nov 13, 2019 in GCP by Sirajul
• 59,230 points
904 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, 2019 in GCP by Sirajul
• 59,230 points
651 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP