Hi, Our SQL instances were stuck on UPDATE Operation for more than 9 hours. It is normal for the operation to consume these long hours? and is there any way to cancel or to know when will the operation finish?
It is not normal for an UPDATE Operation in Google Cloud Cloud SQL - MySQL to take more than 9 hours. The update operation typically takes a few minutes to complete, but it can take longer if the database is large or if there are a lot of changes being made. If the update operation has been stuck for more than 9 hours, it is likely that there is a problem with the database or with the update itself.
There are a few ways to try to cancel or to know when the operation will finish. You can:
gcloud sql operations
command to get more information about the update operation. This command will show you the status of the operation, the start time, the estimated completion time, and any errors that have occurred.Here are some tips to help prevent UPDATE Operations from getting stuck:
Thanks for the recommendations, It seems the update operations are done automatically by Gcloud. We already used the Gcloud SQL operations commands and there is no data about the estimated completion time or any errors in operations. It seems we need to proceed to option 3. Thankyou