mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
[t:3988] #3988 Display thrashing statistics.
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@35901 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
dccff4cb7b
commit
eb1214ea72
1 changed files with 14 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue