# MySQL long running queries

**URL:** <https://forums.percona.com/t/mysql-long-running-queries/7125>\
**Category:** PMM 1.x\
**Created:** [July 22, 2019, 5:40pm UTC](https://forums.percona.com/t/mysql-long-running-queries/7125 "2019-07-22T17:40:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sampathkamineni](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@sampathkamineni](https://forums.percona.com/u/sampathkamineni)\
**Post date:** [July 22, 2019, 5:40pm UTC](https://forums.percona.com/t/mysql-long-running-queries/7125/1 "2019-07-22T17:40:34Z")

</div>

Is there a way to monitor for Long running queries on a MySQL database and have a dashboard, so that we can setup alerting if a query is running for more than x minutes on a db server. Can someone please point me in the right direction please.  
Thanks in advance.
