Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/MariaDB/mysql-test/suite/innodb/r/     Datei vom 1.9.2026 mit Größe 942 B image not shown  

Quelle  shrink_cached_undo.result   Sprache: Lisp

 

#
# 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
CHZG
1009810099

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland