<?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: Slow Table Merge: Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/slow-table-merge-python/m-p/753927#M58165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Like you and others I have found the Merge tool performs poorly when merging thousands of datasets. I came across this problem a few years ago and gave up and wrote the following VBA code. &lt;SPAN style="text-align: left; color: #333333; text-transform: none; line-height: 18px; text-indent: 0px; letter-spacing: normal; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;This code was designed to run&amp;nbsp;in ArcCatalog and is hardwired to specific folders and file names, it is up to you to edit this macro to suit your needs. It works on the same principal as what &lt;A href="https://community.esri.com/migrated-users/3420" target="_blank"&gt;Joshua Bixby&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="text-align: left; color: #333333; text-transform: none; line-height: 18px; text-indent: 0px; letter-spacing: normal; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;&amp;nbsp;was suggesting in python. It turned what was taking all day to merge into a matter of minutes.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: left; color: #333333; text-transform: none; line-height: 18px; text-indent: 0px; letter-spacing: normal; font-family: helvetica,arial,sans-serif; font-size: 12px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you are familiar with VBA and have it installed and licensed (which is free) then you could adapt this script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Public Sub &lt;SPAN class="token function"&gt;LoadData&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 ' Description&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; This VBA macro will search a folder &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; all tables beginning with zs 
 ' and then check to see &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; they contain &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; row&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; they &lt;SPAN class="keyword token"&gt;do&lt;/SPAN&gt; then the row is copied into 
 ' the output Merged table&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
 '
 ' Usage&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; You need to create an output table with the same schema as the tables that 
 ' will be loaded into it&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; this is the pTable_Merged object&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; All files must be in the 
 ' same workspace&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; in this example this would be c&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;\temp\zs&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; The VBA macro was designed 
 ' to run within ArcCatalog&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
 '
 ' Created&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;24&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;9&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;
 ' Author&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; Duncan D Hornby &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ddh@geodata&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;soton&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ac&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;uk&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 
 ' Get a handle on workspace &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;folder&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 Dim pWorkspaceFactory As IWorkspaceFactory
 Set pWorkspaceFactory &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; New ShapefileWorkspaceFactory
 Dim pWorkspace As IWorkspace
 Set pWorkspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pWorkspaceFactory&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;OpenFromFile&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"c:\temp\zs"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 Dim pFeatureWorkspace As IFeatureWorkspace
 Set pFeatureWorkspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pWorkspace
 
 ' Open table to load data into&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; this must have the same schema
 ' as the tables that will be loaded into it&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; Note we drop the &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;dbf
 Dim pTable_Merged As ITable
 Set pTable_Merged &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pFeatureWorkspace&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;OpenTable&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"merged_sed04"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 
 ' Create an insert cursor
 Dim pCursor As ICursor
 Set pCursor &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pTable_Merged&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Insert&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;True&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 
 ' Get a list of tables in workspace
 Dim pEnumDataset As IEnumDataset
 Set pEnumDataset &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pWorkspace&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Datasets&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;esriDTTable&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 
 ' Declare some objects
 Dim pTable_Load As ITable
 Dim pRow_load As IRow
 Dim pRowBuffer As IRowBuffer
 Dim pFields As IFields
 Dim pDataset As IDataset
 Dim i As Byte
 Dim n As Long ' The number of tables processed
 Dim rej As Long ' The number of tables that are rejected
 Let n &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
 Let rej &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;
 
 ' Main processing loop
 Set pDataset &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pEnumDataset&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Next
 Do While Not pDataset Is Nothing
 ' If the table begins with zs then this is a table we will want to load
 If &lt;SPAN class="token function"&gt;Left&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pDataset&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Name&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"zs"&lt;/SPAN&gt; Then
 
 ' Report table name then get a handle on it
 Debug&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Print &lt;SPAN class="token function"&gt;CStr&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;n&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" : "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; pDataset&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Name
 Set pTable_Load &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pDataset
 
 ' Check &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; table has &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; row in it&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; it does not then reject
 If pTable_Load&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;RowCount&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Nothing&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; Then
 
 ' Get row and copy into a new row &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; merged table
 Set pRow_load &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pTable_Load&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetRow&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 Set pRowBuffer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pTable_Merged&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CreateRowBuffer
 Set pFields &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pRow_load&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Fields
 For i &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; To pFields&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FieldCount &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
 With pRowBuffer
 &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Value&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;i&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pRow_load&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Value&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;i&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 End With
 Next i
 pCursor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;InsertRow pRowBuffer
 Else
 ' Increment rejected
 Let rej &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; rej &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
 End If
 End If
 
 ' Get next table in folder
 Set pDataset &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pEnumDataset&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Next
 Let n &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; n &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
 Loop
 
 ' Clean up
 pCursor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Flush
 Debug&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Print &lt;SPAN class="string token"&gt;"Number of tables rejected: "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;CStr&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;rej&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
