Commit 0513c246 authored by Igor Babaev's avatar Igor Babaev

Adjusted results

parent 1a507f4f
...@@ -467,18 +467,18 @@ Key_write_requests 26 ...@@ -467,18 +467,18 @@ Key_write_requests 26
Key_writes 6 Key_writes 6
select * from information_schema.key_caches; select * from information_schema.key_caches;
KEY_CACHE_NAME PARTITIONS PARTITION_NUMBER FULL_SIZE BLOCK_SIZE USED_BLOCKS UNUSED_BLOCKS DIRTY_BLOCKS READ_REQUESTS READS WRITE_REQUESTS WRITES KEY_CACHE_NAME PARTITIONS PARTITION_NUMBER FULL_SIZE BLOCK_SIZE USED_BLOCKS UNUSED_BLOCKS DIRTY_BLOCKS READ_REQUESTS READS WRITE_REQUESTS WRITES
default 2 1 1048576 1024 3 # 0 10 0 13 4 default 2 1 1048576 1024 # # 0 10 0 13 4
default 2 2 1048576 1024 1 # 0 12 0 13 2 default 2 2 1048576 1024 # # 0 12 0 13 2
default 2 NULL 2097152 1024 4 # 0 22 0 26 6 default 2 NULL 2097152 1024 # # 0 22 0 26 6
small NULL NULL 1048576 1024 1 # 0 1 0 2 1 small NULL NULL 1048576 1024 # # 0 1 0 2 1
delete from t1; delete from t1;
delete from t2; delete from t2;
select * from information_schema.key_caches; select * from information_schema.key_caches;
KEY_CACHE_NAME PARTITIONS PARTITION_NUMBER FULL_SIZE BLOCK_SIZE USED_BLOCKS UNUSED_BLOCKS DIRTY_BLOCKS READ_REQUESTS READS WRITE_REQUESTS WRITES KEY_CACHE_NAME PARTITIONS PARTITION_NUMBER FULL_SIZE BLOCK_SIZE USED_BLOCKS UNUSED_BLOCKS DIRTY_BLOCKS READ_REQUESTS READS WRITE_REQUESTS WRITES
default 2 1 1048576 1024 3 # 0 10 0 13 4 default 2 1 1048576 1024 # # 0 10 0 13 4
default 2 2 1048576 1024 1 # 0 12 0 13 2 default 2 2 1048576 1024 # # 0 12 0 13 2
default 2 NULL 2097152 1024 4 # 0 22 0 26 6 default 2 NULL 2097152 1024 # # 0 22 0 26 6
small NULL NULL 1048576 1024 1 # 0 1 0 2 1 small NULL NULL 1048576 1024 # # 0 1 0 2 1
set global key_cache_partitions=1; set global key_cache_partitions=1;
select @@key_cache_partitions; select @@key_cache_partitions;
@@key_cache_partitions @@key_cache_partitions
......
...@@ -91,6 +91,7 @@ Database: information_schema ...@@ -91,6 +91,7 @@ Database: information_schema
| GLOBAL_STATUS | | GLOBAL_STATUS |
| GLOBAL_VARIABLES | | GLOBAL_VARIABLES |
| INDEX_STATISTICS | | INDEX_STATISTICS |
| KEY_CACHES |
| KEY_COLUMN_USAGE | | KEY_COLUMN_USAGE |
| PARTITIONS | | PARTITIONS |
| PLUGINS | | PLUGINS |
...@@ -144,6 +145,7 @@ Database: INFORMATION_SCHEMA ...@@ -144,6 +145,7 @@ Database: INFORMATION_SCHEMA
| GLOBAL_STATUS | | GLOBAL_STATUS |
| GLOBAL_VARIABLES | | GLOBAL_VARIABLES |
| INDEX_STATISTICS | | INDEX_STATISTICS |
| KEY_CACHES |
| KEY_COLUMN_USAGE | | KEY_COLUMN_USAGE |
| PARTITIONS | | PARTITIONS |
| PLUGINS | | PLUGINS |
......
...@@ -316,12 +316,12 @@ update t2 set i=2 where i=1; ...@@ -316,12 +316,12 @@ update t2 set i=2 where i=1;
--replace_result 1808 KEY_BLOCKS_UNUSED 1670 KEY_BLOCKS_UNUSED --replace_result 1808 KEY_BLOCKS_UNUSED 1670 KEY_BLOCKS_UNUSED
show status like 'key_%'; show status like 'key_%';
--replace_column 7 # --replace_column 6 # 7 #
select * from information_schema.key_caches; select * from information_schema.key_caches;
delete from t1; delete from t1;
delete from t2; delete from t2;
--replace_column 7 # --replace_column 6 # 7 #
select * from information_schema.key_caches; select * from information_schema.key_caches;
# Check that we can work with one partition with the same results # Check that we can work with one partition with the same results
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment