<?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: Check each oracle user account on disk usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/check-each-oracle-user-account-on-disk-usage/m-p/2888932#M819005</link>
    <description>hi again,&lt;BR /&gt;&lt;BR /&gt;a better formatted one would be:&lt;BR /&gt;&lt;BR /&gt;column MB format 9,999.99&lt;BR /&gt;select decode(lag(username) over (partition by username order by segment_type), username, null, username) Owner, segment_type, sum(bytes)/1024/1024 MB&lt;BR /&gt;from dba_segments, dba_users&lt;BR /&gt;where username=owner(+)&lt;BR /&gt;group by username,owner,segment_type;&lt;BR /&gt;&lt;BR /&gt;and will display the size in MB instead of bytes&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;yogeeraj</description>
    <pubDate>Thu, 23 Jan 2003 07:42:46 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2003-01-23T07:42:46Z</dc:date>
    <item>
      <title>Check each oracle user account on disk usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-each-oracle-user-account-on-disk-usage/m-p/2888930#M819003</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Any idea to check the disk usage consumed by each user account ?&lt;BR /&gt;&lt;BR /&gt;I am thinking of checking the dba_segment view "select owner, segment_type, sum(bytes) from dba_segments group by owner, segment_type;"&lt;BR /&gt;&lt;BR /&gt;However, it will not display those users without database object created .....therefore I start thinking of correlate the dba_segment view with dba_users view....&lt;BR /&gt;&lt;BR /&gt;Any idea to correlate them ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Chris,</description>
      <pubDate>Thu, 23 Jan 2003 05:50:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-each-oracle-user-account-on-disk-usage/m-p/2888930#M819003</guid>
      <dc:creator>Chris Fung</dc:creator>
      <dc:date>2003-01-23T05:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Check each oracle user account on disk usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-each-oracle-user-account-on-disk-usage/m-p/2888931#M819004</link>
      <description>hi chris,&lt;BR /&gt;&lt;BR /&gt;can you try the script below, to see if you are getting the desired output?&lt;BR /&gt;&lt;BR /&gt;select decode(lag(username) over (partition by username order by segment_type), username, null, username) Owner, segment_type, sum(bytes)&lt;BR /&gt;from dba_segments, dba_users&lt;BR /&gt;where username=owner(+)&lt;BR /&gt;group by username,owner,segment_type;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Thu, 23 Jan 2003 07:40:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-each-oracle-user-account-on-disk-usage/m-p/2888931#M819004</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2003-01-23T07:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Check each oracle user account on disk usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-each-oracle-user-account-on-disk-usage/m-p/2888932#M819005</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;a better formatted one would be:&lt;BR /&gt;&lt;BR /&gt;column MB format 9,999.99&lt;BR /&gt;select decode(lag(username) over (partition by username order by segment_type), username, null, username) Owner, segment_type, sum(bytes)/1024/1024 MB&lt;BR /&gt;from dba_segments, dba_users&lt;BR /&gt;where username=owner(+)&lt;BR /&gt;group by username,owner,segment_type;&lt;BR /&gt;&lt;BR /&gt;and will display the size in MB instead of bytes&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 23 Jan 2003 07:42:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-each-oracle-user-account-on-disk-usage/m-p/2888932#M819005</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2003-01-23T07:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Check each oracle user account on disk usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-each-oracle-user-account-on-disk-usage/m-p/2888933#M819006</link>
      <description>You could also do something like this:&lt;BR /&gt;&lt;BR /&gt;select username,nvl(used_space,'0') from&lt;BR /&gt;(select owner,sum(bytes) used_space from&lt;BR /&gt;dba_segments group by owner) b, dba_users a&lt;BR /&gt;where a.username = b.owner(+);&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Thu, 23 Jan 2003 21:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-each-oracle-user-account-on-disk-usage/m-p/2888933#M819006</guid>
      <dc:creator>Brian Crabtree</dc:creator>
      <dc:date>2003-01-23T21:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Check each oracle user account on disk usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-each-oracle-user-account-on-disk-usage/m-p/2888934#M819007</link>
      <description>There are a ton of good scripts in here.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4177ef70e827d711abdc0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4177ef70e827d711abdc0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I believe one or more of them might be useful.&lt;BR /&gt;&lt;BR /&gt;P</description>
      <pubDate>Fri, 24 Jan 2003 01:11:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-each-oracle-user-account-on-disk-usage/m-p/2888934#M819007</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-24T01:11:20Z</dc:date>
    </item>
  </channel>
</rss>

