summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/r/innodb_buffer_pool_resize_with_chunks.result
blob: efb652091bf22dca5857e9a70e3dd5f9c4e7eb28 (plain)
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
select @@innodb_buffer_pool_chunk_size;
@@innodb_buffer_pool_chunk_size
4194304
create table t1 (id int not null, val int not null default '0', primary key (id)) ENGINE=InnoDB ROW_FORMAT=COMPRESSED;
create or replace view view0 as select 1 union all select 1;
set @`v_id` := 0;
set @`v_val` := 0;
replace into t1 select (@`v_id` := (@`v_id` + 4) mod 4294967296) as id, (@`v_val` := (@`v_val` + 4) mod 4294967296) as val from view0 v0, view0 v1, view0 v2, view0 v3, view0 v4, view0 v5, view0 v6, view0 v7, view0 v8, view0 v9, view0 v10, view0 v11, view0 v12, view0 v13, view0 v14, view0 v15, view0 v16, view0 v17;
set global innodb_buffer_pool_size = 7340032;
Warnings:
Warning	1292	Truncated incorrect innodb_buffer_pool_size value: '7340032'
select count(val) from t1;
count(val)
262144
set global innodb_buffer_pool_size = 16777216;
select count(val) from t1;
count(val)
262144
drop table t1;
drop view view0;
set global innodb_buffer_pool_size = 2*1048576;
Warnings:
Warning	1292	Truncated incorrect innodb_buffer_pool_size value: '2097152'
select @@innodb_buffer_pool_size;
@@innodb_buffer_pool_size
4194304