<?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 Select by Location in ArcMap 10.2.1 issues different SQL than in ArcMap 10.0? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/select-by-location-in-arcmap-10-2-1-issues/m-p/668319#M37903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have a large point layer and I'm doing a "Select by Location" to select all points that intersect a specific selected polygon from a polygon table.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In ArcMap 10.0 the SQL that was executed was basically the following:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Stick the se_rowid of the polygon into the sde_logfile_data table&lt;/P&gt;&lt;P&gt;2. Select all points that intersect the polygon&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In ArcMap 10.2 the SQL is an alternating sequence of:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Insert the rowids of 10000 points into the sde_logfile_data table&lt;/P&gt;&lt;P&gt;2. Select count(distinct sde_row_id) from sde_log_table where logfile_data_id = ...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i.e., sde_logfile_data keeps getting inserted into and the subsequent selects take longer and longer.&amp;nbsp; ArcMap ends up stalling and I have to kill it.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this sound familiar to anyone?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2014 22:18:07 GMT</pubDate>
    <dc:creator>MikeDunham-Wilkie</dc:creator>
    <dc:date>2014-07-21T22:18:07Z</dc:date>
    <item>
      <title>Select by Location in ArcMap 10.2.1 issues different SQL than in ArcMap 10.0?</title>
      <link>https://community.esri.com/t5/data-management-questions/select-by-location-in-arcmap-10-2-1-issues/m-p/668319#M37903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have a large point layer and I'm doing a "Select by Location" to select all points that intersect a specific selected polygon from a polygon table.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In ArcMap 10.0 the SQL that was executed was basically the following:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Stick the se_rowid of the polygon into the sde_logfile_data table&lt;/P&gt;&lt;P&gt;2. Select all points that intersect the polygon&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In ArcMap 10.2 the SQL is an alternating sequence of:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Insert the rowids of 10000 points into the sde_logfile_data table&lt;/P&gt;&lt;P&gt;2. Select count(distinct sde_row_id) from sde_log_table where logfile_data_id = ...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i.e., sde_logfile_data keeps getting inserted into and the subsequent selects take longer and longer.&amp;nbsp; ArcMap ends up stalling and I have to kill it.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this sound familiar to anyone?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 22:18:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/select-by-location-in-arcmap-10-2-1-issues/m-p/668319#M37903</guid>
      <dc:creator>MikeDunham-Wilkie</dc:creator>
      <dc:date>2014-07-21T22:18:07Z</dc:date>
    </item>
  </channel>
</rss>

