Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from turing.freelists.org (turing.freelists.org [206.53.239.180])
 by malta2546.startdedicated.com (Postfix) with ESMTPS id 3E2F010031424A
 for <oracle-l@orafaq.com>; Thu,  8 Aug 2019 18:49:36 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id F1F0D282AD;
 Thu,  8 Aug 2019 12:49:34 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1565282975;
 bh=mr95SWfi2WFtrYrXdAU1Luhqw8JnUYw3MkPxIeayg2A=;
 h=From:To:Subject:Date:References:In-Reply-To:Reply-To:List-Help:
	 List-Unsubscribe:List-Id:List-Subscribe:List-Owner:List-post:
	 List-Archive;
 b=eFPAk3OO4kpwIQhFma1q0kiaGOv5Ilo89YUXvYGKS01zNospzyfJf2W6/Qpeiuinj
	 Csl5UOKlJ09RWsFnlAGkAFgaPmkbds6ieH3VBnLz2zt34vA5pyISKcijA2HXrBZqGP
	 p1W0GZ0h5fwUvh3kW9+OiUVzf5KTGlVaS/SzVkY0=
X-Virus-Scanned: Debian amavisd-new at turing.freelists.org
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id ORAVfXnVHbps; Thu,  8 Aug 2019 12:49:34 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 0E1BE28266;
 Thu,  8 Aug 2019 12:49:14 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1565282965;
 bh=mr95SWfi2WFtrYrXdAU1Luhqw8JnUYw3MkPxIeayg2A=;
 h=From:To:Subject:Date:References:In-Reply-To:Reply-To:List-Help:
	 List-Unsubscribe:List-Id:List-Subscribe:List-Owner:List-post:
	 List-Archive;
 b=uJvzdCXDSbhIhAy8Livoj7yQtLRFhhAqEZ32s9XQk5JIsnwSSZeRJWsg0YW3irUCq
	 1sBP6rAlvuaQwDjJjfAAMfTXsXcEUPgyq8ppROh2CB7G9Y3Bs1nrhCJQTBEWpMyTCi
	 K7aCaRUlUkjm2U2l/2yOvnKKwf56GBIhYRUFcwK0=
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 08 Aug 2019 12:47:52 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E187928233
 for <oracle-l@freelists.org>; Thu,  8 Aug 2019 12:47:51 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id g1L6AEIBJYJu for <oracle-l@freelists.org>;
 Thu,  8 Aug 2019 12:47:51 -0400 (EDT)
Received: from mail1.bemta23.messagelabs.com (mail1.bemta23.messagelabs.com [67.219.246.115])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 7E44C1F976
 for <oracle-l@freelists.org>; Thu,  8 Aug 2019 12:47:51 -0400 (EDT)
