Commit 1fc8b127 authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

[t:3988] #3988 Display thrashing statistics.

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@35901 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4ebf9555
......@@ -1166,6 +1166,20 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
STATPRINT("max_workdone", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.dsn_gap);
STATPRINT("dsn_gap", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.total_searches);
STATPRINT("total_searches", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.total_retries);
STATPRINT("total_retries", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.max_search_excess_retries);
STATPRINT("max_search_excess_retries", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.max_search_root_tries);
STATPRINT("max_search_root_tries", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.search_root_retries);
STATPRINT("search_root_retries", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.search_tries_gt_height);
STATPRINT("search_tries_gt_height", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.search_tries_gt_heightplus3);
STATPRINT("search_tries_gt_heightplus3", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.multi_inserts);
STATPRINT("dictionary inserts multi", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.multi_inserts_fail);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment