# Figuring out I/O problems

**URL:** <https://forums.percona.com/t/figuring-out-i-o-problems/2666>\
**Category:** Other MySQL® Questions\
**Created:** [May 7, 2013, 10:55am UTC](https://forums.percona.com/t/figuring-out-i-o-problems/2666 "2013-05-07T10:55:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tyaz](https://avatars.discourse-cdn.com/v4/letter/t/8797f3/32.png) [@tyaz](https://forums.percona.com/u/tyaz)\
**Post date:** [May 7, 2013, 10:55am UTC](https://forums.percona.com/t/figuring-out-i-o-problems/2666/1 "2013-05-07T10:55:28Z")

</div>

I’m having constant IO problems on one of my servers, iotop tells me that the majority of IO is used by MySQL(Percona).

What’s the best way to identity who is using all of the IO from within MySQL?

I’ve been looking at BYTES\_RECEIVED AND BYTES\_SENT from INFORMATION\_SCHEMA.USER\_STATISTICS. Is there anything else I should be looking at that would tell me disk activity from a certain user?

---

<div class="post-metadata">

**Author:** ![gmouse](https://avatars.discourse-cdn.com/v4/letter/g/b9e5f3/32.png) [@gmouse](https://forums.percona.com/u/gmouse)\
**Post date:** [May 7, 2013, 1:04pm UTC](https://forums.percona.com/t/figuring-out-i-o-problems/2666/2 "2013-05-07T13:04:53Z")

</div>

I could be the cause and still not show up in users causing I/O, since all my queries can be satisfied from memory. It may be hard to identify a single cause, and maybe it’s a better idea to invest in SSD storage.

---

<div class="post-metadata">

**Author:** ![tyaz](https://avatars.discourse-cdn.com/v4/letter/t/8797f3/32.png) [@tyaz](https://forums.percona.com/u/tyaz)\
**Post date:** [May 8, 2013, 8:43am UTC](https://forums.percona.com/t/figuring-out-i-o-problems/2666/3 "2013-05-08T08:43:17Z")

</div>

We are already running SSD, but thanks for the suggestion.

---

<div class="post-metadata">

**Author:** ![gmouse](https://avatars.discourse-cdn.com/v4/letter/g/b9e5f3/32.png) [@gmouse](https://forums.percona.com/u/gmouse)\
**Post date:** [May 8, 2013, 9:51am UTC](https://forums.percona.com/t/figuring-out-i-o-problems/2666/4 "2013-05-08T09:51:46Z")

</div>

Three more suggestions 🙂

- There is a large variety of SSDs and RAID controllers. Try better ones.
- Check how many tmp tables are created on disk. If many, use a ram drive as tmp storage location for MySQL.
- Use pt-query-digest to see which users run the worst queries.
