I have an enterprise Geodatabase (SQL Server) on my ArcGIS server machine. I perform my computations on several rasters on another machine (80 *.tif s with mean size of 50kb). When I want to add the result rasters to a mosaic dataset on my ArcGIS server machine using python, it performs very slowly and I have to wait for about 20 minutes.
for filename in glob.iglob('*.tif'): raster_name = 'Rater-' + raster_num +'.tif' arcpy.AddRastersToMosaicDataset_management('D:/example.sde/SampleMosaicDataset', "raster dataset", 'D:/GRIDS/' + filename)
How can I do this task with more speed?