Received: from [67.219.246.193] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits))
 by server-4.bemta.az-c.us-east-1.aws.symcld.net id 69/B3-11628-6325C4D5; Thu, 08 Aug 2019 16:47:50 +0000
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJJsWRWlGSWpSXmKPExsUiMuXIal2zIJ9
  Yg+PnxSyWvZnG6MDoceqiVABjFGtmXlJ+RQJrxvn1a9kKZoVVTPl3k7GB8bd3FyMnB5uAtsSv
  Wy/Zuxi5OIQEbjNKbPy8ggXEYRRYyizx9eN2KOcYi8TVD21sEM5yRonFN4+wQPR0MEn8/bmfF
  cK5xijR/7EBLCMi0MAosX3CYqAeDg5hAWOJvR8VQTaKCJhI/Pi5hR3CtpI4uOk7M4jNIqAi8X
  36GhYQm1cgUqJ7yk+oqxYxSmx5dpARJMEpECfxY/UkMJtRQEzi+6k1TCA2s4C4xK0n88FsCQE
  BiSV7zjND2KISLx//Y4WoD5NYdeA5G0RcTuJG7xdWCFtW4tL8bkYI21di9pUNTCCLJQRuMUr8
  mDkXKqElMe3sbaihGRIt386xQ9iqEmvfHYSKy0hM6DrJDNE8gU3i17afLCDfCwnES7QtqYNZv
  Kr3IQtEzQVmiQ17trJOYNSeheQJCDtPYvLry2yzwKEhKHFy5hOWWUCjmAUMJP5tYIYo0ZZYtv
  A1lK0vselNExuy+AJG9lWMZklFmekZJbmJmTm6hgYGuoaGRrpmukZG5nqJVbrJeqXFuqmJxSW
  6hnqJ5cV6xZW5yTkpenmpJZsYgWkqpYDt8Q7GVzPf6B1ilORgUhLlfWLhEyvEl5SfUpmRWJwR
  X1Sak1p8iFGGg0NJgjcgECgnWJSanlqRlpkDTJkwaQkOHiUR3rUBQGne4oLE3OLMdIjUKUZ7j
  gkv5y5i5vi4agmQ/A4mb74HkkIsefl5qVLivJkgbQIgbRmleXBDYSn+EqOslDAvIwMDgxBPQW
  pRbmYJqvwrRnEORiVhXgmQKTyZeSVwu18BncUEdFbRO0+Qs0oSEVJSDUza4e1qKsUpPxTmrml
  7t1dd/e/zPYI2q/ewi+w0uNvNnlR8+MjPVVsPelpJi5mJ8btfa3cuePbX9VLmKt/iuAu3/ytr
  PDjMk2fzpXXTgu5Zy8IvaUUn9O2rcLqzOztcMmTy/VsSId4t/QaLFqs8D9h54NC0N5Usexb2J
  2f0Mx8o3eLm5tU0rfOpp9lnsTkMG9Qv3Xyzsf2BS76HSdbyl8IfNOacbLee0uT36tmVXatP2U
  St+tM4I3K39U2/9+7LFq8wOHHa3OJO7y0hmUOblsu+XPd7G3eiX4rD0j+b+if9D92p+kP3kfT
  8JxNk27RuvrWTVf36VLNa2qgsIE7e++Mq3gtfth/sydfcc4Qvg/edEktxRqKhFnNRcSIApu4L
  YWwEAAA=
X-Env-Sender: mark.powell2@dxc.com
X-Msg-Ref: server-24.tower-401.messagelabs.com!1565282869!14635!1
X-Originating-IP: [20.148.196.171]
X-SYMC-ESS-Client-Auth: outbound-route-from=pass
X-StarScan-Received: 
X-StarScan-Version: 9.43.9; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24724 invoked from network); 8 Aug 2019 16:47:50 -0000
Received: from amer-mta204e.csc.com (HELO Amer-MTA204e.csc.com) (20.148.196.171)
  by server-24.tower-401.messagelabs.com with RC4-SHA encrypted SMTP; 8 Aug 2019 16:47:50 -0000
From: "Powell, Mark" <mark.powell2@dxc.com>
Received: from mail-dm3nam05lp2059.outbound.protection.outlook.com (HELO NAM05-DM3-obe.outbound.protection.outlook.com) ([104.47.49.59])
  by Amer-MTA204i.csc.com with ESMTP/TLS/AES256-SHA256; 08 Aug 2019 12:47:49 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=ncn4tjGvqq89oZRTm8I8FMn8CcvbldJdHT8dqewnLLkUReOHYrVMTL3mr8ah8fzhYfUMYL98saeR+L7QUVwRZ2tmR54sZZVr6jR0JRyIxxVfhRUjzPQh0IndQurYvfxRLzXsvmfc++7JMOrOEI7xGFctqFxk7TMZc57k3nIIoKhMGpyKeqhH6Bqg/tWXHMyIWRFhLmAJOTLJbmw9AZWFRQsxnhSWyU6/ZE7RNrI2VfKqwsQ136Q9JL3Blz9VgfAPjBImuoPwfMXb3D7lkCGOLT4rRla7fl8YTd0zOT8lUQ7roAvSirljcJO2hiOiSZDQTajkwdpix7Lei4CHRfQXMA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=UzfQL19zGk+tOFELZ1XKdEHdcdaI83vuhUKvblTFWTE=;
 b=CyIFagY/dNsQ7/KuMJGYdvFnFm41bvVlEiehCphyNE2ccDqF6dinv3HQuotpC8sj75wn/thIsRywIzmDLOe7tjEJdgK9BCP4ubalDDrr8fCrtvC0huq2WVQ5QUaiI++u3RxGMIa7584v74CnZPmJnMVMh8XO8AboxDTTDTtdxY4JXi0DbsYZ2jIWhyMgUlb7HglcvgOqf9ubfO/39CqXIfKRBtULmQWt8e18R6dR7q5qpIp4mYyjqwFclbTQ8yVUtM7323vBfGwq9bQN5dJELQNlyqAj9MUdz3X+APRmkto/H4Qr6I4/ezSdiw4nYDtqcv0bG8gRqsyZUHTkJKXmCw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=dxc.com; dmarc=pass action=none header.from=dxc.com; dkim=pass
 header.d=dxc.com; arc=none
