<?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: Insert Cursor to Table In Memory in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348766#M27359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It depends...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some operations (such as AddField or CalculateField) can operate directly on the in_memory table. Other operations (such as Frequency or SummaryStatistics) create a new output table that, depending on your specifications, may be written to either the in_memory workspace or to disk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That said, reading input from in_memory and then writting the output to in_memory would of course be the fastest option you have. Only worry is if you have enough available RAM to complete the process(es)...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Nov 2013 21:41:02 GMT</pubDate>
    <dc:creator>ChrisSnyder</dc:creator>
    <dc:date>2013-11-04T21:41:02Z</dc:date>
    <item>
      <title>Insert Cursor to Table In Memory</title>
      <link>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348759#M27352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to take a large dataset and import (export or append) it into an "in memory" table where I can then run the calculations:&amp;nbsp; I need to import three fields ( SOS_VOTERID, FEAT_SEQ and YEAR_Of_BIRTH).&amp;nbsp; For my code below, I am just working with 2.&amp;nbsp; I believe I need to run a search cursor on my orig table, and then run an insert cursor to import the data into my new table.&amp;nbsp; I am running into an error that says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Runtime error&amp;nbsp; Traceback (most recent call last): &amp;nbsp; File "&amp;lt;string&amp;gt;", line 23, in &amp;lt;module&amp;gt; TypeError: sequence size must match size of the row &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy, collections&amp;nbsp; from arcpy import env env.workspace = r"C:\Users\cc1\Desktop\NEW.gdb\WAYNE" table = "WAYNE"&amp;nbsp; table2 = arcpy.CreateTable_management("in_memory", "WAYNE") arcpy.AddField_management(table2, "SOS_VOTERID","TEXT", field_length=25) arcpy.AddField_management(table2, "FEAT_SEQ","LONG")&amp;nbsp; newList = {row[0]: row[1] for row in arcpy.da.SearchCursor(table, ["SOS_VOTERID","FEAT_SEQ"])}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tbl = arcpy.ListTables("*")&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for table in tbl: &amp;nbsp;&amp;nbsp;&amp;nbsp; fieldList = arcpy.ListFields(table) &amp;nbsp;&amp;nbsp;&amp;nbsp; for field in fieldList: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newList.append([table,field.name])&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp; this populates the new list with table and field to directly insert to new table with arcpy.da.InsertCursor(table2, ['SOS_VOTERID', 'FEAT_SEQ']) as insert: &amp;nbsp;&amp;nbsp;&amp;nbsp; for f in newList:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert.insertRow(f) del insert &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone know where I am going wrong?&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Clinton&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 19:10:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348759#M27352</guid>
      <dc:creator>ClintonCooper1</dc:creator>
      <dc:date>2013-10-31T19:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Cursor to Table In Memory</title>
      <link>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348760#M27353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you would probably want some code that looked more like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/66434-A-better-way-to-run-large-Append-Merge-jobs?p=230850&amp;amp;viewfull=1#post230850"&gt;http://forums.arcgis.com/threads/66434-A-better-way-to-run-large-Append-Merge-jobs?p=230850&amp;amp;viewfull=1#post230850&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No need to store the data in a list or dictionary. Just read it via the search cursor and then write it directly to the in_memory table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nice dictionary comprehension BTW! Forgot that was supported now in v2.7... I learned something today.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 20:05:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348760#M27353</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2013-10-31T20:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Cursor to Table In Memory</title>
      <link>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348761#M27354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think you would probably want some code that looked more like this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/66434-A-better-way-to-run-large-Append-Merge-jobs?p=230850&amp;amp;viewfull=1#post230850"&gt;http://forums.arcgis.com/threads/66434-A-better-way-to-run-large-Append-Merge-jobs?p=230850&amp;amp;viewfull=1#post230850&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;No need to store the data in a list or dictionary. Just read it via the search cursor and then write it directly to the in_memory table.&lt;BR /&gt;&lt;BR /&gt;Nice dictionary comprehension BTW! Forgot that was supported now in v2.7... I learned something today.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I kind of understand where you are coming from, but not fully.&amp;nbsp; I am having issues as to where I put the line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CreateTable_management("in_memory", "WAYNE")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;at within the code.&amp;nbsp; Could you give a little bit more explanation of how to write this code?&amp;nbsp; Thanks!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 23:14:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348761#M27354</guid>
      <dc:creator>ClintonCooper1</dc:creator>
      <dc:date>2013-10-31T23:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Cursor to Table In Memory</title>
      <link>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348762#M27355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It'd look something like this I think - see how for each loop of the search cursor, the data (the searchRow tuple) gets fed dirtectly to the insertRow?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy inputTbl = r"C:\Users\cc1\Desktop\NEW.gdb\WAYNE" outputTbl = str(arcpy.CreateTable_management("in_memory", "WAYNE").getOutput(0)) arcpy.AddField_management(outputTbl, "SOS_VOTERID","TEXT", field_length=25) arcpy.AddField_management(outputTbl, "FEAT_SEQ","LONG") insertRows = arcpy.da.InsertCursor(outputTbl, ["SOS_VOTERID","FEAT_SEQ"]) searchRows = arcpy.da.SearchCursor(inputTbl, ["SOS_VOTERID","FEAT_SEQ"]) for searchRow in searchRows: &amp;nbsp;&amp;nbsp;&amp;nbsp; insertRows.insertRow(searchRow) del searchRow, searchRows, insertRows&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 23:40:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348762#M27355</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2013-10-31T23:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Cursor to Table In Memory</title>
      <link>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348763#M27356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It'd look something like this I think - see how for each loop of the search cursor, the data (the searchRow tuple) gets fed dirtectly to the insertRow?&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
