summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/dist
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2020-11-06 17:53:09 +1100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-06 07:15:57 +0000
commit8f17b78eaf94bfdd0e5dcc30fa38be6df013805e (patch)
tree630a1de2df30089a55d08aa547249ea2390ef66a /src/third_party/wiredtiger/dist
parenta0fce10bb34cb04455f02948352f5eb37b38ad75 (diff)
downloadmongo-8f17b78eaf94bfdd0e5dcc30fa38be6df013805e.tar.gz
Import wiredtiger: 5f201b99d99f813e6b553a37e9c5d7f1cab1e136 from branch mongodb-5.0
ref: c18b6fcb3e..5f201b99d9 for: 4.9.0 WT-4780 Enable assertion that commit timestamp is newer than all readers WT-6860 Add relevant history store statistics to data handles
Diffstat (limited to 'src/third_party/wiredtiger/dist')
-rw-r--r--src/third_party/wiredtiger/dist/stat_data.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/dist/stat_data.py b/src/third_party/wiredtiger/dist/stat_data.py
index 6d66318f99c..2c0b5195465 100644
--- a/src/third_party/wiredtiger/dist/stat_data.py
+++ b/src/third_party/wiredtiger/dist/stat_data.py
@@ -766,7 +766,20 @@ dsrc_stats = [
CacheStat('cache_eviction_walks_gave_up_no_targets', 'eviction walks gave up because they saw too many pages and found no candidates'),
CacheStat('cache_eviction_walks_gave_up_ratio', 'eviction walks gave up because they saw too many pages and found too few candidates'),
CacheStat('cache_eviction_walks_stopped', 'eviction walks gave up because they restarted their walk twice'),
+ CacheStat('cache_hs_insert', 'history store table insert calls'),
+ CacheStat('cache_hs_insert_restart', 'history store table insert calls that returned restart'),
+ CacheStat('cache_hs_key_truncate', 'history store table truncation to remove an update'),
+ CacheStat('cache_hs_key_truncate_mix_ts', 'history store table truncation to remove range of updates due to mixed timestamps'),
+ CacheStat('cache_hs_key_truncate_onpage_removal', 'history store table truncation to remove range of updates due to key being removed from the data page during reconciliation'),
+ CacheStat('cache_hs_key_truncate_rts', 'history store table truncation by rollback to stable to remove an update'),
+ CacheStat('cache_hs_key_truncate_rts_unstable', 'history store table truncation by rollback to stable to remove an unstable update'),
+ CacheStat('cache_hs_order_fixup_insert', 'history store table out-of-order updates that were fixed up during insertion'),
+ CacheStat('cache_hs_order_fixup_move', 'history store table out-of-order updates that were fixed up by moving existing records'),
+ CacheStat('cache_hs_order_lose_durable_timestamp', 'history store table out-of-order resolved updates that lose their durable timestamp'),
CacheStat('cache_hs_read', 'history store table reads'),
+ CacheStat('cache_hs_read_miss', 'history store table reads missed'),
+ CacheStat('cache_hs_read_squash', 'history store table reads requiring squashed modifies'),
+ CacheStat('cache_hs_write_squash', 'history store table writes requiring squashed modifies'),
CacheStat('cache_inmem_split', 'in-memory page splits'),
CacheStat('cache_inmem_splittable', 'in-memory page passed criteria to be split'),
CacheStat('cache_pages_requested', 'pages requested from the cache'),
@@ -826,10 +839,12 @@ dsrc_stats = [
CursorStat('cursor_modify_bytes', 'modify key and value bytes affected', 'size'),
CursorStat('cursor_modify_bytes_touch', 'modify value bytes modified', 'size'),
CursorStat('cursor_next', 'next calls'),
+ CursorStat('cursor_next_hs_tombstone', 'cursor next calls that skip due to a globally visible history store tombstone'),
CursorStat('cursor_next_skip_ge_100', 'cursor next calls that skip greater than or equal to 100 entries'),
CursorStat('cursor_next_skip_lt_100', 'cursor next calls that skip less than 100 entries'),
CursorStat('cursor_next_skip_total', 'Total number of entries skipped by cursor next calls'),
CursorStat('cursor_prev', 'prev calls'),
+ CursorStat('cursor_prev_hs_tombstone', 'cursor prev calls that skip due to a globally visible history store tombstone'),
CursorStat('cursor_prev_skip_ge_100', 'cursor prev calls that skip greater than or equal to 100 entries'),
CursorStat('cursor_prev_skip_lt_100', 'cursor prev calls that skip less than 100 entries'),
CursorStat('cursor_prev_skip_total', 'Total number of entries skipped by cursor prev calls'),
@@ -922,6 +937,12 @@ dsrc_stats = [
# Transaction statistics
##########################################
TxnStat('txn_read_race_prepare_update', 'race to read prepared update retry'),
+ TxnStat('txn_rts_hs_removed', 'rollback to stable updates removed from history store'),
+ TxnStat('txn_rts_hs_restore_tombstones', 'rollback to stable restored tombstones from history store'),
+ TxnStat('txn_rts_hs_stop_older_than_newer_start', 'rollback to stable hs records with stop timestamps older than newer records'),
+ TxnStat('txn_rts_keys_removed', 'rollback to stable keys removed'),
+ TxnStat('txn_rts_keys_restored', 'rollback to stable keys restored'),
+ TxnStat('txn_rts_sweep_hs_keys', 'rollback to stable sweeping history store keys'),
TxnStat('txn_update_conflict', 'update conflicts'),
]