Received: from SN6PR01MB4335.prod.exchangelabs.com (20.177.248.140) by
 SN6PR01MB3709.prod.exchangelabs.com (52.132.124.23) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.2157.16; Thu, 8 Aug 2019 16:47:48 +0000
Received: from SN6PR01MB4335.prod.exchangelabs.com
 ([fe80::2d4b:f579:ea45:94cd]) by SN6PR01MB4335.prod.exchangelabs.com
 ([fe80::2d4b:f579:ea45:94cd%7]) with mapi id 15.20.2136.018; Thu, 8 Aug 2019
 16:47:48 +0000
To: "ecandrietta@gmail.com" <ecandrietta@gmail.com>, ORACLE-L
 <oracle-l@freelists.org>, "madams@equian.com" <madams@equian.com>
Subject: Re: Blocking_session is blocker or blocked
Thread-Topic: Blocking_session is blocker or blocked
Date: Thu, 8 Aug 2019 16:47:48 +0000
Message-ID: 
 <SN6PR01MB4335C8BD54E71AD1105B2835CED70@SN6PR01MB4335.prod.exchangelabs.com>
References: 
 <CAJdDhaOCkjF5gRjLmsM9vGp+q9f3N+T3hsxAOWy59OCp54E_dA@mail.gmail.com>,<DM6PR10MB4187CA5C584525754C2D799DA5DE0@DM6PR10MB4187.namprd10.prod.outlook.com>
In-Reply-To: 
 <DM6PR10MB4187CA5C584525754C2D799DA5DE0@DM6PR10MB4187.namprd10.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [12.47.84.7]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 36083382-2ba6-4d1b-1838-08d71c202555
x-microsoft-antispam: 
 BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:SN6PR01MB3709;
x-ms-traffictypediagnostic: SN6PR01MB3709:
x-microsoft-antispam-prvs: 
 <SN6PR01MB37099304ED38442CA84E1E9ACED70@SN6PR01MB3709.prod.exchangelabs.com>
x-ms-oob-tlc-oobclassifiers: OLM:497;
x-forefront-prvs: 012349AD1C
x-forefront-antispam-report: 
 SFV:NSPM;SFS:(10009020)(346002)(39860400002)(366004)(376002)(396003)(136003)(199004)(189003)(55016002)(6506007)(64756008)(229853002)(66446008)(71190400001)(99286004)(25786009)(7696005)(76176011)(53546011)(15650500001)(186003)(6436002)(6606003)(486006)(446003)(33656002)(476003)(52536014)(19627405001)(11346002)(102836004)(26005)(66066001)(81156014)(110136005)(86362001)(76116006)(66946007)(14444005)(66556008)(66476007)(316002)(6246003)(256004)(9686003)(5024004)(478600001)(19627235002)(8676002)(2501003)(2906002)(81166006)(54896002)(14454004)(8936002)(74316002)(3846002)(7736002)(5660300002)(6116002)(71200400001)(53936002);DIR:OUT;SFP:1101;SCL:1;SRVR:SN6PR01MB3709;H:SN6PR01MB4335.prod.exchangelabs.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1;
