<?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: Delete Rows GP Tool - Slow Performance in ArcGIS 10 in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333618#M11691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had similar problem. When I ran Delete Rows from toolbox, it took 3 secs to delete more than 30000 rows but when I run it in a model which I built with Model Builder, sometimes it took half hour and sometimes 3 secs. The most recent 3 times I ran it fast, was with the shapefile added into TOC. I haven't tested enough but wish this might be helpful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2011 20:24:45 GMT</pubDate>
    <dc:creator>YingziYang</dc:creator>
    <dc:date>2011-06-17T20:24:45Z</dc:date>
    <item>
      <title>Delete Rows GP Tool - Slow Performance in ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333613#M11686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Since upgrading to ArcGIS 10 (ArcInfo license level, SP1), I've experienced much slower performance with the Delete Rows GP tool (Data Management Tools &amp;gt; Tables &amp;gt; Delete Rows).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I run a process a few times per week that generates a table averaging approximately 100 rows.&amp;nbsp; For each table, I may need to do some post-processing &amp;amp; manually delete a handful of rows.&amp;nbsp; Yet, I don't want to open an edit session each time.&amp;nbsp; My solution has been to select the few rows I don't need, then run the Delete Rows tool, which deletes only the selections.&amp;nbsp; This worked lightning fast in 9.3.1, but takes upwards of a half minute or so in version 10.&amp;nbsp; That may not sound like much, but it's frustrating that something that worked so well in the last release is now bottle-necking my work flow.&amp;nbsp; Is this a flaw in the tool, or do I need to adjust something to improve the tool's performance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris Morneau&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Los Angeles County&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dept of Regional Planning&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 23:17:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333613#M11686</guid>
      <dc:creator>ChristopherMorneau</dc:creator>
      <dc:date>2010-12-08T23:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Rows GP Tool - Slow Performance in ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333614#M11687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can't verify that behavior in v10, but as a work around:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Copy the rows you want to keep to a new table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Use an update cursor (the .DeleteRow method) to delete the rows&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 15:27:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333614#M11687</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2010-12-09T15:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Rows GP Tool - Slow Performance in ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333615#M11688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have experienced the same behavior with Mosaic_to_New_Raster. It takes an inordinate amount of time to populate a toolbox form. Once that's been done, the process executes quickly. I'm running on a 64-bit W7 platform. However, it's not just that tool--I've had the same response with any of the tools.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary Buell&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USGS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Atlanta, Georgia&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Since upgrading to ArcGIS 10 (ArcInfo license level, SP1), I've experienced much slower performance with the Delete Rows GP tool (Data Management Tools &amp;gt; Tables &amp;gt; Delete Rows).&lt;BR /&gt;&lt;BR /&gt;I run a process a few times per week that generates a table averaging approximately 100 rows.&amp;nbsp; For each table, I may need to do some post-processing &amp;amp; manually delete a handful of rows.&amp;nbsp; Yet, I don't want to open an edit session each time.&amp;nbsp; My solution has been to select the few rows I don't need, then run the Delete Rows tool, which deletes only the selections.&amp;nbsp; This worked lightning fast in 9.3.1, but takes upwards of a half minute or so in version 10.&amp;nbsp; That may not sound like much, but it's frustrating that something that worked so well in the last release is now bottle-necking my work flow.&amp;nbsp; Is this a flaw in the tool, or do I need to adjust something to improve the tool's performance?&lt;BR /&gt;&lt;BR /&gt;Chris Morneau&lt;BR /&gt;Los Angeles County&lt;BR /&gt;Dept of Regional Planning&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 18:35:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333615#M11688</guid>
      <dc:creator>GaryBuell</dc:creator>
      <dc:date>2011-04-28T18:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Rows GP Tool - Slow Performance in ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333616#M11689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can't verify that behavior in v10, but as a work around:&lt;BR /&gt;&lt;BR /&gt;1. Copy the rows you want to keep to a new table&lt;BR /&gt;2. Use an update cursor (the .DeleteRow method) to delete the rows&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I could do that (option 1), but why would I want to create a 2nd table?&amp;nbsp; Then I'd have to go back &amp;amp; delete the first table, then rename the 2nd to the original table name.&amp;nbsp; It's not a good work around if it creates more work.&amp;nbsp; I'd be better off just using the Delete Rows tool &amp;amp; wait the 30 seconds for it to run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe Option 2 is better, but now it's a moot point.&amp;nbsp; I enclosed the Delete Rows tool in a model &amp;amp; it takes about 1 second to run.&amp;nbsp; Now, &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;that's&lt;/SPAN&gt;&lt;SPAN&gt; a work around!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 19:28:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333616#M11689</guid>
      <dc:creator>ChristopherMorneau</dc:creator>
      <dc:date>2011-04-28T19:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Rows GP Tool - Slow Performance in ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333617#M11690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Gary,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I've indicated in my previous post today, try enclosing the Mosaic_to_New_Raster tool in a model (in ModelBuilder).&amp;nbsp; Setup your parameters as needed, then save &amp;amp; close it.&amp;nbsp; Then re-open it (click Open, not Edit) &amp;amp; run the model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's no guarantee that this will make your Mosaic_to_New_Raster process run faster, but it's worth a try.&amp;nbsp; This was my solution for the Delete Rows tool - it now performs lightning fast.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 22:01:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333617#M11690</guid>
      <dc:creator>ChristopherMorneau</dc:creator>
      <dc:date>2011-04-28T22:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Rows GP Tool - Slow Performance in ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333618#M11691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had similar problem. When I ran Delete Rows from toolbox, it took 3 secs to delete more than 30000 rows but when I run it in a model which I built with Model Builder, sometimes it took half hour and sometimes 3 secs. The most recent 3 times I ran it fast, was with the shapefile added into TOC. I haven't tested enough but wish this might be helpful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 20:24:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333618#M11691</guid>
      <dc:creator>YingziYang</dc:creator>
      <dc:date>2011-06-17T20:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Rows GP Tool - Slow Performance in ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333619#M11692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't touched this thread in a while, so I don't know if others have discovered anything new during the interim.&amp;nbsp; I'm now using version 10.2.2, &amp;amp; Delete Rows is still slow when I use it as a stand-alone tool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:30:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333619#M11692</guid>
      <dc:creator>ChristopherMorneau</dc:creator>
      <dc:date>2015-01-15T19:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Rows GP Tool - Slow Performance in ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333620#M11693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;I have made the same observation with ArcGIS 10.4.1. But also when I use the GP tool in ModelBuilder, there is no change in performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 11:22:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333620#M11693</guid>
      <dc:creator>MartinSchönfeld</dc:creator>
      <dc:date>2017-11-30T11:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Rows GP Tool - Slow Performance in ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333621#M11694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have done some checks and I think I know the answer.&lt;/P&gt;&lt;P&gt;I think most people are using this command to truncate the layer (delete all records).&lt;/P&gt;&lt;P&gt;In 10.0 the GP would just delete row by row keeping the spatial index.&lt;/P&gt;&lt;P&gt;In 10.1 the GP delete the spatial index, delete the row and rebuild the index. If you delete all records it is much faster.&lt;/P&gt;&lt;P&gt;If you delete just a few records&amp;nbsp;it takes time to rebuild the index for the remaining records.&lt;/P&gt;&lt;P&gt;That is what I found checking trace file of enterprise geodatabase, I this it is the same for FGDB.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Dec 2017 06:41:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/delete-rows-gp-tool-slow-performance-in-arcgis-10/m-p/333621#M11694</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2017-12-03T06:41:30Z</dc:date>
    </item>
  </channel>
</rss>

