File: check_ibd_filesize_16k.result

package info (click to toggle)
mysql-8.0 8.0.43-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,273,924 kB
  • sloc: cpp: 4,684,605; ansic: 412,450; pascal: 108,398; java: 83,641; perl: 30,221; cs: 27,067; sql: 26,594; sh: 24,181; python: 21,816; yacc: 17,169; php: 11,522; xml: 7,388; javascript: 7,076; makefile: 2,194; lex: 1,075; awk: 670; asm: 520; objc: 183; ruby: 97; lisp: 86
file content (49 lines) | stat: -rw-r--r-- 1,616 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Bug #21950389 SMALL TABLESPACES WITH BLOBS TAKE UP TO 80 TIMES MORE
# SPACE IN 5.7 THAN IN 5.6
#
SET GLOBAL innodb_file_per_table=ON;
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
Empty table:
The size of file 'test/t1.ibd' is 114688 bytes.
Rows inserted: 5000
The size of file 'test/t1.ibd' is 229376 bytes.
Rows inserted: 10000
The size of file 'test/t1.ibd' is 360448 bytes.
Rows inserted: 15000
The size of file 'test/t1.ibd' is 475136 bytes.
Rows inserted: 20000
The size of file 'test/t1.ibd' is 606208 bytes.
Rows inserted: 25000
The size of file 'test/t1.ibd' is 9437184 bytes.
DROP TABLE t1;
CREATE TABLE t2 (a INT PRIMARY KEY, b BLOB) ENGINE=InnoDB;
Empty table:
The size of file 'test/t2.ibd' is 114688 bytes.
Rows inserted: 4
The size of file 'test/t2.ibd' is 229376 bytes.
Rows inserted: 8
The size of file 'test/t2.ibd' is 360448 bytes.
Rows inserted: 12
The size of file 'test/t2.ibd' is 491520 bytes.
Rows inserted: 16
The size of file 'test/t2.ibd' is 622592 bytes.
Rows inserted: 20
The size of file 'test/t2.ibd' is 4194304 bytes.
DROP TABLE t2;
CREATE TABLE t3 (a INT PRIMARY KEY, b BLOB)
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1;
Empty table:
The size of file 'test/t3.ibd' is 7168 bytes.
Rows inserted: 8
The size of file 'test/t3.ibd' is 15360 bytes.
Rows inserted: 16
The size of file 'test/t3.ibd' is 23552 bytes.
Rows inserted: 24
The size of file 'test/t3.ibd' is 31744 bytes.
Rows inserted: 32
The size of file 'test/t3.ibd' is 5242880 bytes.
Rows inserted: 40
The size of file 'test/t3.ibd' is 5242880 bytes.
DROP TABLE t3;
SET GLOBAL innodb_file_per_table=default;