<?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: SDE and Domain Spatial Index (Sel - Undefined) in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sde-and-domain-spatial-index-sel-undefined/m-p/355783#M20415</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;Would somebody please post their explain plan for the following statement on a 10.1 SDE install running on an Oracle 11gR2 instance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm keen to know whether this domain index is the cause of our poor performane, or whether other users get the same output from an explain plan.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
SELECT OBJECTID
&amp;nbsp; FROM FEATURE_CLASS
 WHERE SDE.ST_EnvIntersects (SHAPE, -90, -90, 90, 90) = 1&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 16:39:41 GMT</pubDate>
    <dc:creator>SteveMcMaster</dc:creator>
    <dc:date>2021-12-11T16:39:41Z</dc:date>
    <item>
      <title>SDE and Domain Spatial Index (Sel - Undefined)</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-and-domain-spatial-index-sel-undefined/m-p/355782#M20414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a point feature class with approximately 800,000 features loaded into a 10.1 SDE environment (Oracle 11gR2).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have noticed very poor performance compared to the the 9.3 environment we initially used. On examining the explain plan being used when ArcMap is attempting to display these points, I noticed that the domain index seems to be using an undefined "selectivity", as per the attached screenshot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24315[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Reading online, ESRI seems to suggest that this situation should never eventuate (although it does not mention 10/10.1 for affected software). See: &lt;/SPAN&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/32594"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/32594&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that we have this same poor performance on multiple database servers, and dropping and rebuilding the index does not seem to resolve the issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anybody got any suggestions or noticed similar behaviour in their environment?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 06:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-and-domain-spatial-index-sel-undefined/m-p/355782#M20414</guid>
      <dc:creator>SteveMcMaster</dc:creator>
      <dc:date>2013-05-15T06:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: SDE and Domain Spatial Index (Sel - Undefined)</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-and-domain-spatial-index-sel-undefined/m-p/355783#M20415</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;Would somebody please post their explain plan for the following statement on a 10.1 SDE install running on an Oracle 11gR2 instance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm keen to know whether this domain index is the cause of our poor performane, or whether other users get the same output from an explain plan.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
SELECT OBJECTID
&amp;nbsp; FROM FEATURE_CLASS
 WHERE SDE.ST_EnvIntersects (SHAPE, -90, -90, 90, 90) = 1&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-and-domain-spatial-index-sel-undefined/m-p/355783#M20415</guid>
      <dc:creator>SteveMcMaster</dc:creator>
      <dc:date>2021-12-11T16:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: SDE and Domain Spatial Index (Sel - Undefined)</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-and-domain-spatial-index-sel-undefined/m-p/355784#M20416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That query is for half the globe.&amp;nbsp; ArcGIS won't use the spatial index unless&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; the search area is smaller than that.&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, 20 May 2013 09:46:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-and-domain-spatial-index-sel-undefined/m-p/355784#M20416</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-05-20T09:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: SDE and Domain Spatial Index (Sel - Undefined)</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-and-domain-spatial-index-sel-undefined/m-p/355785#M20417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Vince,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand the query is inefficient (I just arbitrarily picked some values) but when I run that query the explain plan shows that it is indeed using the index, and my question is still the same - I get "(sel: default - undefined)" for the selectivity and I'm trying to confirm whether this is a problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24527[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please confirm whether this is an issue, as described in the ESRI help page at: &lt;/SPAN&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/32594"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/32594&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 00:51:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-and-domain-spatial-index-sel-undefined/m-p/355785#M20417</guid>
      <dc:creator>SteveMcMaster</dc:creator>
      <dc:date>2013-05-21T00:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: SDE and Domain Spatial Index (Sel - Undefined)</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-and-domain-spatial-index-sel-undefined/m-p/355786#M20418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Quoting that document:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If (Sel: Default - Undefined) is reported this means the optimizer encountered an&lt;BR /&gt; error calculating selectivity or a NULL selectivity value was reported. One should &lt;BR /&gt;not encounter this value and should report the condition to ESRI Support Services.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&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, 21 May 2013 01:22:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-and-domain-spatial-index-sel-undefined/m-p/355786#M20418</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-05-21T01:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: SDE and Domain Spatial Index (Sel - Undefined)</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-and-domain-spatial-index-sel-undefined/m-p/355787#M20419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Vince,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw that note but the document doesn't specify 10.1 as an affected version so I wasn't sure if it is still relevant.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll contact ESRI and see what they say.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 02:15:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-and-domain-spatial-index-sel-undefined/m-p/355787#M20419</guid>
      <dc:creator>SteveMcMaster</dc:creator>
      <dc:date>2013-05-21T02:15:43Z</dc:date>
    </item>
  </channel>
</rss>

