<?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: Low performances using 'Batch Calculate Statistics' in 'ArcGIS Pro 3.2' in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/low-performances-using-batch-calculate-statistics/m-p/1416276#M82482</link>
    <description>&lt;P&gt;With such a big difference, and all other things equal, I would definitely recommend contacting ESRI support, they should be able to tell you if this is a known issue, and whether it is scheduled for a fix. It is not the first time ArcGIS suffers a performance regression and may need a fix.&lt;/P&gt;</description>
    <pubDate>Sun, 28 Apr 2024 09:21:48 GMT</pubDate>
    <dc:creator>MarcoBoeringa</dc:creator>
    <dc:date>2024-04-28T09:21:48Z</dc:date>
    <item>
      <title>Low performances using 'Batch Calculate Statistics' in 'ArcGIS Pro 3.2'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/low-performances-using-batch-calculate-statistics/m-p/1416232#M82478</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have just started to use '&lt;STRONG&gt;ArcGIS Pro 3.2.2'&lt;/STRONG&gt; (before I used '&lt;STRONG&gt;ArcGIS Pro 3.1&lt;/STRONG&gt;') and I'm working with the tool '&lt;STRONG&gt;Batch Calculate Statistics&lt;/STRONG&gt;':&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marcozanieri_0-1714210215951.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102382i8CE418D21683E5B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marcozanieri_0-1714210215951.png" alt="marcozanieri_0-1714210215951.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have used this tool with 4 geotif files:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marcozanieri_1-1714210351716.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102383i84E3EA64CB9D82F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marcozanieri_1-1714210351716.png" alt="marcozanieri_1-1714210351716.png" /&gt;&lt;/span&gt;3880&lt;/P&gt;&lt;P&gt;With the following settings:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marcozanieri_2-1714210443155.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102384i8696FA7BDC17680D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marcozanieri_2-1714210443155.png" alt="marcozanieri_2-1714210443155.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here below all the details and the time that the application needs to complete this task:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Batch Calculate Statistics&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;=====================&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Parameters&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Input Raster Datasets \\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_30_GRID.tif;\\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_31_GRID.tif;\\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_32_GRID.tif;\\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_33_GRID.tif&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;X Skip Factor 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Y Skip Factor 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Ignore values &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Skip Existing &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Batch Calculate Statistics Succeeded true&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;=====================&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Messages&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Start Time: sabato 27 aprile 2024 11:33:12&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Successfully calculated statistics : \\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_30_GRID.tif&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Successfully calculated statistics : \\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_31_GRID.tif&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Successfully calculated statistics : \\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_32_GRID.tif&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Successfully calculated statistics : \\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_33_GRID.tif&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Succeeded at sabato 27 aprile 2024 11:37:05 (&lt;STRONG&gt;Elapsed Time:&lt;/STRONG&gt; &lt;STRONG&gt;3 minutes 53 seconds&lt;/STRONG&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;------------------------&lt;/P&gt;&lt;P&gt;If I try to do the same using '&lt;STRONG&gt;ArcGIS Pro 3.1&lt;/STRONG&gt;' the performances are &lt;STRONG&gt;much much much BETTER:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Batch Calculate Statistics&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;=====================&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Parameters&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Input Raster Datasets \\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_30_GRID.tif;\\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_31_GRID.tif;\\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_32_GRID.tif;\\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_33_GRID.tif&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;X Skip Factor 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Y Skip Factor 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Ignore values &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Skip Existing &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Batch Calculate Statistics Succeeded true&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;=====================&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Messages&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Start Time: Saturday, 27 April, 2024 11:44:21&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Successfully calculated statistics : \\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_30_GRID.tif&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Successfully calculated statistics : \\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_31_GRID.tif&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Successfully calculated statistics : \\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_32_GRID.tif&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Successfully calculated statistics : \\gisdata.eni.pri\GISDATA\WORK_AREA\SYSTEM_TEST\_DatiTest\EnGISPro\XwareLoader\Loader_Dem\dsm_33_GRID.tif&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Succeeded at Saturday, 27 April, 2024 11:44:27 (&lt;STRONG&gt;Elapsed Time: 6.09 seconds&lt;/STRONG&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;SO THIS IS THE RESULT:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;Software&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;Geoprocessing tool&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;Elapsed Time&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;ArcGIS Pro 3.2.2&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Batch Calculate Statistics&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;3 minutes 53 seconds&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;ArcGIS Pro 3.1&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Batch Calculate Statistics&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;6.09 seconds&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;STRONG&gt;THE TIME IN&amp;nbsp;ArcGIS Pro 3.2.2 IS ABOUT THE 3880% IN MORE THAN IN&amp;nbsp;ArcGIS Pro 3.1&lt;/STRONG&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;This is a big issue for us, do you know if ESRI is working to improve these performances like&amp;nbsp;ArcGIS Pro 3.1 ?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your support!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marco Zanieri&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2024 09:58:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/low-performances-using-batch-calculate-statistics/m-p/1416232#M82478</guid>
      <dc:creator>marcozanieri</dc:creator>
      <dc:date>2024-04-27T09:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Low performances using 'Batch Calculate Statistics' in 'ArcGIS Pro 3.2'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/low-performances-using-batch-calculate-statistics/m-p/1416276#M82482</link>
      <description>&lt;P&gt;With such a big difference, and all other things equal, I would definitely recommend contacting ESRI support, they should be able to tell you if this is a known issue, and whether it is scheduled for a fix. It is not the first time ArcGIS suffers a performance regression and may need a fix.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2024 09:21:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/low-performances-using-batch-calculate-statistics/m-p/1416276#M82482</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2024-04-28T09:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Low performances using 'Batch Calculate Statistics' in 'ArcGIS Pro 3.2'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/low-performances-using-batch-calculate-statistics/m-p/1416533#M82503</link>
      <description>&lt;P&gt;I can't even get past 2 tif files without the either the tool freezing up or my python script just hanging after taking 3 - 5 minutes per file, no matter if I am using a local workspace or across the network.&amp;nbsp; Typically, I run something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import sys, os, arcpy, time, smtplib