inputTbl = r"C:\Users\cc1\Desktop\NEW.gdb\WAYNE"
outputTbl = str(arcpy.CreateTable_management("in_memory", "WAYNE").getOutput(0))
arcpy.AddField_management(outputTbl, "SOS_VOTERID","TEXT", field_length=25)
arcpy.AddField_management(outputTbl, "FEAT_SEQ","LONG")
insertRows = arcpy.da.InsertCursor(outputTbl, ["SOS_VOTERID","FEAT_SEQ"])
searchRows = arcpy.da.SearchCursor(inputTbl, ["SOS_VOTERID","FEAT_SEQ"])
for searchRow in searchRows:
&amp;nbsp;&amp;nbsp;&amp;nbsp; insertRows.insertRow(searchRow)
del searchRow, searchRows, insertRows&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much!&amp;nbsp; This worked great! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do have one more question.&amp;nbsp; To get the benefits from in memory performance, once I create a table in memory, will all the subsequent calculations/operations done on that table be in memory as well or do I need to continue to call the in memory operation?&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:24:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348763#M27356</guid>
      <dc:creator>ClintonCooper1</dc:creator>
      <dc:date>2021-12-11T16:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Cursor to Table In Memory</title>
      <link>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348764#M27357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
outputTbl = str(arcpy.CreateTable_management("in_memory", "WAYNE").getOutput(0))
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is a nice trick.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:24:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348764#M27357</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T16:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Cursor to Table In Memory</title>
      <link>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348765#M27358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I still have this one last question. To get the benefits from in memory performance, once I create a table in memory, will all the subsequent calculations/operations done on that table be in memory as well or do I need to continue to call the in memory operation? Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 21:03:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348765#M27358</guid>
      <dc:creator>ClintonCooper1</dc:creator>
      <dc:date>2013-11-04T21:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Cursor to Table In Memory</title>
      <link>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348766#M27359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It depends...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some operations (such as AddField or CalculateField) can operate directly on the in_memory table. Other operations (such as Frequency or SummaryStatistics) create a new output table that, depending on your specifications, may be written to either the in_memory workspace or to disk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That said, reading input from in_memory and then writting the output to in_memory would of course be the fastest option you have. Only worry is if you have enough available RAM to complete the process(es)...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 21:41:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348766#M27359</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2013-11-04T21:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Cursor to Table In Memory</title>
      <link>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348767#M27360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have plenty of memory, but I am not seeing any increase in performance &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp; My workflow consists of creating a new table in memory, adding the fields and indexes, appending the data in, and then performing about 7 field calculations using data cursors.&amp;nbsp; I have runt he process both in memory and regular, and they are both running at around 23 hours to complete.&amp;nbsp; I have seen that once your dataset gets a to a certain size, you lose your in memory performance gains.&amp;nbsp; I guess that I am seeing that with my data set.&amp;nbsp; Thanks for all your help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Clinton&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 00:10:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348767#M27360</guid>
      <dc:creator>ClintonCooper1</dc:creator>
      <dc:date>2013-11-05T00:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Cursor to Table In Memory</title>
      <link>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348768#M27361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have plenty of memory, but I am not seeing any increase in performance &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp; My workflow consists of creating a new table in memory, adding the fields and indexes, appending the data in, and then performing about 7 field calculations using data cursors.&amp;nbsp; I have runt he process both in memory and regular, and they are both running at around 23 hours to complete.&amp;nbsp; I have seen that once your dataset gets a to a certain size, you lose your in memory performance gains.&amp;nbsp; I guess that I am seeing that with my data set.&amp;nbsp; Thanks for all your help!&lt;BR /&gt;&lt;BR /&gt;Clinton&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This may or may not help (maybe just confuse the approach), but I wanted to mention that the in_memory is definitely a performance gainer as long as the RAM is available.&amp;nbsp; The other performance gain is achieved by performing the tabular operations on non-ESRI specific objects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, we heavily use Pandas Data Frame objects to join/merge tabular data as well as populate new fields with math/statistic operations.&amp;nbsp; We simply convert back and forth between esri and pandas objects using NumPyArrayTo..FeatureClass/Table and FeatureClass/Table..ToNumpyArray&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just something to think about as it may provide the performance you require.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 13:15:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348768#M27361</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2013-11-06T13:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Cursor to Table In Memory</title>
      <link>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348769#M27362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another option is to just use a dictionary... this way there is no dependency on 3rd party modules. Although I admit I need to check out pandas as it seems pretty cool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The dictionary option though is a built-in, simple, and powerful one, and can be made to be quite robust with not a lot of code. A very simple example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;valueDict = {r[0]:[r[1],r[2]] for r in arcpy.da.SearchCursor(myFC, ["OID@","ID","NAME"])}
