Information Schema INNODB_TABLESPACES_SCRUBBING Table

MariaDB starting with 10.1.3

InnoDB and XtraDB data scrubbing was introduced in MariaDB 10.1.3.

The Information Schema INNODB_TABLESPACES_SCRUBBING table contains data scrubbing information.

The PROCESS privilege is required to view the table.

It has the following columns:

ColumnDescription
SPACEInnoDB table space id number.
NAMEPath to the table space file, without the extension.
COMPRESSEDThe compressed page size, or zero if uncompressed.
LAST_SCRUB_COMPLETEDDate and time when the last scrub was completed, or NULL if never been performed.
CURRENT_SCRUB_STARTEDDate and time when the current scrub started, or NULL if never been performed.
CURRENT_SCRUB_ACTIVE_THREADSNumber of threads currently scrubbing the tablespace.
CURRENT_SCRUB_PAGE_NUMBERPage that the scrubbing thread is currently scrubbing, or NULL if not enabled.
CURRENT_SCRUB_MAX_PAGE_NUMBERWhen a scrubbing starts rotating a table space, the field contains its current size. NULL if not enabled.

Example

SELECT * FROM information_schema.INNODB_TABLESPACES_SCRUBBING LIMIT 1\G
*************************** 1. row ***************************
                        SPACE: 1
                         NAME: mysql/innodb_table_stats
                   COMPRESSED: 0
         LAST_SCRUB_COMPLETED: NULL
        CURRENT_SCRUB_STARTED: NULL
    CURRENT_SCRUB_PAGE_NUMBER: NULL
CURRENT_SCRUB_MAX_PAGE_NUMBER: 0
         ROTATING_OR_FLUSHING: 0
1 rows in set (0.00 sec)

Comments

Comments loading...
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.