<?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: SQL Server not using spatial indexes for ArcGISDynamicMapServiceLayer requests in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sql-server-not-using-spatial-indexes-for/m-p/64709#M5664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might find some answers if you post it in the right forum. This forum is for JavaScript API queries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2016 14:32:42 GMT</pubDate>
    <dc:creator>thejuskambi</dc:creator>
    <dc:date>2016-05-20T14:32:42Z</dc:date>
    <item>
      <title>SQL Server not using spatial indexes for ArcGISDynamicMapServiceLayer requests</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sql-server-not-using-spatial-indexes-for/m-p/64708#M5663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have a Windows Server 2012 R2 running SQL Server 2012 R2 and ESRI Server 10.3.&amp;nbsp; The server has 16 dual-core Xeon processors and 96 GB of RAM.&amp;nbsp; I have a web application that is using ArcGISDynamicMapServiceLayers to display state-wide lines and points, including labels for both lines and points.&amp;nbsp; We restrict the display of the lines/points until the user is zoomed to an appropriate level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue that we are seeing is every time the web application requests data, the SQL Server CPU load goes to 100%.&amp;nbsp; When one user is using the application performance is not bad, but when several folks start using it performance degrades quickly.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In analyzing the queries that are being used, it doesn't appear that SQL Server is using the spatial indexes at all.&amp;nbsp; I've tried several things, including setting MAXDOP to 1, but nothing seems to work and SQL Server takes the CPU to 100% every time the application requests data.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experienced this issue and been able to find a resolution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 14:17:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sql-server-not-using-spatial-indexes-for/m-p/64708#M5663</guid>
      <dc:creator>SteveBurdette</dc:creator>
      <dc:date>2016-05-20T14:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server not using spatial indexes for ArcGISDynamicMapServiceLayer requests</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sql-server-not-using-spatial-indexes-for/m-p/64709#M5664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might find some answers if you post it in the right forum. This forum is for JavaScript API queries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 14:32:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sql-server-not-using-spatial-indexes-for/m-p/64709#M5664</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2016-05-20T14:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server not using spatial indexes for ArcGISDynamicMapServiceLayer requests</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sql-server-not-using-spatial-indexes-for/m-p/64710#M5665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I posted in both the Javascript API and ArcGIS Server forums.&amp;nbsp; I figured there were some developers that had run across this issue as well and might have some input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 17:39:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sql-server-not-using-spatial-indexes-for/m-p/64710#M5665</guid>
      <dc:creator>SteveBurdette</dc:creator>
      <dc:date>2016-05-20T17:39:35Z</dc:date>
    </item>
  </channel>
</rss>

