#
# MDEV-35398 Improve shrinking of system tablespace
#
# restart: --debug_dbug=d,skip_cached_undo SET GLOBAL innodb_file_per_table= 0;
Warnings:
Warning 1287'@@innodb_file_per_table' is deprecated and will be removed in a future release
CREATE TABLE t1(f1 INT PRIMARY KEY)ENGINE=InnoDB;
CREATE TABLE t2(f1 INT PRIMARY KEY)ENGINE=InnoDB; SET STATEMENT unique_checks=0,foreign_key_checks=0 FOR
INSERT INTO t1 SELECT seq FROM seq_1_to_24576; SET STATEMENT unique_checks=0,foreign_key_checks=0 FOR
INSERT INTO t2 SELECT seq FROM seq_1_to_24576;
# Insert 34 transaction which has undo cached records
DROP TABLE t2, t1; SET GLOBAL innodb_fast_shutdown=0;
SELECT NAME, FILE_SIZE FROM information_schema.innodb_sys_tablespaces WHERE SPACE = 0;
NAME FILE_SIZE
innodb_system 79691776
# restart: --innodb-log-recovery-start=0
SELECT NAME, FILE_SIZE FROM information_schema.innodb_sys_tablespaces WHERE SPACE = 0;
NAME FILE_SIZE
innodb_system 12582912
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-10-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.