<?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 Index for st_geometry layers in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/spatial-index-for-st-geometry-layers/m-p/667446#M37855</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 the answer. Most if it is understood but not all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I create an empty feature class. It has automatic index.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I add 1000 feature with envelope size of 100 meter. Do I need to recalc my grid size? How?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A week later I add 1000 more features that has envelope size of 10000 �?? what should I do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It does not make a big different with 2000 features but when you have 2000000 features and 50 people is working (display and spatial queries) on this layer it should make a different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Aug 2013 15:10:51 GMT</pubDate>
    <dc:creator>ModyBuchbinder</dc:creator>
    <dc:date>2013-08-01T15:10:51Z</dc:date>
    <item>
      <title>Spatial Index for st_geometry layers</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-index-for-st-geometry-layers/m-p/667444#M37853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In Version 10.1 you can no longer set the spatial grids sizes for st_geometry feature classes in Oracle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact you cannot even see what the sizes are.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You must use some other tools like command lines (that are not going to be supported in the coming versions) to deal with the grid sizes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a few questions on the subject.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Is the index still base on girds (up to 3 levels)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) How the initial size is set when you create an empty layer (by spatial reference?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Is it going to be changed automatically? If we enter the first 1000 line with a length of 1000 meters and then add 1000 other lines with length of 10000 �?? is the grid size going to be changed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Is there any way to check the sizes and should we do it? In 10.0 we found a few feature classes where the system recommendation was far from ideal!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Should we rebuild it? Does it change the sizes or just rewriting the index data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works just like File GDB but then we do not save big layers for many users in FGDB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mody&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 11:59:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-index-for-st-geometry-layers/m-p/667444#M37853</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2013-08-01T11:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Index for st_geometry layers</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-index-for-st-geometry-layers/m-p/667445#M37854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've moved on to 10.2 already, but I can still specify grid sizes when creating a feature class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;through the UI (it's now in Environment Settings -&amp;gt; Geodatabase Advanced), and I can still &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;specify a st_grids parameter in SQL in the CREATE INDEX command.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As to your questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) No change (but you shouldn't ever need three levels)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) No change (empty layer has a nominal index populated, just the SPIDX_AUTOMATIC setting [0,0,0])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) No change (you never want an application to change your index without explicitly requesting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; such a change, and feature length has no bearing on the proper spatial&amp;nbsp; index size, only data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;envelope size, and more importantly, query envelope size)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) I don't see any way to view the grid sizes, though I expect they're available through Python.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) No change (You can rebuild the spatial index from the UI or command-line tools, or through SQL)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've never left spatial index grid size to chance, but I've also never measured any significant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; performance difference +/- 200% of the values selected&amp;nbsp; -- By comparison, my testing indicates &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that feature class precision makes a *HUGE* difference in performance, so that's what you want&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to be sure to customize.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 14:00:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-index-for-st-geometry-layers/m-p/667445#M37854</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-08-01T14:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Index for st_geometry layers</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-index-for-st-geometry-layers/m-p/667446#M37855</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 the answer. Most if it is understood but not all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I create an empty feature class. It has automatic index.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I add 1000 feature with envelope size of 100 meter. Do I need to recalc my grid size? How?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A week later I add 1000 more features that has envelope size of 10000 �?? what should I do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It does not make a big different with 2000 features but when you have 2000000 features and 50 people is working (display and spatial queries) on this layer it should make a different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 15:10:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-index-for-st-geometry-layers/m-p/667446#M37855</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2013-08-01T15:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Index for st_geometry layers</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-index-for-st-geometry-layers/m-p/667447#M37856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The automatic calculation of grid sizes is based on the data.&amp;nbsp; A better method&amp;nbsp; is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; to calculate indexes based on both the feature envelopes and the mean query size &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(which can't be automated).&amp;nbsp; If your table and/or query characteristics change,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then rebuilding the indexes becomes necessary, though under 10k features,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it probably doesn't matter all that much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The more features you have, the more important getting the indexes right is, but&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; in my experience, getting the coordref right is the most significant tuning step. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; For large tables (over 1m features), spatial fragmentation is the second most&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; significant aspect of data tuning.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The number of users doesn't change the nature of the table, just the significance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of getting indexes correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 16:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-index-for-st-geometry-layers/m-p/667447#M37856</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-08-01T16:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Index for st_geometry layers</title>
      <link>https://community.esri.com/t5/data-management-questions/spatial-index-for-st-geometry-layers/m-p/667448#M37857</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;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry but we are getting even more confused.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You are writing "feature class precision makes a *HUGE* difference" and "getting the coordref right is the most significant"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't this parameter part of the default information per coordinate system and should not be changed by ESRI recommendation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you write "A better method is to calculate indexes based on both the feature envelopes and the mean query size" �?? even if we know what a better grid size is (even without si_stats) �?? how can we change the grid size to any specific values after the feature class already exists?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mody&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 06:54:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/spatial-index-for-st-geometry-layers/m-p/667448#M37857</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2013-08-05T06:54:57Z</dc:date>
    </item>
  </channel>
</rss>

