Comments - SHOW PROCESSLIST

10 years, 4 months ago Jean Weisbuch

To retrieve a similar "total" Progress value from INFORMATION_SCHEMA.PROCESSLIST as the one from SHOW PROCESSLIST :

SELECT CASE WHEN Max_Stage < 2 THEN 
Progress ELSE (Stage-1)/Max_Stage*100+Progress/Max_Stage END AS Progress 
FROM INFORMATION_SCHEMA.PROCESSLIST;
 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.