<?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: Filter by attributes takes so long on File Geodatabase in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1555051#M45457</link>
    <description>&lt;P&gt;Any latency between you and the file geodatabase, such as the latency of accessing a network share or through a VPN, will adversely impact performance.&lt;/P&gt;
&lt;P&gt;If you were to put that file geodatabase locally, or if the data were stored in a mobile geodatabase, the operation would be much faster.&lt;/P&gt;
&lt;P&gt;A file geodatabase represents data using a file structure, which means that any time the data is accessed your client must interrogate a number of different files. This can result in hundreds and thousands of requests for even a simple operation like panning a map. &lt;STRONG&gt;The latency of your connection to that file geodatabase is added to every request, even a 100ms latency can add minutes or hours of processing time to a simple operation.&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2024 14:15:57 GMT</pubDate>
    <dc:creator>RobertKrisher</dc:creator>
    <dc:date>2024-11-04T14:15:57Z</dc:date>
    <item>
      <title>Filter by attributes takes so long on File Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1554989#M45455</link>
      <description>&lt;P&gt;I have File Geodatabase on a shared folder somewhere on the server. It contains 200 million rows with attachment pictures. The size is 133 Gb.&lt;/P&gt;&lt;P&gt;I want to do a simple thing like "select by attributes" using OR.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why does it take so long ? it has been nearly half an hour and still processing on 4% progress mark (the progress mark does not increase as well)..&lt;/P&gt;&lt;P&gt;Here is the attached pic:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yockee_1-1730688557683.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118728i2FE5DCCC332F77DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yockee_1-1730688557683.png" alt="yockee_1-1730688557683.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 02:56:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1554989#M45455</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2024-11-04T02:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by attributes takes so long on File Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1554990#M45456</link>
      <description>&lt;P&gt;It is the file size and its location.&amp;nbsp; Even if the data were stored locally, I suspect that it woud take an inordinate amount of time as well&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 03:05:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1554990#M45456</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-11-04T03:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by attributes takes so long on File Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1555051#M45457</link>
      <description>&lt;P&gt;Any latency between you and the file geodatabase, such as the latency of accessing a network share or through a VPN, will adversely impact performance.&lt;/P&gt;
&lt;P&gt;If you were to put that file geodatabase locally, or if the data were stored in a mobile geodatabase, the operation would be much faster.&lt;/P&gt;
&lt;P&gt;A file geodatabase represents data using a file structure, which means that any time the data is accessed your client must interrogate a number of different files. This can result in hundreds and thousands of requests for even a simple operation like panning a map. &lt;STRONG&gt;The latency of your connection to that file geodatabase is added to every request, even a 100ms latency can add minutes or hours of processing time to a simple operation.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 14:15:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1555051#M45457</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2024-11-04T14:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by attributes takes so long on File Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1555443#M45458</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;There are a bunch of things here:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;200m rows is an order of magnitude higher than I would feel comfortable using for file geodatabase (yeah, it functions, but a real database would function much better).&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Shared folders are performance death for file geodatabase, with a minimum 2x cost accessing a local network share&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Full-table-scan queries are performance poison relational databases with very large tables.&amp;nbsp; If it's important enough to do a query, it's important enough to build an index.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;You should not be using an OR when you could use an IN:&amp;nbsp;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;rel_objectid in (26,19804)&lt;/FONT&gt;&lt;BR /&gt;&lt;/STRONG&gt;Remember that FGDB doesn't have an RDBMS optimizer, so you should always pitch softballs for queries.&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;- V&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 16:19:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1555443#M45458</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2024-11-05T16:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by attributes takes so long on File Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1555681#M45462</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1060"&gt;@VinceAngelo&lt;/a&gt;&amp;nbsp;, sorry, my bad. I meant 200 thousand rows. Its pretty slow for records this little.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 01:52:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1555681#M45462</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2024-11-06T01:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by attributes takes so long on File Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1555839#M45463</link>
      <description>&lt;P&gt;Even 200k rows can be slow if they're wide enough.&amp;nbsp; You should certainly have an index on the query column, but first priority is to copy the FGDB directory to local disk.&lt;/P&gt;
&lt;P&gt;- V&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 15:18:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1555839#M45463</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2024-11-06T15:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by attributes takes so long on File Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1557389#M45470</link>
      <description>&lt;P&gt;Yup. Thats correct&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1060"&gt;@VinceAngelo&lt;/a&gt;&amp;nbsp; . I eventually copy the data into my laptop. It's much faster now. Shared folder does not work that fast.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 04:41:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/filter-by-attributes-takes-so-long-on-file/m-p/1557389#M45470</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2024-11-12T04:41:14Z</dc:date>
    </item>
  </channel>
</rss>

