<?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 Control caching settings for better performance in route event layers &amp;amp; query layers in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/control-caching-settings-for-better-performance-in/idi-p/1184997</link>
    <description>&lt;P&gt;For cases like the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A slow ST_GEOMETRY&amp;nbsp;&lt;U&gt;query layer&lt;/U&gt; that constructs geometries or does spatial operations.&lt;/LI&gt;&lt;LI&gt;A slow linear referencing &lt;U&gt;route event layer&lt;/U&gt;.&lt;/LI&gt;&lt;LI&gt;Or, a layer is slow due to a connection to an external database.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;Could some optional settings be added to a layer's properties to boost performance?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Control how often ArcGIS Pro re-queries the underlying data. For example, only re-query the db once every 5 minutes (and only if the map is actively being used). When the layer is used/refreshed in the map, ArcGIS would utilize the data that's cached in RAM, rather than re-querying the DB each time.&lt;/LI&gt;&lt;LI&gt;Similarly, could we use a setting to tell ArcGIS Pro to re-query ahead of time, so that the data is pre-queried for the next time we use/refresh the layer in the map?&amp;nbsp;&lt;SPAN&gt;Kind of like what Google Chrome does?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Or only re-query if the underlying data has changed. Similar to Oracle’s result cache mechanism:&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://community.esri.com/t5/arcgis-enterprise-questions/making-oracle-queries-faster-cache-query-results/td-p/1190397" target="_self"&gt;Making Oracle queries faster: Cache query results using an SQL hint&lt;/A&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;I wonder if that kind of thing might be useful for cases where a dynamic layer is slow or doesn't need to be real-time (to avoid unnecessary database hits).&lt;BR /&gt;It would be a lot more convenient to control that sort of thing in the application, instead of setting things up in the back-end via materialized views, triggers, scheduled tasks, etc.. And the user could toggle it on or off as needed, depending on the use case. Whereas if it's done in the back-end, the user doesn't have any control over how the data behaves in their map...in terms of currency, caching, etc..&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 14:01:43 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2023-03-27T14:01:43Z</dc:date>
    <item>
      <title>Control caching settings for better performance in route event layers &amp; query layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/control-caching-settings-for-better-performance-in/idi-p/1184997</link>
      <description>&lt;P&gt;For cases like the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A slow ST_GEOMETRY&amp;nbsp;&lt;U&gt;query layer&lt;/U&gt; that constructs geometries or does spatial operations.&lt;/LI&gt;&lt;LI&gt;A slow linear referencing &lt;U&gt;route event layer&lt;/U&gt;.&lt;/LI&gt;&lt;LI&gt;Or, a layer is slow due to a connection to an external database.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;Could some optional settings be added to a layer's properties to boost performance?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Control how often ArcGIS Pro re-queries the underlying data. For example, only re-query the db once every 5 minutes (and only if the map is actively being used). When the layer is used/refreshed in the map, ArcGIS would utilize the data that's cached in RAM, rather than re-querying the DB each time.&lt;/LI&gt;&lt;LI&gt;Similarly, could we use a setting to tell ArcGIS Pro to re-query ahead of time, so that the data is pre-queried for the next time we use/refresh the layer in the map?&amp;nbsp;&lt;SPAN&gt;Kind of like what Google Chrome does?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Or only re-query if the underlying data has changed. Similar to Oracle’s result cache mechanism:&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://community.esri.com/t5/arcgis-enterprise-questions/making-oracle-queries-faster-cache-query-results/td-p/1190397" target="_self"&gt;Making Oracle queries faster: Cache query results using an SQL hint&lt;/A&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;I wonder if that kind of thing might be useful for cases where a dynamic layer is slow or doesn't need to be real-time (to avoid unnecessary database hits).&lt;BR /&gt;It would be a lot more convenient to control that sort of thing in the application, instead of setting things up in the back-end via materialized views, triggers, scheduled tasks, etc.. And the user could toggle it on or off as needed, depending on the use case. Whereas if it's done in the back-end, the user doesn't have any control over how the data behaves in their map...in terms of currency, caching, etc..&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 14:01:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/control-caching-settings-for-better-performance-in/idi-p/1184997</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-03-27T14:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Control caching settings for better performance in route event layers &amp; query layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/control-caching-settings-for-better-performance-in/idc-p/1427503#M30035</link>
      <description>&lt;P&gt;Related:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/layer-caching-how-does-pro-know-when-the-data-was/td-p/1427429" target="_self"&gt;Layer Caching — How does Pro know when the data was last updated? (LRS)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/precomputed-real-time-linear-referencing-feature/idi-p/1398239/highlight/true" target="_self"&gt;Precomputed real-time linear referencing feature class (equivalent to route event layer)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/attribute-rules-ideas/sample-script-precomputed-real-time-linear/idi-p/1398245/highlight/true" target="_self"&gt;Idea:&amp;nbsp;Sample Script — Precomputed real-time linear referencing FC (equivalent to route event layer)&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 10 May 2024 04:54:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/control-caching-settings-for-better-performance-in/idc-p/1427503#M30035</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-05-10T04:54:25Z</dc:date>
    </item>
  </channel>
</rss>

