<?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: GDB_TABLES_LAST_MODIFIED in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/gdb-tables-last-modified/m-p/131350#M7610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bruce, I'll pass that on to the developer. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From a database perspective (I'm the DBA), I'm looking for similar experiences with GDB_TABLES_LAST_MODIFIED bottlenecks. &amp;nbsp;This is a small table, as is GDB_ITEMS, and updates should be very quick. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One line of thinking that I'm pursuing is how does arcpy do its updates to the database. &amp;nbsp;Does it send chunks? &amp;nbsp;When does GDB_ITEMS get updates, when does it commit? &amp;nbsp;I see many SQLNet message to client entries in the trace files, meaning the database is doing its work and waiting for the arcpy to do something back. &amp;nbsp;So process A comes in, starts to update GDB_ITEMS that in turn updates GDB_TABLES_LAST_MODIFIED, the additional processes queue up to do the same but eventually time out. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2016 19:08:19 GMT</pubDate>
    <dc:creator>SherrieKubis</dc:creator>
    <dc:date>2016-08-23T19:08:19Z</dc:date>
    <item>
      <title>GDB_TABLES_LAST_MODIFIED</title>
      <link>https://community.esri.com/t5/data-management-questions/gdb-tables-last-modified/m-p/131348#M7608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oracle RDBMS 12.1.0.2&amp;nbsp;&lt;/P&gt;&lt;P&gt;SDE 10.2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have many nightly update jobs that use arcpy, others use FME. &amp;nbsp;Sporadically,&amp;nbsp;some of the arcpy jobs fail. &amp;nbsp;Since they run in batch mode, the developer is having trouble seeing what the returned error is. &amp;nbsp;Sometimes the jobs all work without issue, other times maybe 5 to 10 of them fail. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To determine the failures I created a login trigger for the data owner between the hours of the nightly updates. &amp;nbsp;I found&amp;nbsp;&lt;/P&gt;&lt;P&gt;enq: &amp;nbsp;TX - row lock contention on GDB_TABLES_LAST_MODIFIED. &amp;nbsp;It was previously suggested to me to increase initrans from 4 to 8, but that made no difference. &amp;nbsp;In the development environment, I increased it to 50 and it still made no difference, so I set it back to 4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone had similar issues? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The failures happen with arcpy jobs, but not with FME jobs, both from the same Windows server as the client to the database. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sherrie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 15:26:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/gdb-tables-last-modified/m-p/131348#M7608</guid>
      <dc:creator>SherrieKubis</dc:creator>
      <dc:date>2016-08-23T15:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: GDB_TABLES_LAST_MODIFIED</title>
      <link>https://community.esri.com/t5/data-management-questions/gdb-tables-last-modified/m-p/131349#M7609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You could instrument your code to write error conditions to a file.&lt;/P&gt;&lt;P&gt;The worker script in the below sample shows error trapping and file writing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pm.maps.arcgis.com/home/item.html?id=b3c7c6273ef54e91aa57a073aa873eca" title="http://pm.maps.arcgis.com/home/item.html?id=b3c7c6273ef54e91aa57a073aa873eca"&gt;http://arcgis.com/home/item.html?id=b3c7c6273ef54e91aa57a073aa873eca&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 15:31:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/gdb-tables-last-modified/m-p/131349#M7609</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2016-08-23T15:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: GDB_TABLES_LAST_MODIFIED</title>
      <link>https://community.esri.com/t5/data-management-questions/gdb-tables-last-modified/m-p/131350#M7610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bruce, I'll pass that on to the developer. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From a database perspective (I'm the DBA), I'm looking for similar experiences with GDB_TABLES_LAST_MODIFIED bottlenecks. &amp;nbsp;This is a small table, as is GDB_ITEMS, and updates should be very quick. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One line of thinking that I'm pursuing is how does arcpy do its updates to the database. &amp;nbsp;Does it send chunks? &amp;nbsp;When does GDB_ITEMS get updates, when does it commit? &amp;nbsp;I see many SQLNet message to client entries in the trace files, meaning the database is doing its work and waiting for the arcpy to do something back. &amp;nbsp;So process A comes in, starts to update GDB_ITEMS that in turn updates GDB_TABLES_LAST_MODIFIED, the additional processes queue up to do the same but eventually time out. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 19:08:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/gdb-tables-last-modified/m-p/131350#M7610</guid>
      <dc:creator>SherrieKubis</dc:creator>
      <dc:date>2016-08-23T19:08:19Z</dc:date>
    </item>
  </channel>
</rss>

