<?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: SDE on Oracle in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sde-on-oracle/m-p/627301#M35456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So the application is arcPy (ArcGIS 10.1). A description of what the scripts are&lt;BR /&gt;doing might be useful (especially of you want to pursue this with Tech Support).&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes its an arcpy script. Each script is identical with a slight modification in the data.&amp;nbsp; I am running a vehicle routing problem with the service times being different between each script. After the solve is complete I append the orders layer to a table in SDE called Orders_v1 (etc). The script then moves to the next area in the list and processes it then appends and moves on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Script 1 has service time values of 15% A and 85% B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Script 2 has service time values of 50% A and 50% B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Script 3 has service time values of 100% A&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We then compare the output to determine viability of the given plan.&amp;nbsp; Each run consist of about 1000 area with order counts ranging from 10 to 1500.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The commands I am using are&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Orders = "VPR\\Orders"
Routes = "VRP\\Routes"
SDE_Routes = "Database Connections\\DATABASE\\account.Routes_v1" #Actual database name and account removed
SDE_Orders =&amp;nbsp; "Database Connections\\DATABASE\\account.Orders_v1" #Actual database name and account removed
arcpy.Append_management(Routes, SDE_Routes, "NO_TEST")
arcpy.Append_management(Routes, SDE_Orders, "NO_TEST")
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Environment is set to auto commit after 1000 records but since most areas are less than 1000 records I am assuming it is committing after it finished each area.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When all three versions are run competing locks are created on GDS_TABLES_LAST_MODIFIED. &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 02:43:50 GMT</pubDate>
    <dc:creator>ScottBlankenbeckler</dc:creator>
    <dc:date>2021-12-12T02:43:50Z</dc:date>
    <item>
      <title>SDE on Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-on-oracle/m-p/627297#M35452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have serveral processes that update tables in SDE. If I run two processes the times seem normal. However, when I add the third process the times for all processes double.&amp;nbsp; When viewing the database I see that there appears to be an issue with each process stepping on each other to write to the Last Modified table.&amp;nbsp; Since I was not the person who set up SDE on this database I am not sure what the configuration looks like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my question is ... Is this normal? And if not where should I look to correct it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 12:46:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-on-oracle/m-p/627297#M35452</guid>
      <dc:creator>ScottBlankenbeckler</dc:creator>
      <dc:date>2012-08-17T12:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: SDE on Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-on-oracle/m-p/627298#M35453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version of ArcSDE are you using?&amp;nbsp; What service pack is installed?&amp;nbsp; Any patches?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What application(s) are you using to run updates?&amp;nbsp; What version &amp;amp; SP on the app(s)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What kinds of updates are being performed?&amp;nbsp; Which table is experiencing contention?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In general I try to avoid parallel inserts or updates to a single table to avoid the kinds&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of behavior you describe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 15:47:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-on-oracle/m-p/627298#M35453</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-08-17T15:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: SDE on Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-on-oracle/m-p/627299#M35454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ArcSDE 10.1. Don't believe there any service packs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oracle 11g. Patches? not sure but should be current on all patches.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running several python 2.7 scripts, each updates its own set of tables, no two are identical. The table that seems to be in conflict is one of the SDE housekeeping tables, GDB_TABLES_LAST_MODIFIED.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;Example:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Script 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tables - Orders_v1, Routes _v1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Script 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tables - Orders_v2, Routes_v2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Script 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tables - Orders_v3, Routes_v3&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 16:10:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-on-oracle/m-p/627299#M35454</guid>
      <dc:creator>ScottBlankenbeckler</dc:creator>
      <dc:date>2012-08-17T16:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: SDE on Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-on-oracle/m-p/627300#M35455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So the application is arcPy (ArcGIS 10.1).&amp;nbsp; A description of what the scripts are&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;doing might be useful (especially of you want to pursue this with Tech Support).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GDB_* tables are not *ArcSDE* housekeeping tables, but geodatabase repository&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tables.&amp;nbsp; It's hard to tell without looking at both source and a trace if it's your app&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or arcPy itself which is generating multiple locked update requests.&amp;nbsp; If you don't&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run your updates in a transaction, you should certainly do that, and hope that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcPy won't update the modified time until COMMIT TRANSACTION.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 18:01:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-on-oracle/m-p/627300#M35455</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-08-17T18:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: SDE on Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-on-oracle/m-p/627301#M35456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So the application is arcPy (ArcGIS 10.1). A description of what the scripts are&lt;BR /&gt;doing might be useful (especially of you want to pursue this with Tech Support).&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes its an arcpy script. Each script is identical with a slight modification in the data.&amp;nbsp; I am running a vehicle routing problem with the service times being different between each script. After the solve is complete I append the orders layer to a table in SDE called Orders_v1 (etc). The script then moves to the next area in the list and processes it then appends and moves on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Script 1 has service time values of 15% A and 85% B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Script 2 has service time values of 50% A and 50% B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Script 3 has service time values of 100% A&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We then compare the output to determine viability of the given plan.&amp;nbsp; Each run consist of about 1000 area with order counts ranging from 10 to 1500.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The commands I am using are&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Orders = "VPR\\Orders"
Routes = "VRP\\Routes"
SDE_Routes = "Database Connections\\DATABASE\\account.Routes_v1" #Actual database name and account removed
SDE_Orders =&amp;nbsp; "Database Connections\\DATABASE\\account.Orders_v1" #Actual database name and account removed
arcpy.Append_management(Routes, SDE_Routes, "NO_TEST")
arcpy.Append_management(Routes, SDE_Orders, "NO_TEST")
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Environment is set to auto commit after 1000 records but since most areas are less than 1000 records I am assuming it is committing after it finished each area.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When all three versions are run competing locks are created on GDS_TABLES_LAST_MODIFIED. &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:43:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-on-oracle/m-p/627301#M35456</guid>
      <dc:creator>ScottBlankenbeckler</dc:creator>
      <dc:date>2021-12-12T02:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: SDE on Oracle</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-on-oracle/m-p/627302#M35457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At this point you probably want to look at saving the intermediate products to a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;file geodatabase (temporary, generated for each model run -- make sure it's a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;local filesystem, not networked), then when the model&amp;nbsp; is complete, append the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;results to the master table and delete the temp FGDB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 20:43:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-on-oracle/m-p/627302#M35457</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-08-17T20:43:22Z</dc:date>
    </item>
  </channel>
</rss>

