<?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 users and resource utilization in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-users-and-resource-utilization/m-p/4465756#M662455</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Oracle has a set of utilities called the stat pack. It keep statistics based on oracle users, not OS users.&lt;BR /&gt;&lt;BR /&gt;This can give you an idea on resource use.&lt;BR /&gt;&lt;BR /&gt;It will not help with actual CPU use, because user requests for all types of oracle request are submitted to the database which is a server process owned by the oracle user on the OS that you used to install the database.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Thu, 23 Jul 2009 15:44:11 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2009-07-23T15:44:11Z</dc:date>
    <item>
      <title>oracle users and resource utilization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-users-and-resource-utilization/m-p/4465755#M662454</link>
      <description>Hi.&lt;BR /&gt;I have 1 hpux server (11.23) running 1 oracle 10.2 instance with 2 schemas (or users) in it, say "A" and "B". How can I understand how much CPU is consuming user A and how much user B ?&lt;BR /&gt;e.g if I see 60% used CPU by an oracle user process, how can I see which user is consuming it, and how much?&lt;BR /&gt;Many thanks in advance.&lt;BR /&gt;Leonardo.</description>
      <pubDate>Thu, 23 Jul 2009 15:12:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-users-and-resource-utilization/m-p/4465755#M662454</guid>
      <dc:creator>LBertoglio</dc:creator>
      <dc:date>2009-07-23T15:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: oracle users and resource utilization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-users-and-resource-utilization/m-p/4465756#M662455</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Oracle has a set of utilities called the stat pack. It keep statistics based on oracle users, not OS users.&lt;BR /&gt;&lt;BR /&gt;This can give you an idea on resource use.&lt;BR /&gt;&lt;BR /&gt;It will not help with actual CPU use, because user requests for all types of oracle request are submitted to the database which is a server process owned by the oracle user on the OS that you used to install the database.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 23 Jul 2009 15:44:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-users-and-resource-utilization/m-p/4465756#M662455</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-23T15:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: oracle users and resource utilization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-users-and-resource-utilization/m-p/4465757#M662456</link>
      <description>Oracle 19g R2 has a resource manager. You can easily confiure this using the Enterprise Manager (DBConsole is sufficient).&lt;BR /&gt;-&amp;gt; Create a Consumer group for every schema.&lt;BR /&gt;-&amp;gt; Assign each schema (and all other possible database accounts using this schema) to it's consumer group, and make sure this consumer group is also the default group for this schema.&lt;BR /&gt;-&amp;gt; Make a Resource Plan and put the 2 new consumer groups in there, together with mandatory consumer groups like OTHER_GROUPS and SYS_GROUP and activate the plan.&lt;BR /&gt;&lt;BR /&gt;can use a query like this to have an idea of CPU usage :&lt;BR /&gt;&lt;BR /&gt;select gv$rsrc_consumer_group.inst_id as inst_id, gv$rsrc_consumer_group.name, consumed_cpu_time, round(1000*consumed_cpu_time/total.cpu_time)/10 as cpu_perc, history.start_time &lt;BR /&gt;from gv$rsrc_consumer_group, &lt;BR /&gt;     (select sum(consumed_cpu_time) as cpu_time from gv$rsrc_consumer_group) total, &lt;BR /&gt;(select inst_id, max(start_time) as start_time from gv$rsrc_plan_history &lt;BR /&gt;group by inst_id) history &lt;BR /&gt;where gv$rsrc_consumer_group.inst_id = history.inst_id&lt;BR /&gt;&lt;BR /&gt;Of course, CPU usage isn't everything in a database. disk IO is another matter that may have a big impact.</description>
      <pubDate>Tue, 28 Jul 2009 05:11:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-users-and-resource-utilization/m-p/4465757#M662456</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2009-07-28T05:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: oracle users and resource utilization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-users-and-resource-utilization/m-p/4465758#M662457</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If u know PID of process, then query the views v$session and v$process to know the user having that PID.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;eg.&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; select a.username,a.schemaname,b.username from v$session a, v$process b where b.spid=&lt;PID&gt; and a.paddr=b.addr;&lt;BR /&gt;&lt;BR /&gt;-Santosh&lt;/PID&gt;</description>
      <pubDate>Tue, 28 Jul 2009 05:34:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-users-and-resource-utilization/m-p/4465758#M662457</guid>
      <dc:creator>SANTOSH S. MHASKAR</dc:creator>
      <dc:date>2009-07-28T05:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: oracle users and resource utilization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-users-and-resource-utilization/m-p/4465759#M662458</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Since u use oracle 10.2, u can use oracle Enterprise Manager DBControl to get all the details u want using a mouse click.&lt;BR /&gt;&lt;BR /&gt;I would strongly recommend to use Oralce EM for DBA work.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Tue, 28 Jul 2009 05:43:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-users-and-resource-utilization/m-p/4465759#M662458</guid>
      <dc:creator>SANTOSH S. MHASKAR</dc:creator>
      <dc:date>2009-07-28T05:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: oracle users and resource utilization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-users-and-resource-utilization/m-p/4465760#M662459</link>
      <description>Hi ,&lt;BR /&gt;many thanks to all for your suggestions.&lt;BR /&gt;I'm going to try them, mainly the one with Ent. Manager.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Leonardo.</description>
      <pubDate>Tue, 28 Jul 2009 06:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-users-and-resource-utilization/m-p/4465760#M662459</guid>
      <dc:creator>LBertoglio</dc:creator>
      <dc:date>2009-07-28T06:01:32Z</dc:date>
    </item>
  </channel>
</rss>

