# Monitoring % of freespace left in tablespace (oracledb extension)

**URL:** <https://community.dynatrace.com/t/monitoring-of-freespace-left-in-tablespace-oracledb-extension/37121>\
**Category:** Open Q&A\
**Tags:** dynatrace-managed, data-explorer, oracle\
**Created:** [November 3, 2022, 5:12am UTC](https://community.dynatrace.com/t/monitoring-of-freespace-left-in-tablespace-oracledb-extension/37121 "2022-11-03T05:12:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![leonatay](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@leonatay](https://community.dynatrace.com/u/leonatay)\
**Post date:** [November 3, 2022, 5:12am UTC](https://community.dynatrace.com/t/monitoring-of-freespace-left-in-tablespace-oracledb-extension/37121/1 "2022-11-03T05:12:55Z")

</div>

Hi community,

By any chance have anyone tried to configure the metrics so that % of free space left in tablespace (instead of the absolute value) can be displayed? because was working with a client that wants to be notified when the % of free space in tablespace is less than a certain value.

This data came from oracleDB extension.

 ![leonatay_0-1667452263211.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/100034a61c757e2bd6b7884779e9ed09450eeefa.png)

Thank you!

Sincerely,

Leona

---

<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:** [November 3, 2022, 5:25pm UTC](https://community.dynatrace.com/t/monitoring-of-freespace-left-in-tablespace-oracledb-extension/37121/2 "2022-11-03T17:25:18Z")

</div>

Hi [@leonatay](https://community.dynatrace.com/user/54817) , good day.

If you do not have a metric that show used/free space by %, you can do some math to get it.

```markup
Used Space % = ((Total space - Free Space)/Total space)*100

```

> **[Metrics API - Metric expressions](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/metric-v2/metric-expressions)**
>
> Use metric expressions to apply arithmetic operations in a data points query via the Metrics API v2.

Regards
