Information Schema FILE_KEY_MANAGEMENT_KEYS

The Information Schema FILES table provides information about files stored in tablespaces, such as those used by the InnoDB storage engine.

This table is available from MariaDB Enterprise Server 11.8.

The INFORMATION_SCHEMA.FILE_KEY_MANAGEMENT_KEYS table lists key ID and latest key version for keys managed by the file_key_management plugin. The table's contents can be queried directly, or viewed using the SHOW FILE_KEY_MANAGEMENT_KEYS statement.

You can also can reload the data from the key file into the cache by issuing this statement:

FLUSH FILE_KEY_MANAGEMENT_KEYS

This functionality is provided by the file_key_management plugin.

This Information Schema table allows to query the key numbers and key versions which are currently in the cache (which can be different to the file). It also allows to verify which keys are in use when joining the table with INNODB_TABLESPACES_ENCRYPTION.

Last updated

Was this helpful?