mirror of
https://github.com/MariaDB/server.git
synced 2025-08-27 13:04:36 +03:00
MDEV-20094 was filed for the unexpected result differences for the test innodb.check_ibd_filesize.
21 lines
617 B
Plaintext
21 lines
617 B
Plaintext
#
|
|
# Bug #21950389 SMALL TABLESPACES WITH BLOBS TAKE UP TO 80 TIMES MORE
|
|
# SPACE IN 5.7 THAN IN 5.6
|
|
#
|
|
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
|
|
# bytes: 98304
|
|
INSERT INTO t1 SELECT * FROM seq_1_to_25000;
|
|
# bytes: 9437184
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1 (a INT PRIMARY KEY, b BLOB) ENGINE=InnoDB;
|
|
# bytes: 98304
|
|
INSERT INTO t1 SELECT seq,REPEAT('a',30000) FROM seq_1_to_20;
|
|
# bytes: 4194304
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1 (a INT PRIMARY KEY, b BLOB)
|
|
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1;
|
|
# bytes: 65536
|
|
INSERT INTO t1 SELECT seq,REPEAT('a',30000) FROM seq_1_to_20;
|
|
# bytes: 65536
|
|
DROP TABLE t1;
|