# InnoDB Main Thread Utilization graph

**URL:** <https://forums.percona.com/t/innodb-main-thread-utilization-graph/26176>\
**Category:** PMM 2.x\
**Created:** [October 26, 2023, 7:31am UTC](https://forums.percona.com/t/innodb-main-thread-utilization-graph/26176 "2023-10-26T07:31:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nanuka](https://avatars.discourse-cdn.com/v4/letter/n/9fc29f/32.png) [@Nanuka](https://forums.percona.com/u/Nanuka)\
**Post date:** [October 26, 2023, 7:31am UTC](https://forums.percona.com/t/innodb-main-thread-utilization-graph/26176/1 "2023-10-26T07:31:18Z")

</div>

From which metric InnoDB Main Thread Utilization parameter graph is collected data and which parameter is behind the scenes, is it os level or innodb itself?  
in which parameters is it looking for in background?

```auto

Log Flushing: mysql_info_schema_innodb_metrics_server_innodb_log_flush_usec_total
Insert Buffer Merging: mysql_info_schema_innodb_metrics_server_innodb_ibuf_merge_usec_total
Checkpointing: mysql_info_schema_innodb_metrics_server_innodb_checkpoint_usec_total

```

## Additional Information:

[Include any additional information that could be helpful to diagnose the issue, such as browser or device information]

 ![Screenshot 2023-10-25 at 11.24.05](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/4/4565c9724e86b96891faf21fda1e4660cf1fa71b.png)

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [October 26, 2023, 7:09pm UTC](https://forums.percona.com/t/innodb-main-thread-utilization-graph/26176/2 "2023-10-26T19:09:49Z")

</div>

Hello @Nanuka,  
Looks like this was implemented here:

> <https://github.com/prometheus/mysqld_exporter/pull/69/files>
>
> Add metrics from information\_schema.innodb\_metrics.
> \- Ignore \`status\_counter\` me…trics duplicatd by \`SHOW GLOBAL STATUS\`
> \- Only show enabled metrics.

So these all come from information\_schema.innodb\_metrics table.
