<?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: How to determine current edit session locking a version? in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/how-to-determine-current-edit-session-locking-a/m-p/836824#M4491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check in Geodatabase Administrator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right-click on the geodatabase connection&amp;gt; Administration&amp;gt; Administer geodatabase&amp;gt; Locks&amp;gt; in Lock Type..select "Version"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2015 21:13:21 GMT</pubDate>
    <dc:creator>AsrujitSengupta</dc:creator>
    <dc:date>2015-02-18T21:13:21Z</dc:date>
    <item>
      <title>How to determine current edit session locking a version?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-determine-current-edit-session-locking-a/m-p/836823#M4490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to determine which session is locking a version, DEFAULT in particular?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reviewed the &lt;A _jive_internal="true" href="https://community.esri.com/message/34310#34310"&gt;How to find locks preventing a specific version from being deleted within SDE tables?&lt;/A&gt; posting, but in a recent situation where our DEFAULT version was locked, the &lt;SPAN style="font-family: terminal,monaco;"&gt;select owner from sde.process_information where sde_id = 'xxxxx'&lt;/SPAN&gt; query (from the other post) returned more than 1 owner/session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are at 10.2.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 20:45:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-determine-current-edit-session-locking-a/m-p/836823#M4490</guid>
      <dc:creator>WilliamD_Arcy</dc:creator>
      <dc:date>2015-02-18T20:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine current edit session locking a version?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-determine-current-edit-session-locking-a/m-p/836824#M4491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check in Geodatabase Administrator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right-click on the geodatabase connection&amp;gt; Administration&amp;gt; Administer geodatabase&amp;gt; Locks&amp;gt; in Lock Type..select "Version"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 21:13:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-determine-current-edit-session-locking-a/m-p/836824#M4491</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2015-02-18T21:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine current edit session locking a version?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-determine-current-edit-session-locking-a/m-p/836825#M4492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any active connection to the DEFAULT version in your geodatabase will register locks in the SDE tables, even if these connections are merely viewing data, so it is plausible for there to be multiple "owners" of these locks (i.e. one for each distinct connection).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The recommendation from&lt;A href="https://community.esri.com/migrated-users/31350" target="_blank"&gt;Asrujit SenGupta&lt;/A&gt;‌ should certainly work to display the info you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are working purely from the SQL side, the following query might also help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;SELECT 
&amp;nbsp; pri.owner, 
&amp;nbsp; tr.table_name, 
&amp;nbsp; tl.*
FROM sde.sde_versions v
JOIN sde.SDE_state_locks sl ON sl.state_id = v.state_id
JOIN sde.SDE_process_information pri ON pri.sde_id = sl.sde_id
JOIN sde.sde_table_locks tl ON tl.sde_id = pri.sde_id
JOIN sde.sde_table_registry tr ON tr.registration_id = tl.registration_id
WHERE v.name = 'DEFAULT' &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:09:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-determine-current-edit-session-locking-a/m-p/836825#M4492</guid>
      <dc:creator>ErinBrimhall</dc:creator>
      <dc:date>2021-12-12T10:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine current edit session locking a version?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-determine-current-edit-session-locking-a/m-p/836826#M4493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know what the query is that would return the same info (Object Name, Object Type, Lock Type, Lock Owner, Lock Mode and Date Acquired) outside of ArcCatalog (e.g. from SqlPlus)?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I ask is that there is a bug (BUG-000083139) that causes the dialog box to respond very slowly for geodatabases with a considerable number of versions (ours is over 30k), so if it's possible to do this from the command line it would make it a little easier to work with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the situation I describe (our DEFAULT version locked), would the &lt;STRONG&gt;Lock Mode&lt;/STRONG&gt; in the Geodatabase Administrator show as 'Exclusive' to pinpoint the locking session?&amp;nbsp; Oftentimes the Geodatabase Administrator will show multiple 'Shared' locks, which are not a problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 20:05:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-determine-current-edit-session-locking-a/m-p/836826#M4493</guid>
      <dc:creator>WilliamD_Arcy</dc:creator>
      <dc:date>2015-03-05T20:05:35Z</dc:date>
    </item>
  </channel>
</rss>

