Details
-
Task
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
Description
The documentation at https://mariadb.com/kb/en/innodb-temporary-tablespaces/ says:
Unlike normal tablespaces, temporary tablespaces are deleted when you stop MariaDB. To shrink temporary tablespaces to their minimum sizes, restart the server.
This means temporary tablespaces will keep growing until MariaDB is restarted. Having to restart MariaDB periodically is not optimal. It would be welcome if MariaDB shrinks temporary tablespaces on disk without restarting.
To achieve this, we would introduce new syntax:
SET GLOBAL innodb_truncate_temporary_tablespace_now=1; |
Attachments
Issue Links
- causes
-
MDEV-33101 Server crashes when starting the server with innodb-force-recovery=6 and enabling the innodb_truncate_temporary_tablespace_now variable.
- Closed
-
MDEV-34256 InnoDB throws out of bound write due to temporary tablespace truncation
- Closed
- is blocked by
-
MDEV-14795 InnoDB system tablespace cannot be shrunk
- Closed
-
MDEV-32028 InnoDB scrubbing doesn't write zero while freeing the extent
- Closed
-
MDEV-32145 Disable read-ahead for temporary tablespace
- Closed
-
MDEV-32151 innodb_immediate_scrub_data_uncompressed=ON may fail to scrub temporary tablespace pages
- Closed
- relates to
-
MDEV-26782 InnoDB temporary tablespace: reclaiming of free space does not work
- Closed
-
MDEV-12227 Defer writes to the InnoDB temporary tablespace
- Closed
-
MDEV-13013 InnoDB unnecessarily extends data files
- Closed
-
MDEV-14795 InnoDB system tablespace cannot be shrunk
- Closed
-
MDEV-15528 Avoid writing freed InnoDB pages
- Closed
-
MDEV-32163 Crash recovery fails after DROP TABLE in system tablespace
- Closed