<?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 Predictive Optimization is not running in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/predictive-optimization-is-not-running/m-p/115140#M45029</link>
    <description>&lt;P&gt;We have enabled predictive optimization at account level and metastore level. The enables check box can be seen in catalog details and table details. When i query the&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;system&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;storage&lt;/SPAN&gt;&lt;SPAN&gt;.predictive_optimization_operations_history &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;table, it is still empty. Its been more than 24 hours since i have enabled the predictive optimization and paused my scheduled optimization job.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Apr 2025 09:04:53 GMT</pubDate>
    <dc:creator>Sadam97</dc:creator>
    <dc:date>2025-04-10T09:04:53Z</dc:date>
    <item>
      <title>Predictive Optimization is not running</title>
      <link>https://community.databricks.com/t5/data-engineering/predictive-optimization-is-not-running/m-p/115140#M45029</link>
      <description>&lt;P&gt;We have enabled predictive optimization at account level and metastore level. The enables check box can be seen in catalog details and table details. When i query the&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;system&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;storage&lt;/SPAN&gt;&lt;SPAN&gt;.predictive_optimization_operations_history &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;table, it is still empty. Its been more than 24 hours since i have enabled the predictive optimization and paused my scheduled optimization job.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 09:04:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/predictive-optimization-is-not-running/m-p/115140#M45029</guid>
      <dc:creator>Sadam97</dc:creator>
      <dc:date>2025-04-10T09:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Predictive Optimization is not running</title>
      <link>https://community.databricks.com/t5/data-engineering/predictive-optimization-is-not-running/m-p/115168#M45037</link>
      <description>&lt;DIV class="paragraph"&gt;Based on the information available in the provided context, it seems that there are several considerations for ensuring data is populated in the &lt;CODE&gt;system.storage.predictive_optimization_operations_history&lt;/CODE&gt; table after enabling Predictive Optimization. Here are key points and troubleshooting suggestions:&lt;/DIV&gt;
&lt;OL start="1"&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;&lt;STRONG&gt;Enabling Predictive Optimization System Table&lt;/STRONG&gt;:
&lt;UL&gt;
&lt;LI&gt;To access the &lt;CODE&gt;system.storage.predictive_optimization_operations_history&lt;/CODE&gt; table, you must ensure that the storage schema is enabled for your system catalog. In cases where logs are not populated in the table, this could be an indicator that the storage schema has not been correctly enabled. Ensure you're following these steps:
&lt;UL&gt;
&lt;LI&gt;Use the API or CLI to enable the schema (e.g., with a &lt;CODE&gt;PUT&lt;/CODE&gt; request to the relevant API endpoint for enabling Unity Catalog system schemas).&lt;/LI&gt;
&lt;LI&gt;Validate this step was successful by attempting to query the table or listing accessible system tables in your catalog.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;&lt;STRONG&gt;Prerequisites and Regional Support&lt;/STRONG&gt;:
&lt;UL&gt;
&lt;LI&gt;Predictive Optimization depends on specific regional support and minimum requirements. Check whether your workspace and metastore fall under regions that support this feature. According to the provided documents, only Unity Catalog Managed Tables are currently supported, and the DBR (Databricks Runtime) should ideally be of version 12.2 or above. Ensure that these conditions are met.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;&lt;STRONG&gt;Context Around Data Population Delays&lt;/STRONG&gt;:
&lt;UL&gt;
&lt;LI&gt;The documentation notes that data in the &lt;CODE&gt;system.storage.predictive_optimization_operations_history&lt;/CODE&gt; table can take up to 24 hours to populate after starting operations. As you mentioned it’s been over 24 hours without logs showing up, it's worth verifying:
&lt;UL&gt;
&lt;LI&gt;Whether any operations (e.g., OPTIMIZE or VACUUM) were triggered by Predictive Optimization on eligible tables.&lt;/LI&gt;
&lt;LI&gt;Whether tables under the configured catalog or schema meet the eligibility criteria (for example, they should not be external tables and must belong to a catalog or schema for which Predictive Optimization is enabled).&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;&lt;STRONG&gt;Observability into Operations&lt;/STRONG&gt;:
&lt;UL&gt;
&lt;LI&gt;Predictive Optimization prioritizes tables with high return on investment, which means if a catalog or schema has no eligible or high-priority tables during the time window, operations may not yet have been run.&lt;/LI&gt;
&lt;LI&gt;To check for successful configurations and validate Predictive Optimization’s actions, you can run: &lt;CODE&gt;
DESCRIBE (CATALOG | SCHEMA | TABLE) EXTENDED name;
&lt;/CODE&gt; This should provide details, including whether Predictive Optimization is enabled for the catalog, schema, or table.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;&lt;STRONG&gt;Logs or System Issues&lt;/STRONG&gt;:
&lt;UL&gt;
&lt;LI&gt;Ensure that there are no internal system issues by confirming the Predictive Optimization service is active and properly configured. If no operations are logged after verifying all prerequisites and configuration, this could indicate an issue that requires escalation to Databricks support.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;&lt;STRONG&gt;Additional Debugging with Example Queries&lt;/STRONG&gt;:
&lt;UL&gt;
&lt;LI&gt;Once the &lt;CODE&gt;system.storage.predictive_optimization_operations_history&lt;/CODE&gt; table starts populating data, you can execute queries to analyze operations. For example:
&lt;UL&gt;
&lt;LI&gt;Total operations performed in a given time: &lt;CODE&gt;sql
SELECT COUNT(DISTINCT operation_id) 
FROM system.storage.predictive_optimization_operations_history;
&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Verify operations performed by table and type: &lt;CODE&gt;sql
SELECT 
    metastore_name, 
    catalog_name, 
    schema_name, 
    table_name, 
    operation_type, 
    operation_status 
FROM system.storage.predictive_optimization_operations_history;
&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;DIV class="paragraph"&gt;To summarize, validate the above prerequisites (e.g., storage schema is enabled, the feature is properly configured on eligible tables, and operations have had time to execute). If all these checks pass and the table remains empty beyond the 24-hour wait period, consider reaching out to Databricks technical support for further assistance.&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;Hope this help.&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;Louis&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Apr 2025 14:27:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/predictive-optimization-is-not-running/m-p/115168#M45037</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2025-04-10T14:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Predictive Optimization is not running</title>
      <link>https://community.databricks.com/t5/data-engineering/predictive-optimization-is-not-running/m-p/115244#M45051</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/34815"&gt;@Louis_Frolio&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply, I have attached the response of your point 1 &amp;amp; 3. Here is my workspace id:&amp;nbsp;3976272202403488. If you cloud the availability on my workspace, i got the email from databricks stating that predictive optimization is now available in my region.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sadam97_0-1744356388251.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/15925i4EDB4A804483B207/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sadam97_0-1744356388251.png" alt="Sadam97_0-1744356388251.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sadam97_1-1744356584428.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/15926i63FDAC3E497BD0D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sadam97_1-1744356584428.png" alt="Sadam97_1-1744356584428.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 07:34:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/predictive-optimization-is-not-running/m-p/115244#M45051</guid>
      <dc:creator>Sadam97</dc:creator>
      <dc:date>2025-04-11T07:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Predictive Optimization is not running</title>
      <link>https://community.databricks.com/t5/data-engineering/predictive-optimization-is-not-running/m-p/115280#M45058</link>
      <description>&lt;P&gt;I can't help with your specifc workspace as I don't have access to any customer environment. Support can help if you open a ticket with them but at this point I am out suggestions.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 12:36:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/predictive-optimization-is-not-running/m-p/115280#M45058</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2025-04-11T12:36:32Z</dc:date>
    </item>
  </channel>
</rss>