#add/calc a new "field" that is float(OID - 1) * OID
for key in valueDict:
&amp;nbsp;&amp;nbsp; valueDict[key].append(float(key -1) * key)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the real power comes from building RDBMS-like table structures, and being able to run complex queries (especially recursive ones) crazy fast. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding calcing fields via Dictionaries or Numpy Arrays (pandas) will be orders of magnitude faster than any ESRI table/tool - even in the in_memory workspace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Clinton, how many records are you dealing with here... 23 hours seems a bit over the top.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348769#M27362</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2021-12-11T16:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Cursor to Table In Memory</title>
      <link>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348770#M27363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know this thread is older, but I figured I would chime in because I have been running into problems with using in_memory workspaces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When it comes to using the in_memory workspace in the interactive python window when background processing is enabled; well, all bets are off.&amp;nbsp; There are numerous tools that don't actually create GPInMemoryWorkspaces when using 'in_memory' with 'Background Processing' in the interactive Python window.&amp;nbsp; I primarily work in ArcGIS 10.1, but I have also noticed the same is true with 10.2.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If 'in_memory' doesn't mean in RAM, then performance could be much lower than expected.&amp;nbsp; If using 'Background Processing' with the interactive Python windows, it pays to double check whether your 'in_memory' objects are actually in memory and not in disk-based temporary file geodatabases.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 20:17:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insert-cursor-to-table-in-memory/m-p/348770#M27363</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2014-05-14T20:17:56Z</dc:date>
    </item>
  </channel>
</rss>

