diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/support/stat.c')
-rw-r--r-- | src/third_party/wiredtiger/src/support/stat.c | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/src/third_party/wiredtiger/src/support/stat.c b/src/third_party/wiredtiger/src/support/stat.c index 0376a34f998..f5ae97c8cea 100644 --- a/src/third_party/wiredtiger/src/support/stat.c +++ b/src/third_party/wiredtiger/src/support/stat.c @@ -146,8 +146,6 @@ static const char *const __stats_dsrc_desc[] = { "cursor: Total number of entries skipped by cursor next calls", "cursor: Total number of entries skipped by cursor prev calls", "cursor: Total number of entries skipped to position the history store cursor", - "cursor: Total number of pages skipped without reading by cursor next calls", - "cursor: Total number of pages skipped without reading by cursor prev calls", "cursor: Total number of times a search near has exited due to prefix config", "cursor: bulk loaded cursor insert calls", "cursor: cache cursors reuse count", @@ -409,8 +407,6 @@ __wt_stat_dsrc_clear_single(WT_DSRC_STATS *stats) stats->cursor_next_skip_total = 0; stats->cursor_prev_skip_total = 0; stats->cursor_skip_hs_cur_position = 0; - stats->cursor_next_skip_page_count = 0; - stats->cursor_prev_skip_page_count = 0; stats->cursor_search_near_prefix_fast_paths = 0; stats->cursor_insert_bulk = 0; stats->cursor_reopen = 0; @@ -661,8 +657,6 @@ __wt_stat_dsrc_aggregate_single(WT_DSRC_STATS *from, WT_DSRC_STATS *to) to->cursor_next_skip_total += from->cursor_next_skip_total; to->cursor_prev_skip_total += from->cursor_prev_skip_total; to->cursor_skip_hs_cur_position += from->cursor_skip_hs_cur_position; - to->cursor_next_skip_page_count += from->cursor_next_skip_page_count; - to->cursor_prev_skip_page_count += from->cursor_prev_skip_page_count; to->cursor_search_near_prefix_fast_paths += from->cursor_search_near_prefix_fast_paths; to->cursor_insert_bulk += from->cursor_insert_bulk; to->cursor_reopen += from->cursor_reopen; @@ -916,8 +910,6 @@ __wt_stat_dsrc_aggregate(WT_DSRC_STATS **from, WT_DSRC_STATS *to) to->cursor_next_skip_total += WT_STAT_READ(from, cursor_next_skip_total); to->cursor_prev_skip_total += WT_STAT_READ(from, cursor_prev_skip_total); to->cursor_skip_hs_cur_position += WT_STAT_READ(from, cursor_skip_hs_cur_position); - to->cursor_next_skip_page_count += WT_STAT_READ(from, cursor_next_skip_page_count); - to->cursor_prev_skip_page_count += WT_STAT_READ(from, cursor_prev_skip_page_count); to->cursor_search_near_prefix_fast_paths += WT_STAT_READ(from, cursor_search_near_prefix_fast_paths); to->cursor_insert_bulk += WT_STAT_READ(from, cursor_insert_bulk); @@ -1222,8 +1214,6 @@ static const char *const __stats_connection_desc[] = { "cursor: Total number of entries skipped by cursor next calls", "cursor: Total number of entries skipped by cursor prev calls", "cursor: Total number of entries skipped to position the history store cursor", - "cursor: Total number of pages skipped without reading by cursor next calls", - "cursor: Total number of pages skipped without reading by cursor prev calls", "cursor: Total number of times a search near has exited due to prefix config", "cursor: cached cursor count", "cursor: cursor bulk loaded cursor insert calls", @@ -1403,8 +1393,9 @@ static const char *const __stats_connection_desc[] = { "reconciliation: records written including a stop transaction ID", "reconciliation: split bytes currently awaiting free", "reconciliation: split objects currently awaiting free", - "session: flush state races", + "session: attempts to remove a local object and the object is in use", "session: flush_tier operation calls", + "session: local objects removed", "session: open session count", "session: session query timestamp calls", "session: table alter failed calls", @@ -1758,8 +1749,6 @@ __wt_stat_connection_clear_single(WT_CONNECTION_STATS *stats) stats->cursor_next_skip_total = 0; stats->cursor_prev_skip_total = 0; stats->cursor_skip_hs_cur_position = 0; - stats->cursor_next_skip_page_count = 0; - stats->cursor_prev_skip_page_count = 0; stats->cursor_search_near_prefix_fast_paths = 0; /* not clearing cursor_cached_count */ stats->cursor_insert_bulk = 0; @@ -1938,8 +1927,9 @@ __wt_stat_connection_clear_single(WT_CONNECTION_STATS *stats) stats->rec_time_window_stop_txn = 0; /* not clearing rec_split_stashed_bytes */ /* not clearing rec_split_stashed_objects */ - stats->flush_state_races = 0; + stats->local_objects_inuse = 0; stats->flush_tier = 0; + stats->local_objects_removed = 0; /* not clearing session_open */ stats->session_query_ts = 0; /* not clearing session_table_alter_fail */ @@ -2296,8 +2286,6 @@ __wt_stat_connection_aggregate(WT_CONNECTION_STATS **from, WT_CONNECTION_STATS * to->cursor_next_skip_total += WT_STAT_READ(from, cursor_next_skip_total); to->cursor_prev_skip_total += WT_STAT_READ(from, cursor_prev_skip_total); to->cursor_skip_hs_cur_position += WT_STAT_READ(from, cursor_skip_hs_cur_position); - to->cursor_next_skip_page_count += WT_STAT_READ(from, cursor_next_skip_page_count); - to->cursor_prev_skip_page_count += WT_STAT_READ(from, cursor_prev_skip_page_count); to->cursor_search_near_prefix_fast_paths += WT_STAT_READ(from, cursor_search_near_prefix_fast_paths); to->cursor_cached_count += WT_STAT_READ(from, cursor_cached_count); @@ -2485,8 +2473,9 @@ __wt_stat_connection_aggregate(WT_CONNECTION_STATS **from, WT_CONNECTION_STATS * to->rec_time_window_stop_txn += WT_STAT_READ(from, rec_time_window_stop_txn); to->rec_split_stashed_bytes += WT_STAT_READ(from, rec_split_stashed_bytes); to->rec_split_stashed_objects += WT_STAT_READ(from, rec_split_stashed_objects); - to->flush_state_races += WT_STAT_READ(from, flush_state_races); + to->local_objects_inuse += WT_STAT_READ(from, local_objects_inuse); to->flush_tier += WT_STAT_READ(from, flush_tier); + to->local_objects_removed += WT_STAT_READ(from, local_objects_removed); to->session_open += WT_STAT_READ(from, session_open); to->session_query_ts += WT_STAT_READ(from, session_query_ts); to->session_table_alter_fail += WT_STAT_READ(from, session_table_alter_fail); |