<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Oracle Extension collects all data but the Database size in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/284352#M6668</link>
    <description>&lt;P&gt;Hi Tomas,&lt;/P&gt;&lt;P&gt;but it will be good if we can see actually the Database Size. Up until now we can calculate this manually but why not to be visible with one glance in a Dashboard and in the Oracle Database page.&lt;/P&gt;&lt;P&gt;The Oracle database size is actually the total allocated(autoextend included) value of all datafiles and by looking at the Used space we can simply check/see where we are. Something like TotalSpace is 2.4TB but UsedSpace is 1.9TB so we know that currently the database is 1.9TB big in size. You have already this data but I can not figure out how to SUM from each row into one single value...:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mn_24_0-1755698316528.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29718i134805D3956C8E81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mn_24_0-1755698316528.png" alt="mn_24_0-1755698316528.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mn_24_1-1755698411387.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29719iBF8284E1CC7ACDFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mn_24_1-1755698411387.png" alt="mn_24_1-1755698411387.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So what I am suggesting is to add one new metric which we could use in the dashboard: "Database size" with the following SQL query behind:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;col "Database Size" format a20&lt;/P&gt;&lt;P&gt;col "Free space" format a20&lt;/P&gt;&lt;P&gt;col "Used space" format a20&lt;/P&gt;&lt;P&gt;select round(sum(used.bytes) / 1024 / 1024 / 1024 ) || ' GB' "Database Size"&lt;/P&gt;&lt;P&gt;, round(sum(used.bytes) / 1024 / 1024 / 1024 ) -&lt;/P&gt;&lt;P&gt;round(free.p / 1024 / 1024 / 1024) || ' GB' "Used space"&lt;/P&gt;&lt;P&gt;, round(free.p / 1024 / 1024 / 1024) || ' GB' "Free space"&lt;/P&gt;&lt;P&gt;from (select bytes&lt;/P&gt;&lt;P&gt;from v$datafile&lt;/P&gt;&lt;P&gt;union all&lt;/P&gt;&lt;P&gt;select bytes&lt;/P&gt;&lt;P&gt;from v$tempfile&lt;/P&gt;&lt;P&gt;union all&lt;/P&gt;&lt;P&gt;select bytes&lt;/P&gt;&lt;P&gt;from v$log) used&lt;/P&gt;&lt;P&gt;, (select sum(bytes) as p&lt;/P&gt;&lt;P&gt;from dba_free_space) free&lt;/P&gt;&lt;P&gt;group by free.p&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which will give us the following result:&lt;/P&gt;&lt;P&gt;Database Size&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Used space&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Free space&lt;/P&gt;&lt;P&gt;-------------------- -------------------- --------------------&lt;/P&gt;&lt;P&gt;2388 GB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1928 GB &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;460 GB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was about to open an Idea for this but saw the topic is already around the community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Aug 2025 14:06:04 GMT</pubDate>
    <dc:creator>mn_24</dc:creator>
    <dc:date>2025-08-20T14:06:04Z</dc:date>
    <item>
      <title>Oracle Extension collects all data but the Database size</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283367#M6636</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;&lt;BR /&gt;I have installed the Oracle Database Extension in my MaaS environment to monitor several Oracle DBs.&lt;BR /&gt;Each of the Oracle Database Entities show the data correctly (Datafile status, Tablespaces, Query performance, longest running querys, etc).&lt;BR /&gt;However, Database size parameters and Database size charts return 0 B on each field. It's not a problem as "Data not available", but a problem with the return value being 0 B.&amp;nbsp;&lt;BR /&gt;Is there any extension configuration/parameter I'm missing?&lt;/P&gt;&lt;P&gt;Many thanks in advance, best regards.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 09:18:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283367#M6636</guid>
      <dc:creator>ccapellanvil</dc:creator>
      <dc:date>2025-08-08T09:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Extension collects all data but the Database size</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283372#M6637</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you show some screenshot?&lt;/P&gt;&lt;P&gt;Are you using latest Oracle extension version?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 10:35:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283372#M6637</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-08-08T10:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Extension collects all data but the Database size</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283374#M6638</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Thanks for your response. This is what I currently see on the Database summary:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ccapellanvil_0-1754650818736.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29452i4D2D9A58251C28AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ccapellanvil_0-1754650818736.png" alt="ccapellanvil_0-1754650818736.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm currently using the latest Oracle Database extension version available, 3.7.5.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 11:01:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283374#M6638</guid>
      <dc:creator>ccapellanvil</dc:creator>
      <dc:date>2025-08-08T11:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Extension collects all data but the Database size</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283377#M6639</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I see same behaviour. Maybe is a bug, or something in relation Dynatrace user created in database side. I would say double check if Dynatrace user has &lt;A title="these privileges" href="https://github.com/dynatrace-extensions/convenience-scripts/tree/main/oracle-db" target="_blank" rel="noopener"&gt;these privileges&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Anyway, I would raise open a support ticket.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 11:41:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283377#M6639</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-08-08T11:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Extension collects all data but the Database size</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283386#M6640</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/55565"&gt;@TomásSeroteRoos&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I was checking hundred databases and "max size" is always 0B. This is happening with version 3.7.5, 3.6.2 and 2.5.1 about Oracle extension version.&lt;/P&gt;&lt;P&gt;Do you think that is a bug?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 12:07:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283386#M6640</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-08-08T12:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Extension collects all data but the Database size</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283487#M6642</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for pinging me! That particular metric (com.dynatrace.extension.sql-oracle.pdb-max_size), is captured from the MAX SIZE column of V$CONTAINERS view. From &lt;A href="https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-CONTAINERS.html" target="_self"&gt;Oracle's documentation&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE class="FormalWide" title="" border="1" summary="This table describes the columns for this database view" width="100%" frame="hsides" rules="rows" cellspacing="0" cellpadding="4"&gt;
