<?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 8.1.7.4 on VMS 7.3-2 Lock Problem in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/oracle-8-1-7-4-on-vms-7-3-2-lock-problem/m-p/4135303#M13886</link>
    <description>And if your version of Oracle is not too old :&lt;BR /&gt;&lt;BR /&gt;You can specify a timeout interval by placing the sqlnet_expire_time parameter in your sqlnet.ora file.  For example, setting sqlnet_expire_time=2 will poll the SQL*Net client every two minutes and disconnect the session if there is no activity.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
    <pubDate>Fri, 25 Jan 2008 10:59:25 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2008-01-25T10:59:25Z</dc:date>
    <item>
      <title>Oracle 8.1.7.4 on VMS 7.3-2 Lock Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/oracle-8-1-7-4-on-vms-7-3-2-lock-problem/m-p/4135298#M13881</link>
      <description>We have a repeating problem which requires the&lt;BR /&gt;db to be recycled.&lt;BR /&gt;&lt;BR /&gt;A table becomes locked causing a major backup. &lt;BR /&gt;The db says the session causing the lock has gone away. Indeed the lsnr job is gone.&lt;BR /&gt;&lt;BR /&gt;Our assigned dba says under VMS, a lock whose&lt;BR /&gt;session is gone cannot be cleared - hence db restart.&lt;BR /&gt;&lt;BR /&gt;Does this ring true?&lt;BR /&gt;Is there a way to clear a table lock under this&lt;BR /&gt;condition?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance....Doug</description>
      <pubDate>Thu, 24 Jan 2008 20:12:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/oracle-8-1-7-4-on-vms-7-3-2-lock-problem/m-p/4135298#M13881</guid>
      <dc:creator>Douglas Fisher</dc:creator>
      <dc:date>2008-01-24T20:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 8.1.7.4 on VMS 7.3-2 Lock Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/oracle-8-1-7-4-on-vms-7-3-2-lock-problem/m-p/4135299#M13882</link>
      <description>&lt;!--!*#--&gt;If you can get into the database as a privileged user, you can try the following:&lt;BR /&gt;&lt;BR /&gt;sql&amp;gt; select sid, serial#, username, status from v$session;&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;&lt;LISTING of="" usernames="" and="" data="https://community.hpe.com/"&gt;&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;sql&amp;gt; alter system kill session '&lt;SID&gt;,&lt;SERIAL&gt;';&lt;BR /&gt;&lt;BR /&gt;The &lt;SID&gt; and &lt;SERIAL&gt; are obtained from the listing finding the match to the username.  These are commands our Oracle DB has given me for users that lost their sessions, but they are still in the database.  It kills their attachment to the database.&lt;/SERIAL&gt;&lt;/SID&gt;&lt;/SERIAL&gt;&lt;/SID&gt;&lt;/LISTING&gt;</description>
      <pubDate>Thu, 24 Jan 2008 20:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/oracle-8-1-7-4-on-vms-7-3-2-lock-problem/m-p/4135299#M13882</guid>
      <dc:creator>Dale A. Marcy</dc:creator>
      <dc:date>2008-01-24T20:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 8.1.7.4 on VMS 7.3-2 Lock Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/oracle-8-1-7-4-on-vms-7-3-2-lock-problem/m-p/4135300#M13883</link>
      <description>Thank you very much, I'll diplomatically pass this on to our dba group and keep you updated.</description>
      <pubDate>Thu, 24 Jan 2008 20:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/oracle-8-1-7-4-on-vms-7-3-2-lock-problem/m-p/4135300#M13883</guid>
      <dc:creator>Douglas Fisher</dc:creator>
      <dc:date>2008-01-24T20:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 8.1.7.4 on VMS 7.3-2 Lock Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/oracle-8-1-7-4-on-vms-7-3-2-lock-problem/m-p/4135301#M13884</link>
      <description>As an Oracle DBA with many years experience with VMS, I can state that I have NEVER had to restart the database just to clear a database lock.  The operating system should not matter.  As far as database locks go, Oracle is Oracle, whether it is running on VMS, Unix or Windows.  &lt;BR /&gt;&lt;BR /&gt;It sounds like you are experiencing what is usually called a "blocking lock".  One process is holding a lock on a database object which one or more other processes wish to obtain.  Identifying the process holding the lock is the trick.  &lt;BR /&gt;&lt;BR /&gt;It is not always possible to identify which process is of interest from information in v$session, alone.  It depends on the application. &lt;BR /&gt;&lt;BR /&gt;I use a third party product which has made me lazy and out of practise in using SQL to find the problem.  But Oracle provide a script in Ora_Rdbms_Admin called UTLLOCKT.SQL which may help.  If you have access to an Oracle Enterprise Manager console, it may have tools to show which process is locking which object.  Mine does, but it is version 9.2&lt;BR /&gt;&lt;BR /&gt;Usually, if you can identify the Oracle process holding the lock, and kill it, the lock is freed immediately and processing continues.  However, if the rogue process has done a massive update, then it may take some time for Oracle to roll back the update.  This means the lock can sometimes be held for long after the process has been killed.  This is true for all operating systems.</description>
      <pubDate>Fri, 25 Jan 2008 04:46:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/oracle-8-1-7-4-on-vms-7-3-2-lock-problem/m-p/4135301#M13884</guid>
      <dc:creator>DSM_1</dc:creator>
      <dc:date>2008-01-25T04:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 8.1.7.4 on VMS 7.3-2 Lock Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/oracle-8-1-7-4-on-vms-7-3-2-lock-problem/m-p/4135302#M13885</link>
      <description>Can not test it but if you do a transaction starting from a pc, then power off the pc, the session will stay until the keepalive has timed out or until the pc is rebooted.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Fri, 25 Jan 2008 10:37:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/oracle-8-1-7-4-on-vms-7-3-2-lock-problem/m-p/4135302#M13885</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-01-25T10:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 8.1.7.4 on VMS 7.3-2 Lock Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/oracle-8-1-7-4-on-vms-7-3-2-lock-problem/m-p/4135303#M13886</link>
      <description>And if your version of Oracle is not too old :&lt;BR /&gt;&lt;BR /&gt;You can specify a timeout interval by placing the sqlnet_expire_time parameter in your sqlnet.ora file.  For example, setting sqlnet_expire_time=2 will poll the SQL*Net client every two minutes and disconnect the session if there is no activity.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Fri, 25 Jan 2008 10:59:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/oracle-8-1-7-4-on-vms-7-3-2-lock-problem/m-p/4135303#M13886</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-01-25T10:59:25Z</dc:date>
    </item>
  </channel>
</rss>

