# MDA with "Row count"s

**URL:** <https://community.dynatrace.com/t/mda-with-row-count-s/40536>\
**Category:** Dynatrace Tips\
**Tags:** databases, multidimensional-analysis\
**Created:** [July 5, 2023, 8:07pm UTC](https://community.dynatrace.com/t/mda-with-row-count-s/40536 "2023-07-05T20:07:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [July 5, 2023, 8:07pm UTC](https://community.dynatrace.com/t/mda-with-row-count-s/40536/1 "2023-07-05T20:07:51Z")

</div>

There are many metrics that can be used in an MDA. One particularly interesting is the “Row count”.  
I use it to detect which SQL queries get more rows from a Database. While it might be fast on the SQL database side, and fast across the network, it normally has a big impact on memory usage from whoever is making these calls, as all this data has to go into memory…

What I select in MDA:

 ![AntonioSousa_0-1688586923762.png](https://global.discourse-cdn.com/dynatrace/original/2X/4/43cb314a55e87d31c71910c604f377e996725839.png)

It’s almost certain doing this will quickly reveal bad examples of database invocation. A quick example below shows some evident ones:

 ![AntonioSousa_1-1688587584032.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/1/61bb11d305766a1ef7328b8a88eb298d57309fdf.png)

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [August 8, 2023, 3:27pm UTC](https://community.dynatrace.com/t/mda-with-row-count-s/40536/2 "2023-08-08T15:27:31Z")

</div>

Great Tip/Trick Antonio!

---

<div class="post-metadata">

**Author:** ![Kenny\_Gillette](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kenny_gillette/32/20170_2.png) [@Kenny\_Gillette](https://community.dynatrace.com/u/Kenny_Gillette)\
**Post date:** [August 8, 2023, 3:51pm UTC](https://community.dynatrace.com/t/mda-with-row-count-s/40536/3 "2023-08-08T15:51:30Z")

</div>

Great Tip indeed

---

<div class="post-metadata">

**Author:** ![cesarsaravia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/cesarsaravia/32/12818_2.png) [@cesarsaravia](https://community.dynatrace.com/u/cesarsaravia)\
**Post date:** [August 15, 2023, 11:44pm UTC](https://community.dynatrace.com/t/mda-with-row-count-s/40536/4 "2023-08-15T23:44:37Z")

</div>

Great tip for DBA’s improvements.

---

<div class="post-metadata">

**Author:** ![ShyamPradhan](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@ShyamPradhan](https://community.dynatrace.com/u/ShyamPradhan)\
**Post date:** [June 14, 2024, 9:09am UTC](https://community.dynatrace.com/t/mda-with-row-count-s/40536/5 "2024-06-14T09:09:56Z")

</div>

Thanks for the tip.
