Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
MySQL 5.7 supports only one shared temporary tablespace.
MariaDB 10.2 does not support any other shared InnoDB tablespaces than the two predefined tablespaces: the persistent InnoDB system tablespace (default file name ibdata1) and the temporary tablespace (default file name ibtmp1).
InnoDB is unnecessarily allocating a tablespace ID for the predefined temporary tablespace on every startup, and it is in several places testing whether a tablespace ID matches this dynamically generated ID.
We should use a compile-time constant to reduce code size and to avoid unnecessary updates to the DICT_HDR page at every startup.
Using a hard-coded tablespace ID will also make it easier to remove the TEMPORARY flag from FSP_SPACE_FLAGS in MDEV-11202.
Attachments
Issue Links
- causes
-
MDEV-11927 InnoDB change buffer is not being merged to tables in the system tablespace
- Closed
-
MDEV-15591 Create index fails on innoDB temporary table
- Closed
- duplicates
-
MDEV-13056 The server keeps crashing
- Closed
- relates to
-
MDEV-11816 Disallow CREATE TEMPORARY TABLE…ROW_FORMAT=COMPRESSED
- Closed
-
MDEV-13013 InnoDB unnecessarily extends data files
- Closed
-
MDEV-11202 InnoDB 10.1 -> 10.2 migration does not work
- Closed