<?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 processing time when Querying objectIds in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/slow-processing-time-when-querying-objectids/m-p/569344#M53085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My experience with querying lots of objectIds is the same as yours...slow, if not fail or timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest solution is to increase the max records of the service if able.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AGS 10.3 has pagination which would be slightly less easy but still pretty easy. &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000r1000000" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000r1000000"&gt;ArcGIS REST API&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 May 2015 15:06:02 GMT</pubDate>
    <dc:creator>BenFousek</dc:creator>
    <dc:date>2015-05-29T15:06:02Z</dc:date>
    <item>
      <title>Slow processing time when Querying objectIds</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/slow-processing-time-when-querying-objectids/m-p/569343#M53084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys. I'm performing a query based on a set number of objectids but the processing time of the query takes really long to complete. It varies between 30seconds - 60seconds. I've tried two approaches, using objectIds in a where clause ("OBJECTID IN (1,2,3....)") and passing an array to the query.objectIds parameter. Can someone please help me understand as to why this takes so process and what can i do to improve this processing time@? The reason i need to search by objectIds is because i'm reading from a feature layer which has more than 1000 records, so i obviously need to perform queries on each batch and then use the results elsewhere. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 20:02:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/slow-processing-time-when-querying-objectids/m-p/569343#M53084</guid>
      <dc:creator>RyanSmith1</dc:creator>
      <dc:date>2015-05-28T20:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Slow processing time when Querying objectIds</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/slow-processing-time-when-querying-objectids/m-p/569344#M53085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My experience with querying lots of objectIds is the same as yours...slow, if not fail or timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest solution is to increase the max records of the service if able.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AGS 10.3 has pagination which would be slightly less easy but still pretty easy. &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000r1000000" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000r1000000"&gt;ArcGIS REST API&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 15:06:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/slow-processing-time-when-querying-objectids/m-p/569344#M53085</guid>
      <dc:creator>BenFousek</dc:creator>
      <dc:date>2015-05-29T15:06:02Z</dc:date>
    </item>
  </channel>
</rss>

