<?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: Spatial View very slow in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599009#M33753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For those of you interested the following sde command creates a spatial view with good performance:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdetable -o create_view -T cadastre_test -t cadastre -c objectid,cadid,lotnumber,sectionnumber,plannumber,planlabel,shape -i sde:oracle11g:xxx -u xxx -p xxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is not as nice as 'sdelayer -o register' as that provides more flexibility with complex views, but it is an option.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2012 17:56:46 GMT</pubDate>
    <dc:creator>ScottSugden</dc:creator>
    <dc:date>2012-11-21T17:56:46Z</dc:date>
    <item>
      <title>Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/598994#M33738</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 style="color:#333333;"&gt;Environment: Windows Server 2008 R2 Standard, Oracle 11g, ArcGisServer 10.1 SP1&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Using an existing Feature class, CADASTRE, I created an Oracle view as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CREATE OR REPLACE FORCE VIEW "CADASTRE_TEST" (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"OBJECTID",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"CADID",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"LOTNUMBER",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"SECTIONNUMBER",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"PLANNUMBER",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"PLANLABEL",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"SHAPE")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; select /*+FIRST_ROWS*/ c.objectid, c.cadid, c.lotnumber, c.sectionnumber, c.plannumber, c.planlabel, c.shape&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; from CADASTRE c;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see this is about as basic as it gets. There is no join etc. The only thing it does it select a subset of columns. In theory this should be faster than selecting * on CADASTRE. I tried it with and without the /*+FIRST_ROWS*/ hint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I then described the feature class CADASTRE using sde as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o describe_long -l CADASTRE,SHAPE -i sde:oracle11g:xxx -u GIS -p xxx&amp;nbsp;&amp;nbsp; (xxx is dumy)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From that I worked out the shape data type, the SRID and the feature types. I then registered CADASTRE_TEST with sde as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o register -l CADASTRE_TEST,SHAPE -e nac+ -t ST_GEOMETRY -C OBJECTID,USER -R 7 -i sde:oracle11g:xxx -u GIS -p xxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The spatial view is then visible, selectable, identifiable etc in ArcMap/ArcCatalog. However, it is very slow. It is almost as if the spatial view is not using the spatial index from the feature class? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas? Thank you in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 21:19:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/598994#M33738</guid>
      <dc:creator>ScottSugden</dc:creator>
      <dc:date>2012-11-17T21:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/598995#M33739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What happens if you reference the shape column without the "c" alias prefix?&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, 17 Nov 2012 22:56:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/598995#M33739</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-11-17T22:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/598996#M33740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Vince,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for responding to this thread also. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no improvement to performance when I don't use an alias.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I forgot to mention that when using SQL Developer 'Select * From CADASTRE' is about the same speed as 'Select * From CADASTRE_TEST'.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Nov 2012 02:01:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/598996#M33740</guid>
      <dc:creator>ScottSugden</dc:creator>
      <dc:date>2012-11-18T02:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/598997#M33741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;An unbounded SELECT * doesn't really have anything to do with spatial query&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;performance.&amp;nbsp; You need to fashion a spatial query to test spatial search.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you can use Oracle to figure out the query plan.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't ever add hints, so I can't help but wonder if that's the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Nov 2012 21:58:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/598997#M33741</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-11-18T21:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/598998#M33742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have already tried it with and without the /*+FIRST_ROWS*/ hint - no change. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree with what you are saying about "An unbounded SELECT * doesn't really have anything to do with spatial query&amp;nbsp; performance.", but I suppose that is what I was trying to say. That the issue would appear to be either a spatial query performance problem (and not an attribute query problem) or Arc is having some sort of issue with the view? Oracle does not appear to be having any issue with the view?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Nov 2012 23:19:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/598998#M33742</guid>
      <dc:creator>ScottSugden</dc:creator>
      <dc:date>2012-11-18T23:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/598999#M33743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You don't know if Oracle has a problem with the view until you try a pair&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of spatial queries (on table and view) and look at the query plans.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 01:13:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/598999#M33743</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-11-19T01:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599000#M33744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;True. However, I cannot get any ST_ functions to work. I am getting 'ORA-28595: Extproc agent : Invalid DLL Path'. I have tried a number of suggestions from online but none of them seem to help. So unfortunately I cannot run a spatial query in Oracle.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 05:34:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599000#M33744</guid>
      <dc:creator>ScottSugden</dc:creator>
      <dc:date>2012-11-19T05:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599001#M33745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You'll need to fix the Listener/LIBRARY configuration issue first then.&amp;nbsp; Tech Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can help with both.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 10:13:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599001#M33745</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-11-19T10:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599002#M33746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, finally got ST_ functions working. Turns out I needed to change 'SET EXTPROC_DLLS=' to 'SET EXTPROC_DLLS=ANY' in the extproc.ora file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested the following query on both the CADASTRE table and the CADASTRE_TEST view:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Select *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From cadastre_test c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where sde.st_intersects(sde.st_geometry ('polygon ((333733 6404057, 345653 6404057, 345653 6394105, 333733 6394105, 333733 6404057))', 28356), c.Shape) = 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Returning the first 500 rows over a WAN the CADASTRE table took 4.1 seconds and the CADASTRE_TEST view took 3.7 seconds. This is what I would expect, that is the view is slightly faster. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this also shows that Oracle does not have a performance issue with a spatial query on the view. So does this suggest and issue with ArcGIS or perhaps the way the view has been registered in the geodatabase?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 05:21:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599002#M33746</guid>
      <dc:creator>ScottSugden</dc:creator>
      <dc:date>2012-11-20T05:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599003#M33747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ArcGIS does an ST_EnvIntersects query.&amp;nbsp; Since there is nothing special about&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that query, if the return results are slow, then there is an Oracle optimizer issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tech Support can help you diagnose the problem.&amp;nbsp; Make sure you evaluate the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;view without any hints.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 10:20:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599003#M33747</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-11-20T10:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599004#M33748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I recreated the view to make sure it was not using any hints. I then ran the following query on both CADASTRE and CADASTRE_TEST:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Select *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From cadastre_test c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where sde.st_envintersects (c.Shape, 143, -31.9, 144.5, -31.5) = 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Returning the first 500 rows over a WAN the CADASTRE table took 1.3 seconds and the CADASTRE_TEST view took 1.2 seconds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it would appear that there is no Oracle optimiser issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 17:16:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599004#M33748</guid>
      <dc:creator>ScottSugden</dc:creator>
      <dc:date>2012-11-20T17:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599005#M33749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, the plot thickens. It appears to be an issue with registering the spatial view. I have been registering the spatial view from an Oracle view as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o register -l CADASTRE_TEST,SHAPE -e nac+ -t ST_GEOMETRY -C OBJECTID,USER -R 7 -i sde:oracle11g:xxx -u xxx -p xxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use sdetable to create a view as follows the performance of the spatial view is just fine:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sdetable -o create_view -T cadastre_test1 -t cadastre -c objectid,cadid,lotnumber,sectionnumber,plannumber,planlabel,shape -i sde:oracle11g:xxx -u xxx -p xxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have looked through the various SDE tables and found the following differences:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Table COLUMN_REGISTRY (Column OBJECT_ID different)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CADASTRE_TEST1 SDE SHAPE 8 32772 17&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CADASTRE_TEST SDE SHAPE 8 32772 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Table LAYERS (Columns EFLAGS, GSIZE1, BASELAYERID different)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;17 SDE CADASTRE_TEST1 SHAPE 608436369 0 0.029 0 0 140.9995956528 -37.4407374802425 159.084596196734 -28.1570205549076 1353439530 DEFAULTS 1 6 7 0 0 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16 SDE CADASTRE_TEST SHAPE 1682178193 0 0 0 0 140.9995956528 -37.4407374802425 159.084596196734 -28.1570205549076 1353210279 DEFAULTS 1 6 0 0 0 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Table ST_GEOMETRY_COLUMNS (No entry for CADASTRE_TEST1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDE CADASTRE_TEST SHAPE ST_GEOMETRY&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Table TABLE_REGISTRY (Columns OBJECT_FLAGS, REGISTRATION_DATE (expected), MINIUM_ID different)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;22 CADASTRE_TEST1 SDE OBJECTID 131207 1353439389 DEFAULTS 1 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;21 CADASTRE_TEST SDE OBJECTID 16517 1353210142 DEFAULTS &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously the two methods of registration produce different results. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something wrong with my sdelayer -o register?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this by design?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a bug?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 18:04:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599005#M33749</guid>
      <dc:creator>ScottSugden</dc:creator>
      <dc:date>2012-11-20T18:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599006#M33750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;More info. I just did a sdelayer -o describe_long on both CADASTRE_TEST and CADASTRE_TEST1 and the only difference is in the Spatial Index.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For CADASTRE_TEST - Spatial Index: SPIDX_AUTOMATIC, exist: No, array form: 0,0,0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For CADASTRE_TEST1 - Spatial Index: SPIDX_GRID, GRID0=0.029, FULL, exist: Yes, array form: 0.029,0,0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some complex spatial views to create and would much prefer to use the 'sdelayer -o register' method. How can I use 'sdelayer -o register' and get the view to use the spatial index?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 18:17:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599006#M33750</guid>
      <dc:creator>ScottSugden</dc:creator>
      <dc:date>2012-11-20T18:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599007#M33751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please contact Tech Support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 18:19:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599007#M33751</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-11-20T18:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599008#M33752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Many thanks for you help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 20:34:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599008#M33752</guid>
      <dc:creator>ScottSugden</dc:creator>
      <dc:date>2012-11-20T20:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599009#M33753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For those of you interested the following sde command creates a spatial view with good performance:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdetable -o create_view -T cadastre_test -t cadastre -c objectid,cadid,lotnumber,sectionnumber,plannumber,planlabel,shape -i sde:oracle11g:xxx -u xxx -p xxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is not as nice as 'sdelayer -o register' as that provides more flexibility with complex views, but it is an option.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 17:56:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599009#M33753</guid>
      <dc:creator>ScottSugden</dc:creator>
      <dc:date>2012-11-21T17:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial View very slow</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599010#M33754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This goes against "best practice" guidelines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The 'sdetable -o create_view' command should only be used with SDEBINARY or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDELOB storage layers, where SQL views are not possible.&amp;nbsp; The preferred mechanism &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for ST_GEOMETRY or native geometry types is to generate the view with SQL and use&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'sdelayer -o register' (or the geodatabase toolbox equivalent).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't seen the issue you describe, but I'll try to reproduce it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 18:09:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-view-very-slow/m-p/599010#M33754</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-11-21T18:09:35Z</dc:date>
    </item>
  </channel>
</rss>

