<?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 Spatial views using Query Layer load/display slow in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sql-spatial-views-using-query-layer-load-display/m-p/321543#M18405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How does the query performance compare between the SQL prompt and through Query Layers?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE adds optimization based on layer metadata -- you might need to provide hints in your&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;view to achieve equivalent optimization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Mar 2012 01:32:01 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2012-03-03T01:32:01Z</dc:date>
    <item>
      <title>SQL Spatial views using Query Layer load/display slow</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-spatial-views-using-query-layer-load-display/m-p/321542#M18404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a number of SQL Spatial views each made up of approximately 10 tables (so relatively complex views) and each including a table with a SQL Geometry column. A view could return up to 300-400 thousand records. No SDE involved. We are using a Query Layer (QL) for each spatial view (Select * from the view) to display in ArcMap. Each spatial table has a primary key, spatial grids and uses an SRID of 0. Just to load a QL might take 10-15 seconds. To display with a 100k - 250k data view (maybe 100s of features) takes 10-20 seconds. We previous had these as SDE views (same underlying SQL views w/o the SQL spatial column) in Arc 10 and they loaded and displayed in 1-3 seconds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have ideas about why these are SO MUCH SLOWER without using SDE?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 21:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-spatial-views-using-query-layer-load-display/m-p/321542#M18404</guid>
      <dc:creator>MichaelCiscell</dc:creator>
      <dc:date>2012-03-02T21:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Spatial views using Query Layer load/display slow</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-spatial-views-using-query-layer-load-display/m-p/321543#M18405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How does the query performance compare between the SQL prompt and through Query Layers?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE adds optimization based on layer metadata -- you might need to provide hints in your&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;view to achieve equivalent optimization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2012 01:32:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-spatial-views-using-query-layer-load-display/m-p/321543#M18405</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-03-03T01:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Spatial views using Query Layer load/display slow</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-spatial-views-using-query-layer-load-display/m-p/321544#M18406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Time to display/retrieve Query Layer table is slow or will not display in ArcMAP. A SQL Server spatial geometry(point) Query Layer has been created from SSMS 2008. The layer displays without issue in ArcMAP and a user can Identify or use the HTML popup to retrieve attribute information without issue. However when the user opens the table ArcMAP slows down and the request is not completed in a timely fashion if at all. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Table is in excess of millions of records &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Table and query performance in SSMS is quick.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Platform:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Client&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Desktop 10 SP5&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SSMS 2008 R2 SP1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows 64 Bit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 16:26:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-spatial-views-using-query-layer-load-display/m-p/321544#M18406</guid>
      <dc:creator>FrankPotempa</dc:creator>
      <dc:date>2012-09-14T16:26:14Z</dc:date>
    </item>
  </channel>
</rss>