received-spf: None (protection.outlook.com: dxc.com does not designate
 permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 
 S8ehFIKXXKtYWFTg4Es1wGPPBWo3Rfhq1nr6mAvTNtqB2xjPCel5ElRrNCA3/8K9cQKL4+KkOfiSSArNx75tCC3RcSR+cHumvLrVl3Z0NiXg8prIGRBdFbvxVbjsT/FTxgYKhrgUwcopR66137WRILpMiAhNF391FX9qqYMFlCxiZtmz5UN4qAOWvEJQAGcEMbJge8anYhivPsHgzDXl1TT+HPb7UEuE/RmV8N2+hdO9xdeXeZvViJFZxH72iNrfvU9sR2oRtZCFwhxy+sTqQo7cMTvHS8TeCIt8/PNsjKxjSOG5Vbd+7VeXokJ/z3zXT2k2Sfu+MQ2Cf2pd8/AAlNLFvX5bmucY3OllMSG5a8Src8VNet9vR7r7k2JewL4+TkzOq6GoZi/IWllt5Qpk3VScqhQ6DJLr28hmfcygwcM=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative;
 boundary="_000_SN6PR01MB4335C8BD54E71AD1105B2835CED70SN6PR01MB4335prod_"
MIME-Version: 1.0
X-OriginatorOrg: dxc.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 36083382-2ba6-4d1b-1838-08d71c202555
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Aug 2019 16:47:48.5930
 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 93f33571-550f-43cf-b09f-cd331338d086
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: mark.powell2@dxc.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR01MB3709
X-archive-position: 74638
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: mark.powell2@dxc.com
Precedence: normal
Reply-To: mark.powell2@dxc.com
List-Help: <mailto:ecartis@freelists.org?Subject=help>
List-Unsubscribe: <mailto:oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-Subscribe: <mailto:oracle-l-request@freelists.org?Subject=subscribe>
List-Owner: <mailto:>
List-post: <mailto:oracle-l@freelists.org>
List-Archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
--_000_SN6PR01MB4335C8BD54E71AD1105B2835CED70SN6PR01MB4335prod_
Content-Type: text/plain; charset="windows-1251"
Content-Transfer-Encoding: quoted-printable


Ecandrietta, being that the OP's posted query uses V$SESSION and that 'VALI=
D' is not one of the five valid values of the STATUS column what column val=
ue are you referring to?



Mark Powell
Database Administration
(313) 592-5148


________________________________
From: oracle-l-bounce@freelists.org <oracle-l-bounce@freelists.org> on beha=
lf of Matt Adams <madams@equian.com>
Sent: Thursday, August 1, 2019 1:07:52 PM
To: ecandrietta@gmail.com <ecandrietta@gmail.com>; ORACLE-L <oracle-l@freel=
ists.org>
Subject: RE: Blocking_session is blocker or blocked


You may want to add the clause



and blocking_session_status =3D 'VALID'



I=92ve seen cases where blocking_session is not null, but the blocking_sess=
ion_status !=3D =91VALID=92.   I believe that both checks are needed to avo=
id giving false positives.







From: oracle-l-bounce@freelists.org <oracle-l-bounce@freelists.org> On Beha=
lf Of Eriovaldo Andrietta
Sent: Thursday, August 01, 2019 11:06 AM
To: ORACLE-L <oracle-l@freelists.org>
Subject: Blocking_session is blocker or blocked



CAUTION: This email originated from outside of the organization. Do not cli=
ck links or open attachments unless you recognize the sender and know the c=
ontent is safe.

Hello,



In the sql below , the blocking_session is the BLOCKED or BLOCKER session ?



Select blocking_session, blocking_instance,wait_class, sid, serial#, inst_i=
d,
seconds_in_wait, program, module, s.LOGON_TIME
From gv$session s
where blocking_session is not NULL
order by blocking_session;



Regards

Eriovaldo

Privacy Statement: The information contained in this transmission, includin=
g any attachments, is for the sole use of the intended recipient(s) and may=
 contain confidential and privileged information. Any unauthorized review, =
use, disclosure, or distribution is prohibited by Federal law. If you are n=
ot the intended recipient of this message, you are notified that you may no=
t disclose, print, copy, or disseminate this information. If you have recei=
ved this transmission in error, please reply to the sender and delete or de=
stroy the message. Unauthorized interception of this transmission may be a =
violation of criminal law.

DXC Technology Company - Headquarters: 1775 Tysons Boulevard, Tysons, Virgi=
nia 22102, USA.
DXC Technology Company -- This message is transmitted to you by or on behal=
f of DXC Technology Company or one of its affiliates. It is intended exclus=
ively for the addressee. The substance of this message, along with any atta=
chments, may contain proprietary, confidential or privileged information or=
 information that is otherwise legally exempt from disclosure. Any unauthor=
ized review, use, disclosure or distribution is prohibited. If you are not =
the intended recipient of this message, you are not authorized to read, pri=
nt, retain, copy or disseminate any part of this message. If you have recei=
ved this message in error, please destroy and delete all copies and notify =
the sender by return e-mail. Regardless of content, this e-mail shall not o=
perate to bind DXC Technology Company or any of its affiliates to any order=
 or other contract unless pursuant to explicit written agreement or governm=
ent initiative expressly permitting the use of e-mail for such purpose. --.

--_000_SN6PR01MB4335C8BD54E71AD1105B2835CED70SN6PR01MB4335prod_
Content-Type: text/html; charset="windows-1251"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1=
251">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Calibri,Helvetica,sans-serif;" dir=3D"ltr">
<p style=3D"margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style=3D"margin-top: 0px; margin-bottom: 0px;">Ecandrietta, being that t=
he OP's posted query uses V$SESSION and that 'VALID' is not one of the five=
 valid values of the STATUS column&nbsp;what column value are you referring=
 to?</p>
<p style=3D"margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style=3D"margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<div id=3D"Signature">
<div id=3D"divtagdefaultwrapper" style=3D"color: rgb(0, 0, 0); font-family:=
 Calibri,Arial,Helvetica,sans-serif,'EmojiFont','Apple Color Emoji', 'Segoe=
 UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbol=
s; font-size: 12pt;" dir=3D"ltr">
<div><font face=3D"Tahoma" size=3D"2">Mark Powell</font></div>
<div><font face=3D"Tahoma" size=3D"2">Database Administration</font></div>
<div><font face=3D"Tahoma" size=3D"2">(313) 592-5148</font></div>
<div><font face=3D"Tahoma" size=3D"2"><br>
</font></div>
<div><font face=3D"Tahoma" size=3D"2"><br>
</font></div>
</div>
</div>
</div>
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> oracle-l-bounce@freel=
ists.org &lt;oracle-l-bounce@freelists.org&gt; on behalf of Matt Adams &lt;=
madams@equian.com&gt;<br>
<b>Sent:</b> Thursday, August 1, 2019 1:07:52 PM<br>
<b>To:</b> ecandrietta@gmail.com &lt;ecandrietta@gmail.com&gt;; ORACLE-L &l=
t;oracle-l@freelists.org&gt;<br>
<b>Subject:</b> RE: Blocking_session is blocker or blocked</font>
<div>&nbsp;</div>
</div>
<style>
<!--
@font-face
	{font-family:"Cambria Math"}
@font-face
	{font-family:Calibri}
@font-face
	{font-family:"Trebuchet MS"}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
	{color:#0563C1;
	text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
	{color:#954F72;
	text-decoration:underline}
p.x_msonormal0, li.x_msonormal0, div.x_msonormal0
	{margin-right:0in;
	margin-left:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif}
span.x_EmailStyle20
	{font-family:"Calibri",sans-serif;
	color:windowtext}
.x_MsoChpDefault
	{font-size:10.0pt}
@page WordSection1
	{margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
	{}
-->
</style>
<div lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"x_WordSection1">
<p class=3D"x_MsoNormal">You may want to add the clause&nbsp; </p>
<p class=3D"x_MsoNormal">&nbsp;</p>
<p class=3D"x_MsoNormal">and blocking_session_status =3D 'VALID'</p>
<p class=3D"x_MsoNormal">&nbsp;</p>
<p class=3D"x_MsoNormal">I=92ve seen cases where blocking_session is not nu=
ll, but the blocking_session_status !=3D =91VALID=92.&nbsp;&nbsp; I believe=
 that both checks are needed to avoid giving false positives.</p>
<p class=3D"x_MsoNormal">&nbsp;</p>
<p class=3D"x_MsoNormal">&nbsp;</p>
<p class=3D"x_MsoNormal">&nbsp;</p>
<div>
<div style=3D"border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0i=
n 0in 0in">
<p class=3D"x_MsoNormal"><b>From:</b> oracle-l-bounce@freelists.org &lt;ora=
cle-l-bounce@freelists.org&gt;
<b>On Behalf Of </b>Eriovaldo Andrietta<br>
<b>Sent:</b> Thursday, August 01, 2019 11:06 AM<br>
<b>To:</b> ORACLE-L &lt;oracle-l@freelists.org&gt;<br>
<b>Subject:</b> Blocking_session is blocker or blocked</p>
</div>
</div>
<p class=3D"x_MsoNormal">&nbsp;</p>
<p><strong><span style=3D"font-family:&quot;Calibri&quot;,sans-serif; color=
:black; border:solid #9C6500 1.0pt; padding:2.0pt; background:#C7323B">CAUT=
ION:</span></strong><span style=3D"color:black; border:solid #9C6500 1.0pt;=
 padding:2.0pt; background:#C7323B"> This email
 originated from outside of the organization. Do not click links or open at=
tachments unless you recognize the sender and know the content is safe.</sp=
an></p>
<div>
<div>
<div>
<div>
<p class=3D"x_MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot=
;,sans-serif">Hello,
</span></p>
</div>
<div>
<p class=3D"x_MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot=
;,sans-serif">&nbsp;</span></p>
</div>
<div>
<p class=3D"x_MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot=
;,sans-serif">In the sql below , the blocking_session is the BLOCKED or BLO=
CKER session ?</span></p>
</div>
<div>
<p class=3D"x_MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot=
;,sans-serif">&nbsp;</span></p>
</div>
<div>
<p class=3D"x_MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot=
;,sans-serif">Select blocking_session, blocking_instance,wait_class, sid, s=
erial#, inst_id,
<br>
seconds_in_wait, program, module, s.LOGON_TIME<br>
From gv$session s<br>
where blocking_session is not NULL<br>
order by blocking_session;</span></p>
</div>
<div>
<p class=3D"x_MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot=
;,sans-serif">&nbsp;</span></p>
</div>
<div>
<p class=3D"x_MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot=
;,sans-serif">Regards</span></p>
</div>
<div>
<p class=3D"x_MsoNormal"><span style=3D"font-family:&quot;Trebuchet MS&quot=
;,sans-serif">Eriovaldo</span></p>
</div>
</div>
</div>
</div>
</div>
<br>
Privacy Statement: The information contained in this transmission, includin=
g any attachments, is for the sole use of the intended recipient(s) and may=
 contain confidential and privileged information. Any unauthorized review, =
use, disclosure, or distribution
 is prohibited by Federal law. If you are not the intended recipient of thi=
s message, you are notified that you may not disclose, print, copy, or diss=
eminate this information. If you have received this transmission in error, =
please reply to the sender and delete
 or destroy the message. Unauthorized interception of this transmission may=
 be a violation of criminal law.
</div>
<br>
DXC Technology Company - Headquarters: 1775 Tysons Boulevard, Tysons, Virgi=
nia 22102, USA.
<br>
DXC Technology Company -- This message is transmitted to you by or on behal=
f of DXC Technology Company or one of its affiliates. It is intended exclus=
ively for the addressee. The substance of this message, along with any atta=
chments, may contain proprietary,
 confidential or privileged information or information that is otherwise le=
gally exempt from disclosure. Any unauthorized review, use, disclosure or d=
istribution is prohibited. If you are not the intended recipient of this me=
ssage, you are not authorized to
 read, print, retain, copy or disseminate any part of this message. If you =
have received this message in error, please destroy and delete all copies a=
nd notify the sender by return e-mail. Regardless of content, this e-mail s=
hall not operate to bind DXC Technology
 Company or any of its affiliates to any order or other contract unless pur=
suant to explicit written agreement or government initiative expressly perm=
itting the use of e-mail for such purpose. --.
</body>
</html>

--_000_SN6PR01MB4335C8BD54E71AD1105B2835CED70SN6PR01MB4335prod_--
--
http://www.freelists.org/webpage/oracle-l


