<?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 GeodatabaseFeatureTable.UpdatedFeaturesCount takes 9 seconds in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/geodatabasefeaturetable-updatedfeaturescount-takes/m-p/564228#M6921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a replica geodatabase with a single layer. The layer is tax parcels, and it has 2.3 million records. The geodatabase file is about 2 GB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would like to display the number of added, deleted, and updated features to our users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am finding that obtaining the number of deleted and updated features counts is exceptionally slow. I used a Stopwatch to time how long these operations take. The times are as follows on the tax parcels layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Operation 'Added features count: ' took 7 ms.&lt;/P&gt;&lt;P&gt;Operation 'Deleted features count: ' took 5,952 ms.&lt;/P&gt;&lt;P&gt;Operation 'Updated features count: ' took 9,021 ms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that obtaining the added features count is pretty quick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With smaller layers, the performance is fine, and so the time taken seems to be O(N) with the number of records in the layer &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, FYI, since these are properties, the Visual Studio debugger loads the properties as soon as you inspect it, and of course it times out, and then the debugger becomes unhappy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2016 19:15:23 GMT</pubDate>
    <dc:creator>JeffSiemens</dc:creator>
    <dc:date>2016-01-28T19:15:23Z</dc:date>
    <item>
      <title>GeodatabaseFeatureTable.UpdatedFeaturesCount takes 9 seconds</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/geodatabasefeaturetable-updatedfeaturescount-takes/m-p/564228#M6921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a replica geodatabase with a single layer. The layer is tax parcels, and it has 2.3 million records. The geodatabase file is about 2 GB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would like to display the number of added, deleted, and updated features to our users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am finding that obtaining the number of deleted and updated features counts is exceptionally slow. I used a Stopwatch to time how long these operations take. The times are as follows on the tax parcels layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Operation 'Added features count: ' took 7 ms.&lt;/P&gt;&lt;P&gt;Operation 'Deleted features count: ' took 5,952 ms.&lt;/P&gt;&lt;P&gt;Operation 'Updated features count: ' took 9,021 ms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that obtaining the added features count is pretty quick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With smaller layers, the performance is fine, and so the time taken seems to be O(N) with the number of records in the layer &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, FYI, since these are properties, the Visual Studio debugger loads the properties as soon as you inspect it, and of course it times out, and then the debugger becomes unhappy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 19:15:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/geodatabasefeaturetable-updatedfeaturescount-takes/m-p/564228#M6921</guid>
      <dc:creator>JeffSiemens</dc:creator>
      <dc:date>2016-01-28T19:15:23Z</dc:date>
    </item>
  </channel>
</rss>

