<?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>idea Spatial Defragmentation GP tool to optimize data for spatial queries in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/spatial-defragmentation-gp-tool-to-optimize-data/idi-p/1366475</link>
    <description>&lt;P&gt;Spatial queries are notoriously slow:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-enterprise-questions/why-are-spatial-sql-queries-so-much-slower-than/m-p/1274156" target="_self"&gt;Why are spatial SQL queries so much slower than Select By Location?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It sounds like it's possible to optimize the row order of features in a FC to improve spatial query performance:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;From&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1060"&gt;@VinceAngelo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[When exporting a feature class, you can develop a workflow to] query in spatial index order, which would optimize created feature order, which should result in improved performance with every query. And if you're going to do that, then you should also optimize your coordinate reference to reduce storage and &lt;STRONG&gt;improve query performance.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263688/highlight/true#M15082" target="_blank" rel="nofollow noopener"&gt;https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263688/highlight/true#M15082&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Most of us are unfamiliar with such techniques and how to implement them. Could an OOTB tool be added to ArcGIS Pro that would optimize row order in a feature class for improved spatial query performance?&lt;/P&gt;&lt;P&gt;Related SDO_GEOMETRY post:&amp;nbsp;&lt;A href="https://forums.oracle.com/ords/apexds/post/optimize-row-order-for-improved-query-spatial-index-perform-6689" target="_self"&gt;Optimize row order for improved query/spatial index performance&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 09:52:33 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2024-01-18T09:52:33Z</dc:date>
    <item>
      <title>Spatial Defragmentation GP tool to optimize data for spatial queries</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/spatial-defragmentation-gp-tool-to-optimize-data/idi-p/1366475</link>
      <description>&lt;P&gt;Spatial queries are notoriously slow:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-enterprise-questions/why-are-spatial-sql-queries-so-much-slower-than/m-p/1274156" target="_self"&gt;Why are spatial SQL queries so much slower than Select By Location?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It sounds like it's possible to optimize the row order of features in a FC to improve spatial query performance:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;From&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1060"&gt;@VinceAngelo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[When exporting a feature class, you can develop a workflow to] query in spatial index order, which would optimize created feature order, which should result in improved performance with every query. And if you're going to do that, then you should also optimize your coordinate reference to reduce storage and &lt;STRONG&gt;improve query performance.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263688/highlight/true#M15082" target="_blank" rel="nofollow noopener"&gt;https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263688/highlight/true#M15082&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Most of us are unfamiliar with such techniques and how to implement them. Could an OOTB tool be added to ArcGIS Pro that would optimize row order in a feature class for improved spatial query performance?&lt;/P&gt;&lt;P&gt;Related SDO_GEOMETRY post:&amp;nbsp;&lt;A href="https://forums.oracle.com/ords/apexds/post/optimize-row-order-for-improved-query-spatial-index-perform-6689" target="_self"&gt;Optimize row order for improved query/spatial index performance&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 09:52:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/spatial-defragmentation-gp-tool-to-optimize-data/idi-p/1366475</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-01-18T09:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Defragmentation GP tool to optimize data for spatial queries</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/spatial-defragmentation-gp-tool-to-optimize-data/idc-p/1371532#M28075</link>
      <description>&lt;P&gt;Possibly related: &lt;A href="https://community.esri.com/t5/geodatabase-questions/sort-gp-tool-intended-use-case-for-sorting-shape/td-p/1371525" target="_self"&gt;Sort GP tool — Intended use case for sorting SHAPE field?&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 09:51:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/spatial-defragmentation-gp-tool-to-optimize-data/idc-p/1371532#M28075</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-01-18T09:51:21Z</dc:date>
    </item>
  </channel>
</rss>

