You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 5.2.0, ShardingSphere supports MySQL SHOW PROCESSLIST and KILL statements, which makes it more convenient for users to manage SQL.
The following figure shows the execution process of the current SHOW PROCESSLIST statement. It can be seen that it is a general process that can support different types of databases.
So we need to investigate whether PostgreSQL and openGauss databases have statements similar to MySQL SHOW PROCESSLIST/KILL, and then adapt these statements for PostgreSQL and openGauss databases.
Postgresql supports functions similar to show processlist and kill <processID>.
Use SELECT * FROM pg_stat_activity WHERE state = 'active'; to query running SQL, and use SELECT pg_cancel_backend(<pid of the process>) to kill the running SQL.
Feature Request
Is your feature request related to a problem?
#20299
#19606
#9568
Describe the feature you would like.
In version 5.2.0, ShardingSphere supports MySQL
SHOW PROCESSLIST
andKILL
statements, which makes it more convenient for users to manage SQL.The following figure shows the execution process of the current
SHOW PROCESSLIST
statement. It can be seen that it is a general process that can support different types of databases.So we need to investigate whether PostgreSQL and openGauss databases have statements similar to MySQL SHOW PROCESSLIST/KILL, and then adapt these statements for PostgreSQL and openGauss databases.
The text was updated successfully, but these errors were encountered: