Commit 731d9ce4 authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

[t:4362] Add more checkpoint info to engine status. Refs #4362.

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@38572 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4b91f7c9
...@@ -1214,15 +1214,22 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) { ...@@ -1214,15 +1214,22 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
STATPRINT("checkpoint client wait on mo lock", buf); STATPRINT("checkpoint client wait on mo lock", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_client_wait_on_cs); snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_client_wait_on_cs);
STATPRINT("checkpoint client wait on cs lock", buf); STATPRINT("checkpoint client wait on cs lock", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_wait_sched); snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_wait_sched_cs);
STATPRINT("checkpoint wait sched", buf); STATPRINT("checkpoint sched wait on cs lock", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_wait_client); snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_wait_client_cs);
STATPRINT("checkpoint wait client", buf); STATPRINT("checkpoint client wait on cs lock", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_wait_txn); snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_wait_txn_cs);
STATPRINT("checkpoint wait txn", buf); STATPRINT("checkpoint txn wait on cs lock", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_wait_other); snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_wait_other_cs);
STATPRINT("checkpoint wait other", buf); STATPRINT("checkpoint other wait on cs lock", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_wait_sched_mo);
STATPRINT("checkpoint sched wait on mo lock", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_wait_client_mo);
STATPRINT("checkpoint client wait on mo lock", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_wait_txn_mo);
STATPRINT("checkpoint txn wait on mo lock", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.checkpoint_wait_other_mo);
STATPRINT("checkpoint other wait on mo lock", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.cleaner_period); snprintf(buf, bufsiz, "%" PRIu64, engstat.cleaner_period);
STATPRINT("cleaner period", buf); STATPRINT("cleaner period", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.cleaner_iterations); snprintf(buf, bufsiz, "%" PRIu64, engstat.cleaner_iterations);
......
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