# Oracle Database table space alerting

**URL:** <https://community.dynatrace.com/t/oracle-database-table-space-alerting/38214>\
**Category:** Extensions\
**Tags:** dynatrace-managed, oracle, extensions\
**Created:** [January 31, 2023, 6:06pm UTC](https://community.dynatrace.com/t/oracle-database-table-space-alerting/38214 "2023-01-31T18:06:09Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishal\_shenduri](https://avatars.discourse-cdn.com/v4/letter/v/b5ac83/32.png) [@vishal\_shenduri](https://community.dynatrace.com/u/vishal_shenduri)\
**Post date:** [January 31, 2023, 6:06pm UTC](https://community.dynatrace.com/t/oracle-database-table-space-alerting/38214/1 "2023-01-31T18:06:09Z")

</div>

Hello All,

There is a requirement from the app team to get alerts on table space usage and Oracle listener down for the Oracle database.

Is there a way we can get the above alerts?

Thanks,

Vishal

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [January 31, 2023, 8:35pm UTC](https://community.dynatrace.com/t/oracle-database-table-space-alerting/38214/2 "2023-01-31T20:35:07Z")

</div>

Using Oracle DB extension, you will get [additional metrics](https://www.dynatrace.com/hub/detail/oracle-database/?query=oracle#details) from your DB, and then, create [metric events](https://www.dynatrace.com/support/help/how-to-use-dynatrace/problem-detection-and-analysis/problem-detection/metric-events-for-alerting) for the threshold you need.

---

<div class="post-metadata">

**Author:** ![susmita\_k](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@susmita\_k](https://community.dynatrace.com/u/susmita_k)\
**Post date:** [June 27, 2024, 9:34pm UTC](https://community.dynatrace.com/t/oracle-database-table-space-alerting/38214/3 "2024-06-27T21:34:35Z")

</div>

Hi, I am trying to create a metric event and here is my metric selector, but alert is not working, not sure what is the issue. I have validated that there are two tablespaces which exceeds my threshold, this query is working in data explorer.

com.dynatrace.extension.sql-oracle.tablespaces.usage:filter(and(or(in(“dt.entity.sql:com\_dynatrace\_extension\_sql-oracle\_instance”,entitySelector(“type(sql:com\_dynatrace\_extension\_sql-oracle\_instance),tag(~“Department:X~”)”))),or(in(“dt.entity.sql:com\_dynatrace\_extension\_sql-oracle\_instance”,entitySelector(“type(sql:com\_dynatrace\_extension\_sql-oracle\_instance),entityName.equals(~“AB2~”)”)),in(“dt.entity.sql:com\_dynatrace\_extension\_sql-oracle\_instance”,entitySelector(“type(sql:com\_dynatrace\_extension\_sql-oracle\_instance),entityName.equals(~“AB1”)”))))):splitBy(tablespace)

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [June 28, 2024, 12:48pm UTC](https://community.dynatrace.com/t/oracle-database-table-space-alerting/38214/4 "2024-06-28T12:48:24Z")

</div>

Make sure to check the sampling interval rules in the metric event, on Advanced model properties. Normally is set to 3 samples in 5 minutes, but the data points from the extensions come every 5 mins, so this rule will never match.

---

<div class="post-metadata">

**Author:** ![susmita\_k](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@susmita\_k](https://community.dynatrace.com/u/susmita_k)\
**Post date:** [June 28, 2024, 1:30pm UTC](https://community.dynatrace.com/t/oracle-database-table-space-alerting/38214/5 "2024-06-28T13:30:19Z")

</div>

[@dannemca](https://community.dynatrace.com/user/18264), That was the issue, when i changed it to 5 mins, it worked 🙂 Thanks! But I see the problem is getting created on the environment, not on the Oracle instance entity. Is there any way to configure that, so we can connect to the entity and related services etc.

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [June 28, 2024, 1:41pm UTC](https://community.dynatrace.com/t/oracle-database-table-space-alerting/38214/6 "2024-06-28T13:41:52Z")

</div>

Check if you have anything set on the “Dimension key of entity for events” field. I use here the “Oracle DB Instance” and works just fine.

---

<div class="post-metadata">

**Author:** ![susmita\_k](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@susmita\_k](https://community.dynatrace.com/u/susmita_k)\
**Post date:** [June 28, 2024, 4:20pm UTC](https://community.dynatrace.com/t/oracle-database-table-space-alerting/38214/7 "2024-06-28T16:20:54Z")

</div>

I had the dimension as you mentioned, while it didnt work first time, now its getting generated on the oracle db instance entity. Thanks so much for taking time to respond.

---

<div class="post-metadata">

**Author:** ![susmita\_k](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@susmita\_k](https://community.dynatrace.com/u/susmita_k)\
**Post date:** [June 28, 2024, 4:21pm UTC](https://community.dynatrace.com/t/oracle-database-table-space-alerting/38214/8 "2024-06-28T16:21:51Z")

</div>

Since we are talking about the problem on the Oracle DB Instance, Is there anyway to pull the problem to dashboard classic ? We can see it in DQL, but not sure how to get DQL query pinned to dashboard classic.

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [July 1, 2024, 7:45pm UTC](https://community.dynatrace.com/t/oracle-database-table-space-alerting/38214/9 "2024-07-01T19:45:01Z")

</div>

In the problem page, you can filter the problem you need to see, by summary or alerting profile, or entity, and the click on the pin to dashboard icon. This will create a tile with that filter applied and show you the problem count, and when clicked, will bring you to the problem page with the applied filter and problems list.

---

<div class="post-metadata">

**Author:** ![JuanVelez](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@JuanVelez](https://community.dynatrace.com/u/JuanVelez)\
**Post date:** [August 23, 2024, 4:21pm UTC](https://community.dynatrace.com/t/oracle-database-table-space-alerting/38214/10 "2024-08-23T16:21:49Z")

</div>

Buenas tardes

Tengo una BD Oracle, y requiero monitorear el llenado del tablespace. Necesito creer un monitoreo para que este me alerte cuando esté este al 80% y un critical al 90 % la idea es que me alerte antes que este se llene.

Muchas gracias por su ayuda.

[Google translate:

Good afternoon,

I have an Oracle DB, and I need to monitor the filling of the tablespace. I need to create a monitoring so that it alerts me when it is at 80% and a critical at 90%, the idea is that it alerts me before it is full. Thank you very much for your help.]
