<?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: Large queries and server limits in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224532#M1129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;in rest 10.1 you have orderByFields ( &lt;/SPAN&gt;&lt;A href="http://servicesbeta2.esri.com/arcgis/sdk/rest/query.html"&gt;http://servicesbeta2.esri.com/arcgis/sdk/rest/query.html&lt;/A&gt;&lt;SPAN&gt; ) so you can order for your fields. I haven't tried but oids should be in order of result of query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2012 06:02:08 GMT</pubDate>
    <dc:creator>nicogis</dc:creator>
    <dc:date>2012-06-07T06:02:08Z</dc:date>
    <item>
      <title>Large queries and server limits</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224526#M1123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The GIS server can be configured to limited the number of returned results in a REST query call (max is apparently 2000 records). With this limitation in place, how do you query for all the records? Any ideas on what would be the best practice?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 17:08:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224526#M1123</guid>
      <dc:creator>MostafaAsadi</dc:creator>
      <dc:date>2012-06-01T17:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Large queries and server limits</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224527#M1124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;...ArcGIS Server map services limit the number of records that can be returned by a query to 1,000 by default. Keep this value or lower it for best performance with queries. You can change the number of allowable result records by editing the MaxRecordCount property in the map service configuration file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use caution if you raise the default value. Queries that return more than 2,000 records require the software to create scratch workspaces in your system TEMP directory to manage the result records. This can cause performance to degrade...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 17:36:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224527#M1124</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2012-06-01T17:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Large queries and server limits</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224528#M1125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That is actually my question: how do I query for *everything*? Obviously I need to call the REST service multiple times but how do I do incremental queries?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 20:21:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224528#M1125</guid>
      <dc:creator>MostafaAsadi</dc:creator>
      <dc:date>2012-06-01T20:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Large queries and server limits</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224529#M1126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can use returnIdsOnly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"...Note that while there is a limit on the number of features included in the feature set response, there is no limit on the number of object IDs returned in the ID array response. Clients can exploit this to get all the query conforming object IDs by specifying returnIdsOnly=true and subsequently requesting feature sets for subsets of object IDs. ..."&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 05:57:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224529#M1126</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2012-06-04T05:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Large queries and server limits</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224530#M1127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks! That can be very helpful! I'll look into it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 00:06:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224530#M1127</guid>
      <dc:creator>MostafaAsadi</dc:creator>
      <dc:date>2012-06-07T00:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Large queries and server limits</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224531#M1128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks! That can be very helpful! I'll look into it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A related question: how are the results sorted if I want to order by some field and the resultset is larger than 1000 records? Does the server *first* sorts all records, then returns me the first chunk of 1000 records? Or, does it first grab some 1000 records and *then* sorts them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 00:14:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224531#M1128</guid>
      <dc:creator>MostafaAsadi</dc:creator>
      <dc:date>2012-06-07T00:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Large queries and server limits</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224532#M1129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;in rest 10.1 you have orderByFields ( &lt;/SPAN&gt;&lt;A href="http://servicesbeta2.esri.com/arcgis/sdk/rest/query.html"&gt;http://servicesbeta2.esri.com/arcgis/sdk/rest/query.html&lt;/A&gt;&lt;SPAN&gt; ) so you can order for your fields. I haven't tried but oids should be in order of result of query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 06:02:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/large-queries-and-server-limits/m-p/224532#M1129</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2012-06-07T06:02:08Z</dc:date>
    </item>
  </channel>
</rss>

