GCP: To terminate or kill a session

 https://cloud.google.com/sql/docs/postgres/monitor-active-queries


To terminate a process or long-running transaction in active queries, you must use Cloud SQL Enterprise Plus edition and enable both Active query analysis and query insights for Cloud SQL Enterprise Plus edition.

Long running operations can take longer to terminate.

To terminate a query or transaction, complete the following steps:

  1. In the Longest running transaction table, select a query.
  2. In the Action column, click Terminate connection.
  3. In the Terminate connection window, click Confirm.

If the system successfully terminates the query or transaction, then a success message appears. The system also performs a rollback if needed.

Comments

Popular posts from this blog

Oracle: To clean up WRI$_ADV_OBJECTS