Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
cbd19c0c
Commit
cbd19c0c
authored
Oct 10, 2016
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
6095e132
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
119 additions
and
19 deletions
+119
-19
t/stats/NOTES.rst
t/stats/NOTES.rst
+29
-19
t/stats/bad.txt
t/stats/bad.txt
+63
-0
t/stats/good.txt
t/stats/good.txt
+27
-0
No files found.
t/stats/NOTES.rst
View file @
cbd19c0c
...
@@ -258,36 +258,43 @@ Slow case (neo0)::
...
@@ -258,36 +258,43 @@ Slow case (neo0)::
Handler_commit : 1 +1
Handler_commit : 1 +1
Handler_read_key : 1 +1
Handler_read_key : 1 +1
Handler_read_next : 1 +1
Handler_read_next : 1 +1
Innodb_background_log_sync : 368 +2
Innodb_background_log_sync : 368 +2
XXX why ?!!! (xtradb only)
Innodb_master_thread_idle_loops : 367 +2
Innodb_master_thread_idle_loops : 367 +2
XXX why ?!!!
Last_query_cost : 2.742333 +2.742333
Last_query_cost : 2.742333 +2.742333
Qcache_not_cached : 16 +16
Qcache_not_cached : 16 +16
XXX why so many?
Queries : 262341 +21
Queries : 262341 +21
XXX ----//----
Questions : 3 +2
Questions : 3 +2
Rows_read : 2 +2
Rows_read : 2 +2
NOTE 1 more vs good
Rows_sent : 2 +2
Rows_sent : 2 +2
NOTE ----//----
Rows_tmp_read : 780 +780
Rows_tmp_read : 780 +780
Select_range : 1 +1
Select_range : 1 +1
Slow_queries : 1 +1
Slow_queries : 1 +1
Table_locks_immediate : 24 +24 XXX
Table_locks_immediate : 24 +24 XXX
so many ~= Qcache_not_cached
Threads_running : 1 +-1
Threads_running : 1 +-1
Tokudb_basement_deserialization_fixed_key : 2229717 +14386
Tokudb_basements_fetched_target_query : 1215707 +14386
Tokudb_basement_deserialization_fixed_key : 2229717 +14386 XXX many "basement nodes" are loaded(?)
Tokudb_basements_fetched_target_query_bytes : 16668472320 +152982528
Tokudb_basements_fetched_target_query : 1215707 +14386 XXX ----//----
Tokudb_basements_fetched_target_query_seconds : 12.56421 +0.02178
Tokudb_basements_fetched_target_query_bytes : 16668472320 +152982528 XXX ----//----
Tokudb_cachetable_cleaner_executions : 592 +2
Tokudb_basements_fetched_target_query_seconds : 12.56421 +0.02178 XXX ----//----
# cache growed / was used a lot
Tokudb_cachetable_cleaner_executions : 592 +2 XXX #times cleaner thread has executed
Tokudb_cachetable_evictions : 9600 +51
Tokudb_cachetable_evictions : 9600 +51
Tokudb_cachetable_pool_cachetable_total_items_processed : 19415 +8
Tokudb_cachetable_pool_cachetable_total_items_processed : 19415 +8
XXX cachetab pool: #total of work items processed
Tokudb_cachetable_size_cachepressure : 8077172 +-83113
Tokudb_cachetable_size_cachepressure : 8077172 +-83113
Tokudb_cachetable_size_current : 1144918868 +37576872 XXX
Tokudb_cachetable_size_current : 1144918868 +37576872 XXX +35M "items" (not sure it is in bytes)
Tokudb_cachetable_size_leaf : 1131549588 +37662332
Tokudb_cachetable_size_leaf : 1131549588 +37662332 XXX ~ same
Tokudb_cachetable_size_nonleaf : 13368032 +-82340
Tokudb_cachetable_size_nonleaf : 13368032 +-82340 NOTE _decreased_
Tokudb_cachetable_size_rollback : 1248 +-3120
Tokudb_cachetable_size_rollback : 1248 +-3120 NOTE #bytes in CT (rollback nodes) _decreased_
Tokudb_cursor_skip_deleted_leaf_entry : 796652814 +6456408
Tokudb_cursor_skip_deleted_leaf_entry : 796652814 +6456408 XXX NOTE (!) was described in article to cause slowness
Tokudb_filesystem_fsync_num : 992 +1 XXX
Tokudb_filesystem_fsync_num : 992 +1 XXX
Tokudb_filesystem_fsync_time : 9154018 +7358 XXX
Tokudb_filesystem_fsync_time : 9154018 +7358 XXX (us) = 7.4ms
Tokudb_leaf_decompression_to_memory_seconds : 221.668309 +1.089154 XXX <-- !!!
Tokudb_leaf_decompression_to_memory_seconds : 221.668309 +1.089154 XXX <-- !!!
Tokudb_leaf_deserialization_to_memory_seconds : 36.807413 +0.189991 XXX <-- !!!
Tokudb_leaf_deserialization_to_memory_seconds : 36.807413 +0.189991 XXX <-- !!!
Tokudb_leaf_node_full_evictions : 9223 +49
Tokudb_leaf_node_full_evictions : 9223 +49
Tokudb_leaf_node_full_evictions_bytes : 319606176 +157852
Tokudb_leaf_node_full_evictions_bytes : 319606176 +157852
Tokudb_leaf_node_partial_evictions : 2212174 +12893
Tokudb_leaf_node_partial_evictions : 2212174 +12893
...
@@ -528,3 +535,6 @@ NOTE::
...
@@ -528,3 +535,6 @@ NOTE::
NOTE -> performance_schema (requires server restart)
NOTE -> performance_schema (requires server restart)
TODO tokudb vs innodb bin log (regoogle)
t/stats/bad.txt
0 → 100644
View file @
cbd19c0c
AAA 268557222739722248 268557226879226040 1001 0
1.591 ((1L, 'SIMPLE', 'trans', 'range', 'PRIMARY', 'PRIMARY', '10', None, 1L, 1.0, 100.0, 100.0, 'Using where; Using index'),)
Bytes_received : 289 +273
Bytes_sent : 11194 +11183
Com_select : 1 +1
Com_show_status : 2 +1
Handler_commit : 1 +1
Handler_read_key : 1 +1
Handler_read_next : 1 +1
Innodb_background_log_sync : 368 +2
Innodb_master_thread_idle_loops : 367 +2
Last_query_cost : 2.742333 +2.742333
Qcache_not_cached : 16 +16
Queries : 262341 +21
Questions : 3 +2
Rows_read : 2 +2
Rows_sent : 2 +2
Rows_tmp_read : 780 +780
Select_range : 1 +1
Slow_queries : 1 +1
Table_locks_immediate : 24 +24 XXX
Threads_running : 1 +-1
Tokudb_basement_deserialization_fixed_key : 2229717 +14386
Tokudb_basements_fetched_target_query : 1215707 +14386
Tokudb_basements_fetched_target_query_bytes : 16668472320 +152982528
Tokudb_basements_fetched_target_query_seconds : 12.56421 +0.02178
Tokudb_cachetable_cleaner_executions : 592 +2
Tokudb_cachetable_evictions : 9600 +51
Tokudb_cachetable_pool_cachetable_total_items_processed : 19415 +8
Tokudb_cachetable_size_cachepressure : 8077172 +-83113
Tokudb_cachetable_size_current : 1144918868 +37576872 XXX
Tokudb_cachetable_size_leaf : 1131549588 +37662332
Tokudb_cachetable_size_nonleaf : 13368032 +-82340
Tokudb_cachetable_size_rollback : 1248 +-3120
Tokudb_cursor_skip_deleted_leaf_entry : 796652814 +6456408
Tokudb_filesystem_fsync_num : 992 +1 XXX
Tokudb_filesystem_fsync_time : 9154018 +7358 XXX
Tokudb_leaf_decompression_to_memory_seconds : 221.668309 +1.089154 XXX <-- !!!
Tokudb_leaf_deserialization_to_memory_seconds : 36.807413 +0.189991 XXX <-- !!!
Tokudb_leaf_node_full_evictions : 9223 +49
Tokudb_leaf_node_full_evictions_bytes : 319606176 +157852
Tokudb_leaf_node_partial_evictions : 2212174 +12893
Tokudb_leaf_node_partial_evictions_bytes : 174814689660 +1069000238
Tokudb_locktree_memory_size : 0 +-402
Tokudb_locktree_sto_eligible_num : 0 +-5
Tokudb_logger_next_lsn : 2301973637 +1
Tokudb_logger_writes : 485 +1
Tokudb_logger_writes_bytes : 404674 +37
Tokudb_logger_writes_seconds : 0.00618 +1.3e-05
Tokudb_logger_writes_uncompressed_bytes : 404674 +37
Tokudb_nonleaf_node_full_evictions : 377 +2
Tokudb_nonleaf_node_full_evictions_bytes : 56834699 +66212
Tokudb_nonleaf_node_partial_evictions : 2389 +42
Tokudb_nonleaf_node_partial_evictions_bytes : 1542323 +16128
Tokudb_promotion_leaf_roots_injected_into : 1250 +1
Tokudb_search_tries_gt_height : 316 +3
Tokudb_search_tries_gt_heightplus3 : 315 +3
Tokudb_total_search_retries : 3315714 +31446 XXX <-- !!!
Tokudb_txn_begin : 262163 +18 XXX
Tokudb_txn_commits : 262138 +20
Uptime : 369 +2
Uptime_since_flush_status : 2 +2
(0.431)
t/stats/good.txt
0 → 100644
View file @
cbd19c0c
AAA 268557254261782968 268557254363747334 1001 2
0.001 ((1L, 'SIMPLE', 'trans', 'range', 'PRIMARY', 'PRIMARY', '10', None, 1L, 0.0, 100.0, 100.0, 'Using where; Using index'),)
Bytes_received : 289 +273
Bytes_sent : 11232 +11221
Com_select : 1 +1
Com_show_status : 2 +1
Handler_commit : 1 +1
Handler_read_key : 1 +1
Last_query_cost : 1.532333 +1.532333
Queries : 699860 +2
Questions : 3 +2
Rows_read : 1 +1
Rows_sent : 1 +1
Rows_tmp_read : 780 +780
Select_range : 1 +1
Table_locks_immediate : 1 +1
Tokudb_basement_deserialization_fixed_key : 4243753 +1
Tokudb_basements_fetched_target_query : 3215002 +1
Tokudb_basements_fetched_target_query_bytes : 44778189312 +17408
Tokudb_basements_fetched_target_query_seconds : 34.811946 +3.99999999701e-06
Tokudb_cachetable_size_current : 1081618155 +122560
Tokudb_cachetable_size_leaf : 1063377598 +122560
Tokudb_leaf_decompression_to_memory_seconds : 373.862982 +0.000122999999974
Tokudb_leaf_deserialization_to_memory_seconds : 63.778401 +2.50000000008e-05
Tokudb_txn_begin : 698705 +2
Tokudb_txn_commits : 698654 +1
(0.000)
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