# PMM QAN: Load vs Query Count

**URL:** <https://forums.percona.com/t/pmm-qan-load-vs-query-count/10136>\
**Category:** Percona Monitoring and Management (PMM)\
**Created:** [April 18, 2021, 4:49am UTC](https://forums.percona.com/t/pmm-qan-load-vs-query-count/10136 "2021-04-18T04:49:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venkat](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/venkat/32/5328_2.png) [@Venkat](https://forums.percona.com/u/Venkat)\
**Post date:** [April 18, 2021, 4:49am UTC](https://forums.percona.com/t/pmm-qan-load-vs-query-count/10136/1 "2021-04-18T04:49:02Z")

</div>

Hello All,

The Load as I see is, Average Active Sessions per second. The Query Count also shows Query Per Second. How are they different? I am certainly missing something. Maybe the “Load” is Average Active Sessions, when this query was running, but not all of them were necessarily running this query?

For example, this query over 15 mins:

```
Query Load Query Count
SELECT `detail` . `id` AS `id` , `detail` ... 0.95 (ps) 0.02 QPS

```

Thank you!

---

<div class="post-metadata">

**Author:** ![andrii.skomorokov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/andrii.skomorokov/32/1236_2.png) [@andrii.skomorokov](https://forums.percona.com/u/andrii.skomorokov)\
**Post date:** [April 21, 2021, 3:10pm UTC](https://forums.percona.com/t/pmm-qan-load-vs-query-count/10136/2 "2021-04-21T15:10:25Z")

</div>

Hello Venkat,

Thank you for your question!

The Query Count is a sum of queries (number of queries) executed in a selected time period divided by the number of seconds in this time period - so it means the average number of queries per second.

The Load is a sum of the duration of execution of queries (how long queries run) divided by the number of seconds in the selected time period - we can understand it as how busy the database was by executing queries in the selected time range (please note: that a DB can executed queries in parallel - hance load can be bigger than 1).

Regards!

---

<div class="post-metadata">

**Author:** ![Venkat](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/venkat/32/5328_2.png) [@Venkat](https://forums.percona.com/u/Venkat)\
**Post date:** [April 21, 2021, 7:06pm UTC](https://forums.percona.com/t/pmm-qan-load-vs-query-count/10136/3 "2021-04-21T19:06:25Z")

</div>

Thank you @andril.skomorokov! That explained really well!

Regards.
