<?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 Queries are very slow on large tables in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182105#M343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The primary purpose of 1.1 was the .NET wrapper. We were able to fix a bug with domain assignment but the spatial index issue was not fixed in 1.1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2011 15:07:38 GMT</pubDate>
    <dc:creator>LanceShipman</dc:creator>
    <dc:date>2011-08-09T15:07:38Z</dc:date>
    <item>
      <title>Spatial Queries are very slow on large tables</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182100#M338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to use the api to perform spatial queries on a relatively large databases (e.g. census blocks in North Carolina - a little under 300,000 records)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the Table::Search() method with an envelope which covers only a handful of blocks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Search method call itself completes quickly but enumerating over the small number of features in the EnumRows object returned is very slow - sometimes a call to EnumRows::Next() takes several seconds to return.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the API not able to make proper use of the spatial index?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 17:30:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182100#M338</guid>
      <dc:creator>SimonOlsberg</dc:creator>
      <dc:date>2011-06-03T17:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Queries are very slow on large tables</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182101#M339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's a bug with the usage of the spatial index.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 17:20:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182101#M339</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2011-06-06T17:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Queries are very slow on large tables</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182102#M340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So it is something that will likely be fixed in the next update? It's a pretty vital issue for making this a usable technology for working with file geodatabases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 18:03:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182102#M340</guid>
      <dc:creator>SimonOlsberg</dc:creator>
      <dc:date>2011-06-06T18:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Queries are very slow on large tables</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182103#M341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's likely to be fixed in the next update.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 18:34:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182103#M341</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2011-06-06T18:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Queries are very slow on large tables</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182104#M342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just tried the new 1.1 API and unfortunately I don't see any improvement with this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Was it supposed to have been fixed? Are there any detailed release notes describing the changes and fixes in each release?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Simon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 15:05:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182104#M342</guid>
      <dc:creator>SimonOlsberg</dc:creator>
      <dc:date>2011-08-09T15:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Queries are very slow on large tables</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182105#M343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The primary purpose of 1.1 was the .NET wrapper. We were able to fix a bug with domain assignment but the spatial index issue was not fixed in 1.1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 15:07:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182105#M343</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2011-08-09T15:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Queries are very slow on large tables</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182106#M344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had hoped that the new 1.2 version of the API would fix this issue - the release notes certainly seem to suggest that the spatial index is now being used correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However I am still seeing a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I search on a large database within a small envelope, while the calls to enumRows-&amp;gt;Next() that successfully return a found row within my envelope return quickly, the final call to enumRows-&amp;gt;Next() which returns NULL indicating that there are no more rows with the envelope takes a very long time (i.e. upto 30 seconds in my example).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So something is still not right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Simon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 20:00:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182106#M344</guid>
      <dc:creator>SimonOlsberg</dc:creator>
      <dc:date>2012-03-23T20:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Queries are very slow on large tables</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182107#M345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tested spatial search with a moderately large dataset (30+ million polygon features) and was able to retrieve a few thousand features in under one second. No lag on the final NEXT. Can you send your code? How many attributes does your feature class included. Does it include any blobs. Was the feature class created with the API or through ArcGIS. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may want to drop your spatial index and re-create it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 14:01:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/spatial-queries-are-very-slow-on-large-tables/m-p/182107#M345</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2012-03-26T14:01:46Z</dc:date>
    </item>
  </channel>
</rss>