&lt;TBODY&gt;
&lt;TR align="left" valign="top"&gt;
&lt;TD width="24%" align="left" valign="top"&gt;
&lt;P&gt;&lt;CODE class="codeph"&gt;MAX_SIZE&lt;/CODE&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="18%" align="left" valign="top"&gt;
&lt;P&gt;&lt;CODE class="codeph"&gt;NUMBER&lt;/CODE&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="58%" align="left" valign="top"&gt;
&lt;P&gt;Shows the maximum amount of disk space (in bytes) that can be used by data and temp files in the container&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I understand it, MAX_SIZE is a parameter that can be used to limit the size of a certain PDB. My guess is that when this parameter is not set (which it isn't by default afaik), then it shows 0, to indicate that there is no MAX_SIZE limitation. I expect that this is why you are seeing 0B reported by the metric on so many databases.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 08:18:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283487#M6642</guid>
      <dc:creator>TomásSeroteRoos</dc:creator>
      <dc:date>2025-08-11T08:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Extension collects all data but the Database size</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283608#M6644</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you so much for your fast answer!&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 08:30:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/283608#M6644</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-08-12T08:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Extension collects all data but the Database size</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/284352#M6668</link>
      <description>&lt;P&gt;Hi Tomas,&lt;/P&gt;&lt;P&gt;but it will be good if we can see actually the Database Size. Up until now we can calculate this manually but why not to be visible with one glance in a Dashboard and in the Oracle Database page.&lt;/P&gt;&lt;P&gt;The Oracle database size is actually the total allocated(autoextend included) value of all datafiles and by looking at the Used space we can simply check/see where we are. Something like TotalSpace is 2.4TB but UsedSpace is 1.9TB so we know that currently the database is 1.9TB big in size. You have already this data but I can not figure out how to SUM from each row into one single value...:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mn_24_0-1755698316528.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29718i134805D3956C8E81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mn_24_0-1755698316528.png" alt="mn_24_0-1755698316528.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mn_24_1-1755698411387.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29719iBF8284E1CC7ACDFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mn_24_1-1755698411387.png" alt="mn_24_1-1755698411387.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So what I am suggesting is to add one new metric which we could use in the dashboard: "Database size" with the following SQL query behind:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;col "Database Size" format a20&lt;/P&gt;&lt;P&gt;col "Free space" format a20&lt;/P&gt;&lt;P&gt;col "Used space" format a20&lt;/P&gt;&lt;P&gt;select round(sum(used.bytes) / 1024 / 1024 / 1024 ) || ' GB' "Database Size"&lt;/P&gt;&lt;P&gt;, round(sum(used.bytes) / 1024 / 1024 / 1024 ) -&lt;/P&gt;&lt;P&gt;round(free.p / 1024 / 1024 / 1024) || ' GB' "Used space"&lt;/P&gt;&lt;P&gt;, round(free.p / 1024 / 1024 / 1024) || ' GB' "Free space"&lt;/P&gt;&lt;P&gt;from (select bytes&lt;/P&gt;&lt;P&gt;from v$datafile&lt;/P&gt;&lt;P&gt;union all&lt;/P&gt;&lt;P&gt;select bytes&lt;/P&gt;&lt;P&gt;from v$tempfile&lt;/P&gt;&lt;P&gt;union all&lt;/P&gt;&lt;P&gt;select bytes&lt;/P&gt;&lt;P&gt;from v$log) used&lt;/P&gt;&lt;P&gt;, (select sum(bytes) as p&lt;/P&gt;&lt;P&gt;from dba_free_space) free&lt;/P&gt;&lt;P&gt;group by free.p&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which will give us the following result:&lt;/P&gt;&lt;P&gt;Database Size&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Used space&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Free space&lt;/P&gt;&lt;P&gt;-------------------- -------------------- --------------------&lt;/P&gt;&lt;P&gt;2388 GB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1928 GB &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;460 GB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was about to open an Idea for this but saw the topic is already around the community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 14:06:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/284352#M6668</guid>
      <dc:creator>mn_24</dc:creator>
      <dc:date>2025-08-20T14:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Extension collects all data but the Database size</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/284363#M6669</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/77323"&gt;@mn_24&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If it's just a matter of summing those columns, wouldn't this work?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;com.dynatrace.extension.sql-oracle.tablespaces.usedSpace:filter(&amp;lt;your-filter&amp;gt;):splitBy(tablespace):sum:splitBy()&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TomsSeroteRoos_0-1755700109559.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29725iDDA0EF1381F49122/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TomsSeroteRoos_0-1755700109559.png" alt="TomsSeroteRoos_0-1755700109559.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And you could do something similar for the allocated and free space metrics, to get the total free space and total database size.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 14:29:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/284363#M6669</guid>
      <dc:creator>TomásSeroteRoos</dc:creator>
      <dc:date>2025-08-20T14:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Extension collects all data but the Database size</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/284436#M6671</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;"Last value" was missing in my trying to see the final result as expected - thank you! It is still quite not visually cool but I could live with it as it is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mn_24_0-1755766475354.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29746iBD9AEBC569ECEC4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mn_24_0-1755766475354.png" alt="mn_24_0-1755766475354.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 08:55:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Extension-collects-all-data-but-the-Database-size/m-p/284436#M6671</guid>
      <dc:creator>mn_24</dc:creator>
      <dc:date>2025-08-21T08:55:18Z</dc:date>
    </item>
  </channel>
</rss>

