<?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: Manage geodatabase locks…but not as the SDE geodatabase administrator – Possible? in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1330293#M8599</link>
    <description>&lt;P&gt;Related:&lt;/P&gt;&lt;P&gt;Idea: &lt;A href="https://community.esri.com/t5/arcgis-enterprise-ideas/allow-data-owners-to-remove-locks-on-their-own/idi-p/1148382" target="_self"&gt;Allow data owners to remove locks on their own data&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 18:08:01 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2023-09-19T18:08:01Z</dc:date>
    <item>
      <title>Manage geodatabase locks…but not as the SDE geodatabase administrator – Possible?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1325771#M8581</link>
      <description>&lt;P&gt;Hello Data Managers&lt;/P&gt;&lt;P&gt;Linux / Oracle 19c / Geodatabase 11.1 / ST_GEOMERTY - not real Schema just for this example: SDE, FORESTS, RIVERS, LAKES.&lt;/P&gt;&lt;P&gt;On our Test Database the Schema FORESTS holds several Feature Classes. These can have old locks on them. So when we try and add a Field to a Feature Class it is not possible due to locks. Or if we want to drop the Feature Class it is not possible due to locks.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/manage-geodatabase-locks.htm#:~:text=resource%20for%20use.-,Note%3A,pane%20and%20click%20Administration%20%3E%20Locks" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/manage-geodatabase-locks.htm#:~:text=resource%20for%20use.-,Note%3A,pane%20and%20click%20Administration%20%3E%20Locks&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Naturally, we can drop the locks as the SDE User.&lt;/P&gt;&lt;P&gt;Right-click the database connection in the Catalog pane and click Administration &amp;gt; Locks. Right-click the database connection in the Catalog pane and click Administration &amp;gt; Locks. The geodatabase administrator requires elevated privileges to disconnect users.&amp;nbsp; ALTER SYSTEM SELECT_CATALOG_ROLE*&lt;/P&gt;&lt;P&gt;Is it possible to assign these two Privilege to the User FORESTS so they can delete their own older connections? I have the feeling this is not possible?&lt;/P&gt;&lt;P&gt;Can a User disconnect their own locks or is this just the job of the SDE User as the geodatabase administrator?&lt;/P&gt;&lt;P&gt;Feedback welcome.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 09:17:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1325771#M8581</guid>
      <dc:creator>JamesMorrison1</dc:creator>
      <dc:date>2023-09-06T09:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Manage geodatabase locks…but not as the SDE geodatabase administrator – Possible?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1325773#M8582</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/102272"&gt;@JamesMorrison1&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're correct that those privileges are required to drop connections as described here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-oracle/privileges-oracle.htm#:~:text=Oracle%20optional%20privileges%20for%20geodatabase%20administrator" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-oracle/privileges-oracle.htm#:~:text=Oracle%20optional%20privileges%20for%20geodatabase%20administrator&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You could grant these to the user directly in Oracle - please consider the impact of this though and test it to see if its your desired outcome.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd be asking why these locks are being held and turning into "old locks" - are you using feature datasets in your Enterprise geodatabase?&lt;/P&gt;&lt;P&gt;It might mean that users are actively using the feature class and potentially making edits to the dataset - is that a good time to remove their lock? Normally, a user would release their own lock by ending their ArcGIS Pro session - if the locks are being retained then there's a issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 09:34:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1325773#M8582</guid>
      <dc:creator>A_Wyn_Jones</dc:creator>
      <dc:date>2023-09-06T09:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Manage geodatabase locks…but not as the SDE geodatabase administrator – Possible?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1325812#M8584</link>
      <description>&lt;P&gt;Thank you very much for your feedback AWJ.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; You could grant these to the user directly in Oracle - please consider the impact of this though and test it to see if its your desired outcome.&lt;/P&gt;&lt;P&gt;What impacts are you alluding to here?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I'd be asking why these locks are being held and turning into "old locks" - are you using feature datasets in your Enterprise geodatabase?&lt;/P&gt;&lt;P&gt;No Feature Datasets. Just Feature Classes. Since I started with Oracle / SDE way back in 2004 we have always encountered these old connections. Never really found a reason for them.....we just killed them via a script run at night. So one editing.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 12:00:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1325812#M8584</guid>
      <dc:creator>JamesMorrison1</dc:creator>
      <dc:date>2023-09-06T12:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Manage geodatabase locks…but not as the SDE geodatabase administrator – Possible?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1325947#M8587</link>
      <description>&lt;P&gt;Do you have any services that are using these feature classes?&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 15:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1325947#M8587</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-09-06T15:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Manage geodatabase locks…but not as the SDE geodatabase administrator – Possible?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1325962#M8588</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;What impacts are you alluding to here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SELECT_CATALOG_ROLE is required to drop connections. It also allows for that connection to upgrade a geodatabase. This capability should probably not sit with your day to day user.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;No Feature Datasets. Just Feature Classes. Since I started with Oracle / SDE way back in 2004 we have always encountered these old connections. Never really found a reason for them.....we just killed them via a script run at night. So one editing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Which version of Geodatabase are you currently running? Locks should be terminated as soon as the user session is shutdown. At version 10.6.1 - a known bug with SDE on SQL caused some connections to become "orphaned" and would cause disruption when it comes to admin tasks i.e. changing a schema. I should make it clear that this information pertains to SQL databases which I normally work with (and the bug relates to).&lt;/P&gt;&lt;P&gt;Hope this helps you somehow!&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/bug/accessing-a-geodatabases-locks-information-returns-the-bug-000110574" target="_blank"&gt;https://support.esri.com/en-us/bug/accessing-a-geodatabases-locks-information-returns-the-bug-000110574&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 15:41:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1325962#M8588</guid>
      <dc:creator>A_Wyn_Jones</dc:creator>
      <dc:date>2023-09-06T15:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Manage geodatabase locks…but not as the SDE geodatabase administrator – Possible?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1326278#M8589</link>
      <description>&lt;P&gt;No.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 09:11:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1326278#M8589</guid>
      <dc:creator>JamesMorrison1</dc:creator>
      <dc:date>2023-09-07T09:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Manage geodatabase locks…but not as the SDE geodatabase administrator – Possible?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1326279#M8590</link>
      <description>&lt;P&gt;AWJ - we have used all SDE versions 8, 9.x, 10.x now 11.x over the years and we always experienced&amp;nbsp; old connections. Since this a Test system the Developers are often changing the data model and so the old connections stop them. Hence my original question posted below. Thank you for your feedback.&lt;/P&gt;&lt;P&gt;However, my post this time was more on the &lt;STRONG&gt;question&lt;/STRONG&gt;: Can a User disconnect their own locks or is this just the job of the SDE User as the geodatabase administrator?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 09:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1326279#M8590</guid>
      <dc:creator>JamesMorrison1</dc:creator>
      <dc:date>2023-09-07T09:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Manage geodatabase locks…but not as the SDE geodatabase administrator – Possible?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1328202#M8594</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/102272"&gt;@JamesMorrison1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data owner only has the privilege to view the existing locks at the dataset level by the following steps:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;Start ArcGIS Pro and connect to the geodatabase as the dataset owner.&lt;BR /&gt;&amp;gt;&amp;gt;Right-click the dataset in the Catalog pane and click Locks.&lt;/P&gt;&lt;P&gt;If you want to delete the locks, we need to connect with the Geodatabase administrator user, which is sde user. Please check the "&lt;STRONG&gt;View locks on your dataset"&lt;/STRONG&gt; section in below document:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/manage-geodatabase-locks.htm#:~:text=resource%20for%20use.-,Note%3A,pane%20and%20click%20Administration%20%3E%20Locks" target="_self"&gt;Manage geodatabase locks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Even though I am able to see the existing locks on my dataset with the data owner, however, when I click on disconnect, I see below error related to insufficient permission:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commu.PNG" style="width: 417px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80578i58F49344FC8E6DA4/image-dimensions/417x184?v=v2" width="417" height="184" role="button" title="commu.PNG" alt="commu.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 11:49:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1328202#M8594</guid>
      <dc:creator>RudraniChakraborty</dc:creator>
      <dc:date>2023-09-13T11:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Manage geodatabase locks…but not as the SDE geodatabase administrator – Possible?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1328373#M8595</link>
      <description>&lt;P&gt;Only the sde user can remove geodatabase locks because the sde user is the arcsde geodatabase repository owner.&lt;/P&gt;&lt;P&gt;Note, database locks are different from geodatabase locks, the database locks can only be removed by the database administrator via the sysadmin database user.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 16:34:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1328373#M8595</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2023-09-13T16:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Manage geodatabase locks…but not as the SDE geodatabase administrator – Possible?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1330293#M8599</link>
      <description>&lt;P&gt;Related:&lt;/P&gt;&lt;P&gt;Idea: &lt;A href="https://community.esri.com/t5/arcgis-enterprise-ideas/allow-data-owners-to-remove-locks-on-their-own/idi-p/1148382" target="_self"&gt;Allow data owners to remove locks on their own data&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 18:08:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/manage-geodatabase-locks-but-not-as-the-sde/m-p/1330293#M8599</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-09-19T18:08:01Z</dc:date>
    </item>
  </channel>
</rss>

