[MDEV-14399] Document special names used in information_schema's INNODB_TABLESPACES_ENCRYPTION Created: 2017-11-14  Updated: 2020-08-25  Resolved: 2018-04-17

Status: Closed
Project: MariaDB Server
Component/s: Documentation, Encryption, Storage Engine - InnoDB
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Geoff Montee (Inactive) Assignee: Russell Dyer (Inactive)
Resolution: Fixed Votes: 0
Labels: documentation, encryption, innodb

Issue Links:
Relates
relates to MDEV-14157 Improve documentation of data at rest... Closed

 Description   

The "Name" field in information_schema's INNODB_TABLESPACES_ENCRYPTION table supposedly refers to a path name. However, there seems to be at least one "special" value used in this field--"innodb_system":

MariaDB [(none)]> SELECT * FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE NAME='innodb_system'\G
*************************** 1. row ***************************
                       SPACE: 0
                        NAME: innodb_system
           ENCRYPTION_SCHEME: 1
          KEYSERVER_REQUESTS: 1
             MIN_KEY_VERSION: 1
         CURRENT_KEY_VERSION: 1
    KEY_ROTATION_PAGE_NUMBER: NULL
KEY_ROTATION_MAX_PAGE_NUMBER: NULL
              CURRENT_KEY_ID: 1
        ROTATING_OR_FLUSHING: 0
1 row in set (0.00 sec)

I assume that this special value refers to the system tablespace, as defined by innodb_data_file_path (usually ibdata1). However, if it is, it does not appear to be documented:

https://mariadb.com/kb/en/library/information-schema-innodb_tablespaces_encryption-table/

If any other special values are also used in this table, then those should probably also be documented.


Generated at Thu Feb 08 08:13:14 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.