# Can I know what SQL queries are made to the database?

**URL:** <https://community.dynatrace.com/t/can-i-know-what-sql-queries-are-made-to-the-database/41430>\
**Category:** Logs\
**Tags:** databases, hosts-classic, logs\
**Created:** [August 30, 2023, 4:07pm UTC](https://community.dynatrace.com/t/can-i-know-what-sql-queries-are-made-to-the-database/41430 "2023-08-30T16:07:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinke](https://avatars.discourse-cdn.com/v4/letter/v/bcef8e/32.png) [@Vinke](https://community.dynatrace.com/u/Vinke)\
**Post date:** [August 30, 2023, 4:07pm UTC](https://community.dynatrace.com/t/can-i-know-what-sql-queries-are-made-to-the-database/41430/1 "2023-08-30T16:07:10Z")

</div>

In our company we use oracle SQL to manage the database and through it we create queries to show the information in tableau reports.  
We are currently facing challenges where some reports consume a lot of memory or CPU; is there a way to know what these queries are?

---

<div class="post-metadata">

**Author:** ![natanael\_mendes](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/natanael_mendes/32/15264_2.png) [@natanael\_mendes](https://community.dynatrace.com/u/natanael_mendes)\
**Post date:** [August 30, 2023, 7:27pm UTC](https://community.dynatrace.com/t/can-i-know-what-sql-queries-are-made-to-the-database/41430/2 "2023-08-30T19:27:08Z")

</div>

Yes, you can see those queries in the top database statements, where you can see a lot of metrics about these requests

see the documentation here

> **[Top database statements in Multidimensional analysis](https://docs.dynatrace.com/docs/observe/application-observability/multidimensional-analysis/top-database-statements)**
>
> Understand the database activity across your environment with Dynatrace.
