# Execution plans for SQL DB

**URL:** <https://community.dynatrace.com/t/execution-plans-for-sql-db/19907>\
**Category:** Open Q&A\
**Tags:** databases\
**Created:** [March 8, 2019, 10:57am UTC](https://community.dynatrace.com/t/execution-plans-for-sql-db/19907 "2019-03-08T10:57:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![juan\_antonio\_co](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@juan\_antonio\_co](https://community.dynatrace.com/u/juan_antonio_co)\
**Post date:** [March 8, 2019, 10:57am UTC](https://community.dynatrace.com/t/execution-plans-for-sql-db/19907/1 "2019-03-08T10:57:03Z")

</div>

How can I see the execution plan for a SQL server with OneAgent deployed?

---

<div class="post-metadata">

**Author:** ![david\_n](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/david_n/32/12978_2.png) [@david\_n](https://community.dynatrace.com/u/david_n)\
**Post date:** [March 8, 2019, 4:26pm UTC](https://community.dynatrace.com/t/execution-plans-for-sql-db/19907/2 "2019-03-08T16:26:22Z")

</div>

Hello Juan,

To view the execution plan metrics you will have to go to databases → select your MS SQL server and click SQL details and Further details tabs to gather the information you need.

Here is a link that explains more. Take a look at the compilations, recompilations and process block metrics: [Microsoft SQL Server extension — Dynatrace Docs](https://www.dynatrace.com/support/help/technology-support/monitoring-support/mssql/)

Thanks,

David Nicholls
