diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/support/stat.c')
-rw-r--r-- | src/third_party/wiredtiger/src/support/stat.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/src/support/stat.c b/src/third_party/wiredtiger/src/support/stat.c index ae13f7d8abe..c418591d294 100644 --- a/src/third_party/wiredtiger/src/support/stat.c +++ b/src/third_party/wiredtiger/src/support/stat.c @@ -72,6 +72,7 @@ static const char * const __stats_dsrc_desc[] = { "cache: page split during eviction deepened the tree", "cache: page written requiring lookaside records", "cache: pages read into cache", + "cache: pages read into cache after truncate", "cache: pages read into cache requiring lookaside entries", "cache: pages requested from the cache", "cache: pages seen by eviction walk", @@ -255,6 +256,7 @@ __wt_stat_dsrc_clear_single(WT_DSRC_STATS *stats) stats->cache_eviction_deepen = 0; stats->cache_write_lookaside = 0; stats->cache_read = 0; + stats->cache_read_deleted = 0; stats->cache_read_lookaside = 0; stats->cache_pages_requested = 0; stats->cache_eviction_pages_seen = 0; @@ -435,6 +437,7 @@ __wt_stat_dsrc_aggregate_single( to->cache_eviction_deepen += from->cache_eviction_deepen; to->cache_write_lookaside += from->cache_write_lookaside; to->cache_read += from->cache_read; + to->cache_read_deleted += from->cache_read_deleted; to->cache_read_lookaside += from->cache_read_lookaside; to->cache_pages_requested += from->cache_pages_requested; to->cache_eviction_pages_seen += from->cache_eviction_pages_seen; @@ -633,6 +636,7 @@ __wt_stat_dsrc_aggregate( to->cache_write_lookaside += WT_STAT_READ(from, cache_write_lookaside); to->cache_read += WT_STAT_READ(from, cache_read); + to->cache_read_deleted += WT_STAT_READ(from, cache_read_deleted); to->cache_read_lookaside += WT_STAT_READ(from, cache_read_lookaside); to->cache_pages_requested += WT_STAT_READ(from, cache_pages_requested); @@ -844,6 +848,7 @@ static const char * const __stats_connection_desc[] = { "cache: pages queued for urgent eviction", "cache: pages queued for urgent eviction during walk", "cache: pages read into cache", + "cache: pages read into cache after truncate", "cache: pages read into cache requiring lookaside entries", "cache: pages read into cache skipping older lookaside entries", "cache: pages read into cache with skipped lookaside entries needed later", @@ -1040,7 +1045,6 @@ static const char * const __stats_connection_desc[] = { "thread-yield: page acquire time sleeping (usecs)", "thread-yield: page delete rollback time sleeping for state change (usecs)", "thread-yield: page reconciliation yielded due to child modification", - "thread-yield: tree descend one level yielded for split page index update", "transaction: commit timestamp queue insert to empty", "transaction: commit timestamp queue inserts to tail", "transaction: commit timestamp queue inserts total", @@ -1233,6 +1237,7 @@ __wt_stat_connection_clear_single(WT_CONNECTION_STATS *stats) stats->cache_eviction_pages_queued_urgent = 0; stats->cache_eviction_pages_queued_oldest = 0; stats->cache_read = 0; + stats->cache_read_deleted = 0; stats->cache_read_lookaside = 0; stats->cache_read_lookaside_skipped = 0; stats->cache_read_lookaside_delay = 0; @@ -1429,7 +1434,6 @@ __wt_stat_connection_clear_single(WT_CONNECTION_STATS *stats) stats->page_sleep = 0; stats->page_del_rollback_blocked = 0; stats->child_modify_blocked_page = 0; - stats->tree_descend_blocked = 0; stats->txn_commit_queue_empty = 0; stats->txn_commit_queue_tail = 0; stats->txn_commit_queue_inserts = 0; @@ -1658,6 +1662,7 @@ __wt_stat_connection_aggregate( to->cache_eviction_pages_queued_oldest += WT_STAT_READ(from, cache_eviction_pages_queued_oldest); to->cache_read += WT_STAT_READ(from, cache_read); + to->cache_read_deleted += WT_STAT_READ(from, cache_read_deleted); to->cache_read_lookaside += WT_STAT_READ(from, cache_read_lookaside); to->cache_read_lookaside_skipped += WT_STAT_READ(from, cache_read_lookaside_skipped); @@ -1944,7 +1949,6 @@ __wt_stat_connection_aggregate( WT_STAT_READ(from, page_del_rollback_blocked); to->child_modify_blocked_page += WT_STAT_READ(from, child_modify_blocked_page); - to->tree_descend_blocked += WT_STAT_READ(from, tree_descend_blocked); to->txn_commit_queue_empty += WT_STAT_READ(from, txn_commit_queue_empty); to->txn_commit_queue_tail += |