End Sub‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt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N&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="margin: 0px; padding: 0px; color: #000080; font-size: 11.37px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 07:59:42 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2021-12-12T07:59:42Z</dc:date>
    <item>
      <title>Slow Table Merge: Python</title>
      <link>https://community.esri.com/t5/python-questions/slow-table-merge-python/m-p/753924#M58162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm merging together 4416 tables all within a single geodatabase, each table has two records in it. I've run this simple python script twice now, once it made it to table 343 after 7 hours, the second time 791 after 16 hours. Both times the script averaged 49&amp;nbsp;merged tables per hour which means this script would take a total of 90 hrs to run. Is there any other tool i can run that would make this run faster?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;workspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"C:\\DeleteMe\\tomerge\\tables.gdb"&lt;/SPAN&gt;
tblList &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListTables&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Merge_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tblList&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Merged"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:59:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/slow-table-merge-python/m-p/753924#M58162</guid>
      <dc:creator>BenjaminMittler</dc:creator>
      <dc:date>2021-12-12T07:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Slow Table Merge: Python</title>
      <link>https://community.esri.com/t5/python-questions/slow-table-merge-python/m-p/753925#M58163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning&amp;nbsp;Benjamin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the tables all have the same schema? If not, are you doing any kind of field mapping for your merge? I am not 100% sure how the merge tool works when no field mapping info is supplied, but I am thinking it may be adding the fields of each input table into the output, which could be hurting your performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may wish to create your output table ahead of time, and then use iteration to append the input tables. Something along the lines of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy

arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;workspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"C:\\DeleteMe\\tomerge\\tables.gdb"&lt;/SPAN&gt;
target_table &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"C:\\DeleteMe\\output\\final.gdb\\target_table"&lt;/SPAN&gt;
tblList &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListTables&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; t &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; tblList&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Append_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;t&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; target_table&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"NO_TEST"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using the Append tool a couple weeks ago to append 60+ feature classes to one target. I think it took about ten minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Micah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:59:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/slow-table-merge-python/m-p/753925#M58163</guid>
      <dc:creator>MicahBabinski</dc:creator>
      <dc:date>2021-12-12T07:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Slow Table Merge: Python</title>
      <link>https://community.esri.com/t5/python-questions/slow-table-merge-python/m-p/753926#M58164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with &lt;A href="https://community.esri.com/migrated-users/36357"&gt;Micah Babinski&lt;/A&gt;‌, consider using the &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/append.htm"&gt;Append&lt;/A&gt; tool if all of the schemas are the same, and you just need to dump the records from all of the tables into one table.&amp;nbsp; Also, if the Append tool runs into problems, you could consider using the&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-data-access/what-is-the-data-access-module-.htm"&gt; ArcPy Data Access &lt;/A&gt;cursors to accomplish the task.&amp;nbsp; For example, create a new empty table and use an insert cursor on the new table and search cursors on all of the existing tables to insert the records from the existing tables into the new table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 15:59:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/slow-table-merge-python/m-p/753926#M58164</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-09-13T15:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Slow Table Merge: Python</title>
      <link>https://community.esri.com/t5/python-questions/slow-table-merge-python/m-p/753927#M58165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Like you and others I have found the Merge tool performs poorly when merging thousands of datasets. I came across this problem a few years ago and gave up and wrote the following VBA code. &lt;SPAN style="text-align: left; color: #333333; text-transform: none; line-height: 18px; text-indent: 0px; letter-spacing: normal; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;This code was designed to run&amp;nbsp;in ArcCatalog and is hardwired to specific folders and file names, it is up to you to edit this macro to suit your needs. It works on the same principal as what &lt;A href="https://community.esri.com/migrated-users/3420" target="_blank"&gt;Joshua Bixby&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="text-align: left; color: #333333; text-transform: none; line-height: 18px; text-indent: 0px; letter-spacing: normal; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;&amp;nbsp;was suggesting in python. It turned what was taking all day to merge into a matter of minutes.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: left; color: #333333; text-transform: none; line-height: 18px; text-indent: 0px; letter-spacing: normal; font-family: helvetica,arial,sans-serif; font-size: 12px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you are familiar with VBA and have it installed and licensed (which is free) then you could adapt this script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Public Sub &lt;SPAN class="token function"&gt;LoadData&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 ' Description&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; This VBA macro will search a folder &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; all tables beginning with zs 
 ' and then check to see &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; they contain &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; row&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; they &lt;SPAN class="keyword token"&gt;do&lt;/SPAN&gt; then the row is copied into 
 ' the output Merged table&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
 '
 ' Usage&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; You need to create an output table with the same schema as the tables that 
 ' will be loaded into it&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; this is the pTable_Merged object&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; All files must be in the 
 ' same workspace&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; in this example this would be c&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;\temp\zs&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; The VBA macro was designed 
 ' to run within ArcCatalog&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
 '
 ' Created&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;24&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;9&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;
 ' Author&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; Duncan D Hornby &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ddh@geodata&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;soton&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ac&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;uk&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 
 ' Get a handle on workspace &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;folder&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 Dim pWorkspaceFactory As IWorkspaceFactory
 Set pWorkspaceFactory &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; New ShapefileWorkspaceFactory
 Dim pWorkspace As IWorkspace
 Set pWorkspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pWorkspaceFactory&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;OpenFromFile&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"c:\temp\zs"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 Dim pFeatureWorkspace As IFeatureWorkspace
 Set pFeatureWorkspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pWorkspace
 
 ' Open table to load data into&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; this must have the same schema
 ' as the tables that will be loaded into it&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; Note we drop the &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;dbf
 Dim pTable_Merged As ITable
 Set pTable_Merged &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pFeatureWorkspace&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;OpenTable&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"merged_sed04"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 
 ' Create an insert cursor
 Dim pCursor As ICursor
 Set pCursor &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pTable_Merged&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Insert&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;True&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 
 ' Get a list of tables in workspace
 Dim pEnumDataset As IEnumDataset
 Set pEnumDataset &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pWorkspace&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Datasets&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;esriDTTable&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 
 ' Declare some objects
 Dim pTable_Load As ITable
 Dim pRow_load As IRow
 Dim pRowBuffer As IRowBuffer
 Dim pFields As IFields
 Dim pDataset As IDataset
 Dim i As Byte
 Dim n As Long ' The number of tables processed
 Dim rej As Long ' The number of tables that are rejected
 Let n &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
 Let rej &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;
 
 ' Main processing loop
 Set pDataset &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pEnumDataset&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Next
 Do While Not pDataset Is Nothing
 ' If the table begins with zs then this is a table we will want to load
 If &lt;SPAN class="token function"&gt;Left&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pDataset&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Name&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"zs"&lt;/SPAN&gt; Then
 
 ' Report table name then get a handle on it
 Debug&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Print &lt;SPAN class="token function"&gt;CStr&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;n&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" : "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; pDataset&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Name
 Set pTable_Load &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pDataset
 
 ' Check &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; table has &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; row in it&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; it does not then reject
 If pTable_Load&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;RowCount&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Nothing&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; Then
 
 ' Get row and copy into a new row &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; merged table
 Set pRow_load &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pTable_Load&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetRow&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 Set pRowBuffer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pTable_Merged&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CreateRowBuffer
 Set pFields &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pRow_load&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Fields
 For i &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; To pFields&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FieldCount &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
 With pRowBuffer
 &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Value&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;i&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pRow_load&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Value&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;i&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 End With
 Next i
 pCursor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;InsertRow pRowBuffer
 Else
 ' Increment rejected
 Let rej &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; rej &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
 End If
 End If
 
 ' Get next table in folder
 Set pDataset &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pEnumDataset&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Next
 Let n &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; n &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
 Loop
 
 ' Clean up
 pCursor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Flush
 Debug&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Print &lt;SPAN class="string token"&gt;"Number of tables rejected: "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;CStr&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;rej&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
End Sub‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt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&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="margin: 0px; padding: 0px; color: #000080; font-size: 11.37px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:59:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/slow-table-merge-python/m-p/753927#M58165</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2021-12-12T07:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Slow Table Merge: Python</title>
      <link>https://community.esri.com/t5/python-questions/slow-table-merge-python/m-p/753928#M58166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perfect, this saved me 89 hours of processing time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 17:00:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/slow-table-merge-python/m-p/753928#M58166</guid>
      <dc:creator>BenjaminMittler</dc:creator>
      <dc:date>2016-09-13T17:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Slow Table Merge: Python</title>
      <link>https://community.esri.com/t5/python-questions/slow-table-merge-python/m-p/753929#M58167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this would be faster:&lt;/P&gt;&lt;PRE class="language-python line-numbers" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Append_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;tblList&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; target_table&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"NO_TEST"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 18:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/slow-table-merge-python/m-p/753929#M58167</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2016-09-19T18:28:31Z</dc:date>
    </item>
  </channel>
</rss>

