Mailing List
Home
Forum Home
Oracle List - by freelists.org
Oracle on SUSE Linux - Runing Oracle on SUSE Linux
Oracle database error code ...
www.freelists.org
Subjects
ORA 12540: TNS:internal limit restriction exceeded
ORA 12838 please : Is possible to append two times to the same table befo
ORA 12838 please : Is possible to append two times to the same table before
ora 04031
ora 12500 on windows
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 01925: maximum of 30 enabled roles exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ora 12500 on windows
ORA 01650, one idea
ORA 01650
ORA 4030
ORA 12838 please : Is possible to append two times to thesametable before do
ORA 12838 please : Is possible to append two times to thesame table before d
ORA 01536
ORA 03113 end of file on communication channel
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 00600:
ORA 00020: maximum number of processes (%s) exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ORA 3113 while creating a cluster database 9201 RAC on Linux with OCFS
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 01650, one idea
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 2000 Error Using DBMS STATS GATHER SCHEMA STATS
ORA 01650, one idea
ORA 01650, one idea
ORA 01650, one idea
ORA 01650
ORA 01650
Subject: ora 01031
ORA 4030
ORA 4030
ORA 06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
Subject: Re: ORA 01722 invalid number
 
accurately reporting pga size in solaris.

accurately reporting pga size in solaris.

2007-11-02       - By Zhu,Chao

 Back
This is far away from the real oracle pga usage;
Another guy told me v$process_memory in 10g is pretty close. In 9i it does
not work.
not much knowledge updated about 10g, and 11g is out!

On 10/23/07, BN <bnsarma@(protected)> wrote:
>
>
>
> On 10/22/07, Zhu,Chao <zhuchao@(protected)> wrote:
> >
> > hi, all,
> >     I am wondering whether there is any tool that can report the
> > accurate PGA size of oracle database, when database has several thousands of
> > processes. I have a small tool to pmap every process to get the sum of
> > [heap|anon}] pages, but it does not work when we have lots of process.
> >    Or maybe there is any existing Dtrace script that can do this?
> >
> > --
> > Regards
> > Zhu Chao
> > www.cnoug.org
> >
>
>
> Greetings
>
> HAve you looked at these:
>
>
> clear columns
>
> col SID FOR 99999
> col name for a45
> col username for a10
> col osuser for a12
> break ON report
> compute sum OF "MB" ON report
>
> SELECT NAME, round(value/1024/1024) "Mb" FROM V$PGASTAT;
>
> col name for a23
> col "Mb" FOR 99999
>
> SELECT se.sid,se.username,se.osuser,name, round(value/(1024*1024))
> "Mb",sysdate
> FROM v$session se, v$sesstat ss, v$statname sn
> WHERE ss.sid=se.sid
> AND sn.statistic# = ss.statistic#
> AND sn.name = 'session pga memory'
> -- GROUP BY name,se.sid,se.username,se.osuser,name
> order by value
> /
>
>
> Regards
> BN
>
>
> --
> Regards & Thanks
> BN
>



--
Regards
Zhu Chao
www.cnoug.org

This is far away from the real oracle pga usage; <br>Another guy told me v
$process_memory in 10g is pretty close. In 9i it does not work.<br>not much
knowledge updated about 10g, and 11g is out!<br><br><div><span class="gmail
_quote">
On 10/23/07, <b class="gmail_sendername">BN</b> &lt;<a href="mailto:bnsarma
@(protected)">bnsarma@(protected)</a>&gt; wrote:</span><blockquote class="gmail
_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0
.8ex; padding-left: 1ex;">
<br><br>
<div><span class="q"><span class="gmail_quote">On 10/22/07, <b class="gmail
_sendername">Zhu,Chao</b> &lt;<a href="mailto:zhuchao@(protected)" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">zhuchao@(protected)
</a>&gt; wrote:</span>
</span><div><span class="e" id="q_115cd549ebd2f44d_2"><blockquote class="gmail
_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0
.8ex; padding-left: 1ex;">hi, all,<br>&nbsp;&nbsp;&nbsp; I am wondering whether
there is any tool that can report the accurate PGA size of oracle database,
when database has several thousands of processes. I have a small tool to pmap
every process to get the sum of [heap|anon}] pages, but it does not work when
we have lots of process.
<br>&nbsp;&nbsp; Or maybe there is any existing Dtrace script that can do this?
<br clear="all"><span><br>-- <br>Regards<br>Zhu Chao<br><a href="http://www
.cnoug.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this
)">

www.cnoug.org</a><br></span></blockquote></span></div></div>
<div><br>&nbsp;</div>
<div>Greetings</div>
<div>&nbsp;</div>
<div>HAve you looked at these:</div>
<div>&nbsp;</div>
<p>clear columns</p>
<p>col SID FOR 99999<br>col name for a45<br>col username for a10<br>col osuser
for a12<br>break ON report<br>compute sum OF &quot;MB&quot; ON report</p>
<p>SELECT NAME, round(value/1024/1024) &quot;Mb&quot; FROM V$PGASTAT;</p>
<p>col name for a23<br>col &quot;Mb&quot; FOR 99999</p>
<p>SELECT se.sid,se.username,se.osuser,name, round(value/(1024*1024)) &quot;Mb
&quot;,sysdate<br>FROM v$session se, v$sesstat ss, v$statname sn<br>WHERE ss.sid
=se.sid<br>AND sn.statistic# = ss.statistic#<br>AND <a href="http://sn.name"
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

sn.name</a> = &#39;session pga memory&#39;<br>-- GROUP BY name,se.sid,se
.username,se.osuser,name<br>order by value<br>/</p>
<p>&nbsp;</p>
<div>Regards</div>
<div>BN</div>
<div><br clear="all"><br>-- <br>Regards &amp; Thanks<br>BN </div>
</blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Zhu Chao<br><a
href="http://www.cnoug.org">www.cnoug.org</a><br>