Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
0513c246
Commit
0513c246
authored
Mar 31, 2010
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjusted results
parent
1a507f4f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
10 deletions
+12
-10
mysql-test/r/key_cache.result
mysql-test/r/key_cache.result
+8
-8
mysql-test/suite/pbxt/r/mysqlshow.result
mysql-test/suite/pbxt/r/mysqlshow.result
+2
-0
mysql-test/t/key_cache.test
mysql-test/t/key_cache.test
+2
-2
No files found.
mysql-test/r/key_cache.result
View file @
0513c246
...
@@ -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
...
...
mysql-test/suite/pbxt/r/mysqlshow.result
View file @
0513c246
...
@@ -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 |
...
...
mysql-test/t/key_cache.test
View file @
0513c246
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment