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
 
Query against V$SESSION hangs on 10g RAC systems

Query against V$SESSION hangs on 10g RAC systems

2007-11-02       - By Finn Jorgensen

 Back
Reply:     1     2     3     4     5     6  

I'm just taking a wild guess here, but to get blocking sessions it's
possible the query of v$session would have to go to the other node(s) of the
RAC cluster for session information, since the blocking session may be on a
different node. 60 seconds is the time RHEL RAC takes to time out if a node
cannot be reached, which could explain that exact timeout.

Why the query works sometimes and not others, I don't know. Bug?

Finn


On 11/2/07, M Rafiq <rafiq9857@(protected)> wrote:
>
>
> I ran this query on a non rac 10.2.0.3 database and it returned the rows
> very quickly. It may be some RAC related issue.
>
> Regards
> Rafiq
>
>
>
> -- ---- ---- ---- ---- ---- --
> Date: Fri, 2 Nov 2007 08:35:40 +0100
> From: exriscer@(protected)
> To: snowman327@(protected)
> Subject: Re: Query against V$SESSION hangs on 10g RAC systems
> CC: oracle-l@(protected)
>
> hi
>
> querying blocking_session is the problem, if you dont query that columnd
> then it should be fine
>
> I have a customer who requested a backport to fix the bug but the one-off
> patch has no effect so might have to wait until 10.2.0.4
>
> thanks
>
> --
> LSC
>
>
>
> On 11/1/07, *Dean* <snowman327@(protected)> wrote:
>
>  We recently had a locking/blocking problem on two different 10.2.0.3 RAC
> systems.  I ran a query similar to below to get more information:
>
> select sid, serial#, program, module, action, username, osuser,
> sql_hash_value, machine, event, blocking_session
> from v$session
> where status='ACTIVE';
>
> About 1 out of 5 times this query hangs.  When it hangs, it waits for
> exactly 60 seconds on "DIAG idle wait" and then returns the result set.  If
> I remove the blocking_session column, this query runs fine and never hangs.
>  Has anyone run into this or have any ideas why this would happen?
>
>
>
>
> -- ---- ---- ---- ---- ---- --
> Climb to the top of the charts!  Play Star Shuffle:  the word scramble
> challenge with star power. Play Now!<http://club.live.com/star_shuffle.aspx
?icid=starshuffle_wlmailtextlink_oct>
>

<div>I&#39;m just taking a wild guess here, but to get blocking sessions it&#39
;s possible the query of v$session would have to go to the other node(s) of the
RAC cluster for session information, since the blocking session may be on a
different node. 60 seconds is the time RHEL RAC takes to time out if a node
cannot be reached, which could explain that exact timeout.
</div>
<div>&nbsp;</div>
<div>Why the query works sometimes and not others, I don&#39;t know. Bug?</div>
<div>&nbsp;</div>
<div>Finn<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 11/2/07, <b class="gmail_sendername">M Rafiq<
/b> &lt;<a href="mailto:rafiq9857@(protected)">rafiq9857@(protected)</a>&gt;
wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0
.8ex; BORDER-LEFT: #ccc 1px solid">
<div><br>I ran this query on a non rac <a onclick="return top.js.OpenExtLink
(window,event,this)" href="http://10.2.0.3/" target="_blank">10.2.0.3</a>
database and it returned the rows very quickly. It may be some RAC related
issue.
<br>&nbsp;<br>Regards<br>Rafiq<br><br>&nbsp;<br>
<blockquote>
<hr>
Date: Fri, 2 Nov 2007 08:35:40 +0100<br>From: <a onclick="return top.js
.OpenExtLink(window,event,this)" href="mailto:exriscer@(protected)" target="_blank
">exriscer@(protected)</a><br>To: <a onclick="return top.js.OpenExtLink(window
,event,this)" href="mailto:snowman327@(protected)" target="_blank">
snowman327@(protected)</a><br>Subject: Re: Query against V$SESSION hangs on 10g
RAC systems<br>CC: <a onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:oracle-l@(protected)" target="_blank">oracle-l@(protected)
</a><br><br>
<div>hi</div>
<div>&nbsp;</div>
<div>querying blocking_session is the problem, if you dont query that columnd
then it should be fine</div>
<div>&nbsp;</div>
<div>I have a customer who requested a backport to fix the bug but the one-off
patch has no effect so might have to wait until <a onclick="return top.js
.OpenExtLink(window,event,this)" href="http://10.2.0.4/" target="_blank">
10.2.0.4</a></div>
<div>&nbsp;</div>
<div>thanks</div>
<div>&nbsp;</div>
<div>--</div>
<div>LSC</div>
<div><br><br>&nbsp;</div>
<div><span>On 11/1/07, <b>Dean</b> &lt;<a onclick="return top.js.OpenExtLink
(window,event,this)" href="mailto:snowman327@(protected)" target="_blank"
>snowman327@(protected)</a>&gt; wrote:</span>
<blockquote style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-US">
<div><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY:
Arial">We recently had a locking/blocking problem on two different <a onclick=
"return top.js.OpenExtLink(window,event,this)" href="http://10.2.0.3/" target="
_blank">
10.2.0.3</a> RAC systems. &nbsp;I ran a query similar to below to get more
information:</span></font><br><font face="Arial" size="2"><span style="FONT
-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</span></font><br><font face="Courier New
" size="2">
<span style="FONT-SIZE: 10pt">select sid, serial#, program, module, action,
username, osuser,</span></font><br><font face="Courier New" size="2"><span
style="FONT-SIZE: 10pt">sql_hash_value, machine, event, blocking_session
</span></font><br><font face="Courier New" size="2"><span style="FONT-SIZE:
10pt">from v$session </span></font><br><font face="Courier New" size="2"><span
style="FONT-SIZE: 10pt">where status=&#39;ACTIVE&#39;;</span></font>
<br><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt">&nbsp;<
/span></font><br><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT
-FAMILY: Arial">About 1 out of 5 times this query hangs.&nbsp; When it hangs, it
waits for exactly 60 seconds on &quot;DIAG idle wait&quot; and then returns the
result set.&nbsp; If I remove the blocking_session column, this query runs fine
and never hangs. &nbsp;Has anyone run into this or have any ideas why this
would happen?
</span></font><br>&nbsp;</div></div></blockquote></div><br></blockquote><br>
<hr>
Climb to the top of the charts!&nbsp; Play Star Shuffle:&nbsp; the word
scramble challenge with star power. <a onclick="return top.js.OpenExtLink
(window,event,this)" href="http://club.live.com/star_shuffle.aspx?icid
=starshuffle_wlmailtextlink_oct" target="_blank">
Play Now!</a></div></blockquote></div><br>