<?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 SQL Server 2008 Poor Performance - Spatial Index Not Being Used in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-2008-poor-performance-spatial-index-not/m-p/719487#M27434</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am investigating an SQL Server 2008 performance issue with ArcGIS and 'Enterprise geodatabases'.&amp;nbsp; I create an enterprise geodatabase, create an sdebinary feature class for the linears, then import the features into it.&amp;nbsp; There are roughly 600k linear roads in this particular feature class.&amp;nbsp; After all the features are imported, I am migrating the storage engine to GEOMETRY.&amp;nbsp; When I add the features to ArcMap, I observe a full refresh taking roughly 25 seconds.&amp;nbsp; Within management studio, if I profile the particular statement that is being prepared and executed, I see that it is taking 70% of its time in a Filter and 25 seconds also within management studio.&amp;nbsp;&amp;nbsp; It's an incredibly simple query, something similar to this ' select shape from roads where filter() = 1'.&amp;nbsp; I went ahead and added a hint to the query for the spatial index and the time to obtain the query results for the same statements was 8 seconds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All fingers point to the spatial index not being utilized by the query planner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both of these have led me no-where:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/36617"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/36617&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/es/knowledgebase/techarticles/detail/38871"&gt;http://support.esri.com/es/knowledgebase/techarticles/detail/38871&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(we are using 10.52.4266 which is &amp;gt; all the versions mentioned here)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am still investigating the issue, any advice or suggestions are appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jun 2013 11:59:27 GMT</pubDate>
    <dc:creator>JosephArmbruster</dc:creator>
    <dc:date>2013-06-27T11:59:27Z</dc:date>
    <item>
      <title>SQL Server 2008 Poor Performance - Spatial Index Not Being Used</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-2008-poor-performance-spatial-index-not/m-p/719487#M27434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am investigating an SQL Server 2008 performance issue with ArcGIS and 'Enterprise geodatabases'.&amp;nbsp; I create an enterprise geodatabase, create an sdebinary feature class for the linears, then import the features into it.&amp;nbsp; There are roughly 600k linear roads in this particular feature class.&amp;nbsp; After all the features are imported, I am migrating the storage engine to GEOMETRY.&amp;nbsp; When I add the features to ArcMap, I observe a full refresh taking roughly 25 seconds.&amp;nbsp; Within management studio, if I profile the particular statement that is being prepared and executed, I see that it is taking 70% of its time in a Filter and 25 seconds also within management studio.&amp;nbsp;&amp;nbsp; It's an incredibly simple query, something similar to this ' select shape from roads where filter() = 1'.&amp;nbsp; I went ahead and added a hint to the query for the spatial index and the time to obtain the query results for the same statements was 8 seconds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All fingers point to the spatial index not being utilized by the query planner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both of these have led me no-where:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/36617"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/36617&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/es/knowledgebase/techarticles/detail/38871"&gt;http://support.esri.com/es/knowledgebase/techarticles/detail/38871&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(we are using 10.52.4266 which is &amp;gt; all the versions mentioned here)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am still investigating the issue, any advice or suggestions are appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 11:59:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sql-server-2008-poor-performance-spatial-index-not/m-p/719487#M27434</guid>
      <dc:creator>JosephArmbruster</dc:creator>
      <dc:date>2013-06-27T11:59:27Z</dc:date>
    </item>
  </channel>
</rss>

