<?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: Query Performance in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355085#M4181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have made some significant improvements to this for the next release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jan 2019 23:37:46 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2019-01-14T23:37:46Z</dc:date>
    <item>
      <title>Query Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355084#M4180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on some offline development and I'm hitting some pretty abysmal performance issues using the .net runtime API.&amp;nbsp; I have put together the following sample code to demonstrate the issue.&amp;nbsp; The following I have executed against a table with 67,000 records and my where clause is simply "1=1" to return the entire contents of the table.&amp;nbsp; Below are the performance numbers.&amp;nbsp; Is there something I'm missing here?&amp;nbsp; Obviously this sort of performance is unacceptable when querying large amounts of features in an offline database.&amp;nbsp; I'm using the 100.4.0 API currently with this test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct Sqlite Connection&lt;/P&gt;&lt;P&gt;11.04 Seconds to iterate over all of the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.net Runtime API&lt;/P&gt;&lt;P&gt;4 Minutes and 53 Seconds to iterate over all of the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Stopwatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; directSqlSW = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Stopwatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Stopwatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; runtimeAPISW = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Stopwatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;int&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; featuresFound = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;directSqlSW.Start();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: green;"&gt;//Find the features using direct Sqlite Connection&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;SQLiteConnection&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; directSqliteConnection = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;SQLiteConnection&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;.Format(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;"Data Source={0};Version=3;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;, ((&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;GeodatabaseFeatureTable&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;)SearchAgainstFeatureLayer.FeatureTable).Geodatabase.Path));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;directSqliteConnection.Open();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;SQLiteCommand&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; selectCommand = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;SQLiteCommand&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;.Format(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;"SELECT * FROM {0} WHERE {1}"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;, SearchAgainstFeatureLayer.FeatureTable.TableName, WhereClause), directSqliteConnection);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;SQLiteDataReader&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; reader = selectCommand.ExecuteReader();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;while&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; (reader.Read())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: green;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Read attributes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Dictionary&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;gt; attributes = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Dictionary&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;foreach&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; field &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; SearchAgainstFeatureLayer.FeatureTable.Fields)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;attributes.Add(field.Name, reader[field.Name]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;featuresFound++;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;reader.Close();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;directSqliteConnection.Close();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;directSqlSW.Stop();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&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; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;featuresFound = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;runtimeAPISW.Start();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: green;"&gt;//Find the features using .net runtime API&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;QueryParameters&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; queryParams = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;QueryParameters&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;queryParams.WhereClause = WhereClause;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;FeatureQueryResult&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; results = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;await&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; SearchAgainstFeatureLayer.FeatureTable.QueryFeaturesAsync(queryParams);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&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; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;foreach&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Feature&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; feature &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; results)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: green;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Read attributes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Dictionary&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;gt; attributes = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Dictionary&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;foreach&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; field &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; SearchAgainstFeatureLayer.FeatureTable.Fields)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;attributes.Add(field.Name, feature.GetAttributeValue(field.Name));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;featuresFound++;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;runtimeAPISW.Stop();&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 19:23:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355084#M4180</guid>
      <dc:creator>KrisFoster1</dc:creator>
      <dc:date>2018-12-20T19:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Query Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355085#M4181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have made some significant improvements to this for the next release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2019 23:37:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355085#M4181</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-01-14T23:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Query Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355086#M4182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morten,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fantastic news! Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Kris Foster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 16:30:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355086#M4182</guid>
      <dc:creator>KrisFoster1</dc:creator>
      <dc:date>2019-01-17T16:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Query Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355087#M4183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm curious to know if the&amp;nbsp;"&lt;SPAN style="background-color: #ffffff;"&gt;significant improvements"&lt;/SPAN&gt;&amp;nbsp;in v100.5 have helped at all with your query performance.&amp;nbsp; I'm experiencing similar issues when loading large non-spatial tables even with minimum columns and data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 19:31:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355087#M4183</guid>
      <dc:creator>TimSexton1</dc:creator>
      <dc:date>2019-04-22T19:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Query Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355088#M4184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at where the real bottle neck is? &amp;nbsp;Is it the query (i.e., the actual time to return the records) or the iteration. &amp;nbsp;One thing to consider is that the result set from the Runtime approach is returning Feature objects which I think are going to be more heavy weight than a Sqlite reader row.&lt;/P&gt;&lt;P&gt;Once you have the query result set from the portal query you can likely get anything you need through a LINQ so the iteration does not seem to show mush other than the time to loop over a table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[That said I have seen other performance issues myself in Runtime, but I don't see this test evaluating a query it evaluates the iteration]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 12:53:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355088#M4184</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2019-04-24T12:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Query Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355089#M4185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the comparison isn't completely fair, as the above example isn't parsing the geometry - which is one of the more expensive pieces to it.&lt;/P&gt;&lt;P&gt;Btw did you see this go a lot faster with Update 5?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2019 23:57:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355089#M4185</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-04-26T23:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Query Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355090#M4186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't had a chance to test out the performance yet as I've been working on other things.&amp;nbsp; The parsing of the geometry is no longer possible via direct sqlite queries (as far as I'm aware) since it was changed from a JSON string.&amp;nbsp; If there is a way to build the geometry like I could from the JSON string that used to be stored in there, please let me know &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; I wasn't able to figure it out with the way the shape is now stored in there when I put together this test.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Apr 2019 16:35:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355090#M4186</guid>
      <dc:creator>KrisFoster1</dc:creator>
      <dc:date>2019-04-28T16:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Query Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355091#M4187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With 100.5 I'm finding it 10x faster to query a .geodatabase table with System.Data.Sqlite.&lt;/P&gt;&lt;P&gt;Knowing the shape binary format would be greatly appreciated.&lt;/P&gt;&lt;P&gt;See also&amp;nbsp;&lt;A href="https://gis.stackexchange.com/questions/283670/esri-runtime-geodatabase-shape-storage"&gt;https://gis.stackexchange.com/questions/283670/esri-runtime-geodatabase-shape-storage&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2019 15:04:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355091#M4187</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-06-26T15:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Query Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355092#M4188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's A LOT better than 1100x faster it was before &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned you'll never be able to match Sqlite's direct read as you're skipping a bunch of important steps, and if you were to parse all binary geometry fields into valid geometry shapes, I'd expect you'd be down to comparable numbers anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2019 15:39:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355092#M4188</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-06-26T15:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Query Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355093#M4189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For my particular use case, I can hang onto the byte[] array, and lazy-load the Geometry only if the user clicks on a particular feature.&amp;nbsp; Most of my geometries are points, then I have some polylines with typically have less than 5 vertices.&amp;nbsp; So I'm guessing the read time should be tolerable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2019 15:54:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355093#M4189</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-06-26T15:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Query Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355094#M4190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone done this comparison with non-spatial tables to see what the difference is? It would be interesting to take the geometry completely out of the equation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 13:10:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/query-performance/m-p/355094#M4190</guid>
      <dc:creator>TimSexton1</dc:creator>
      <dc:date>2019-07-25T13:10:30Z</dc:date>
    </item>
  </channel>
</rss>

