Today, we will cover a totally different MySQL Shell plugin:
InnoDB.
Currently only 3 methods have been created:
Those related to the Table space fragmentation, have already been
covered in this recent article.
Let’s discover the getAlterProgress()
method. This
method allows us to have an overview of the progress of some
alter statements status like:
- stage/innodb/alter table (end)
- stage/innodb/alter table (flush)
- stage/innodb/alter table (insert)
- stage/innodb/alter table (log apply index)
- stage/innodb/alter table (log apply table)
- stage/innodb/alter table (merge sort)
- stage/innodb/alter table (read PK and internal sort)
- stage/innodb/alter tablespace (encryption)
This is an output of the method:
As …
[Read more]