How to monitor MySQL / MariaDB query progress

How to monitor MySQL / MariaDB query progressThe progress indicator of MySQL or MariaDB long-running commands and queries is extremely extremely and frustratingly coarse. In an index update I’m running now it was stuck in the same state for more than three hours. Thankfully, the pmonitor tool allows us to precisely monitor the progress of many commands. Here’s an example of its application on MariaDB.
Source: blog dds: 2019.11.03 - How to monitor MySQL / MariaDB query progress