mirror of
https://github.com/MariaDB/server.git
synced 2025-05-04 06:05:05 +03:00
The following options will be removed: innodb_file_format innodb_file_format_check innodb_file_format_max innodb_large_prefix They have been deprecated in MySQL 5.7.7 (and MariaDB 10.2.2) in WL#7703. The file_format column in two INFORMATION_SCHEMA tables will be removed: innodb_sys_tablespaces innodb_sys_tables Code to update the file format tag at the end of page 0:5 (TRX_SYS_PAGE in the InnoDB system tablespace) will be removed. When initializing a new database, the bytes will remain 0. All references to the Barracuda file format will be removed. Some references to the Antelope file format (meaning ROW_FORMAT=REDUNDANT or ROW_FORMAT=COMPACT) will remain. This basically ports WL#7704 from MySQL 8.0.0 to MariaDB 10.3.1: commit 4a69dc2a95995501ed92d59a1de74414a38540c6 Author: Marko Mäkelä <marko.makela@oracle.com> Date: Wed Mar 11 22:19:49 2015 +0200
61 lines
1.3 KiB
Plaintext
61 lines
1.3 KiB
Plaintext
--source include/have_innodb.inc
|
|
|
|
# lazy evition might not be lazy enough when key rotation
|
|
# scans through pages
|
|
-- source include/not_encrypted.inc
|
|
|
|
let $per_table=`select @@innodb_file_per_table`;
|
|
|
|
-- let $query_i_s = SELECT page_size FROM information_schema.innodb_cmpmem WHERE pages_used > 0
|
|
|
|
set global innodb_file_per_table=on;
|
|
|
|
create table t1(a text) engine=innodb key_block_size=8;
|
|
|
|
-- disable_query_log
|
|
|
|
# insert some rows so we are using compressed pages
|
|
-- let $i = 10
|
|
while ($i)
|
|
{
|
|
insert into t1 values(repeat('abcdefghijklmnopqrstuvwxyz',100));
|
|
dec $i;
|
|
}
|
|
-- enable_query_log
|
|
|
|
# we should be using some 8K pages
|
|
-- eval $query_i_s
|
|
|
|
drop table t1;
|
|
|
|
# because of lazy eviction at drop table in 5.5 there should be some
|
|
# used 8K pages
|
|
-- eval $query_i_s
|
|
|
|
# create a non-compressed table and insert enough into it to evict
|
|
# compressed pages
|
|
create table t2(a text) engine=innodb;
|
|
|
|
-- disable_query_log
|
|
|
|
-- let $i = 400
|
|
while ($i)
|
|
{
|
|
insert into t2 values(repeat('abcdefghijklmnopqrstuvwxyz',1000));
|
|
dec $i;
|
|
}
|
|
|
|
-- enable_query_log
|
|
|
|
# now there should be no 8K pages in the buffer pool
|
|
-- eval $query_i_s
|
|
|
|
drop table t2;
|
|
|
|
#
|
|
# restore environment to the state it was before this test execution
|
|
#
|
|
|
|
-- disable_query_log
|
|
eval set global innodb_file_per_table=$per_table;
|