How to speed up the export of attachments using arcpy.da.SearchCursor?

272
0
11-27-2018 06:04 PM
XiangNingJiao1
New Contributor II

I have a feature layer in SDE with 41 points and 181 pictures and each picture is about 3-5 MB. When I use the arcpy.da.SearchCursor to export attachments to local folder, I found the first loop time is too long, for example, for my data, the time is about 90s, but the next loops is about 0.5s.

So, my question is why the first loop takes a lot of time ? And is there a good way to solve it ?

Thanks a lot.

0 Kudos
0 Replies