from datetime import date, datetime, timedelta
from arcpy import env

# Local variables...
message = ""
current_time = time.asctime()
todaysDate = date.today()
priorYear = str(todaysDate - timedelta(days=547)) #547
starting_time = time.time()

arcpy.SetLogHistory(False)
env.configKeyword= "DEFAULTS"
env.overwriteOutput = True

try:
env.workspace = "D:\\Imagery"
#env.workspace = r"E:\\Tiles\\GeoTIFF\\Property"
# Had to go into directory and give account full control - see if works for loop, after 2 files locks up
#env.workspace = r"\\networkshare\\imagery\\2024\\GeoTIFFs"
rasters = arcpy.ListRasters("*", "TIF")
for raster in rasters:
print(raster)
arcpy.CalculateStatistics_management(raster, "1", "1", "", "SKIP_EXISTING", "")
print (raster + " stats calculated")
message = message + "\n\n" + raster + " stats calculated"

except Exception:
# If an error occurred, print line number and error message
import traceback, sys
tb = sys.exc_info()[2]
e = sys.exc_info()[1]
print(e.args[0])
print ("Line %i" % tb.tb_lineno)
message = message + "\n" + "Line %i" % tb.tb_lineno
message = message + "\n" + str(e)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And like I said, it won't get past 2 tif files before just hanging.&amp;nbsp; I should mention I have almost 900 of these - out entire county, 3 band tif images, 4" resolution.&amp;nbsp; I used the same script workflow above to BuildPyramids, that took about 8 hours.&amp;nbsp; Not great, but I can live with that.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2839"&gt;@KenBuja&lt;/a&gt;&amp;nbsp; - would you happen to have any ideas?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 14:53:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/low-performances-using-batch-calculate-statistics/m-p/1416533#M82503</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2024-04-29T14:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Low performances using 'Batch Calculate Statistics' in 'ArcGIS Pro 3.2'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/low-performances-using-batch-calculate-statistics/m-p/1416836#M82529</link>
      <description>&lt;P&gt;Link to Idea:&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/when-releasing-a-new-version-of-pro-benchmark-gp/idc-p/1411763#M29454" target="_blank" rel="noopener"&gt;when-releasing-a-new-version-of-pro-benchmark-gp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/604859"&gt;@SSWoodward&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 02:03:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/low-performances-using-batch-calculate-statistics/m-p/1416836#M82529</guid>
      <dc:creator>RTPL_AU</dc:creator>
      <dc:date>2024-04-30T02:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Low performances using 'Batch Calculate Statistics' in 'ArcGIS Pro 3.2'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/low-performances-using-batch-calculate-statistics/m-p/1417758#M82638</link>
      <description>&lt;P&gt;I moved over to Catalog and was able to batch calc raster statistics for 835 tif files in like 6 minutes.&amp;nbsp; Fortunately I still have an 10.8.2 install on a laptop...&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 20:13:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/low-performances-using-batch-calculate-statistics/m-p/1417758#M82638</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2024-05-01T20:13:02Z</dc:date>
    </item>
  </channel>
</rss>

