<?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 Performance drop from databricks 12.2 to 14.3 LTS - solved with checkpoint(), looking for root cause in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/performance-drop-from-databricks-12-2-to-14-3-lts-solved-with/m-p/78867#M35624</link>
    <description>&lt;P&gt;On databricks 12.2, a piece of code which has an action takes a minute to run.&lt;/P&gt;&lt;P&gt;On databricks 14.3, the same code unchanged, same inputs, now takes 10 minutes.&lt;/P&gt;&lt;P&gt;Attempting to debug using explain() shows the plan is huge (150k plus rows of output)&lt;/P&gt;&lt;P&gt;Replacing cache() with checkpoint() to truncate the plan also solves the performance problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What was different about 12.2 vs 14.3 that highlighted this problem by slowing down? Shouldn't 14.3 be faster in all cases?&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2024 20:00:39 GMT</pubDate>
    <dc:creator>operryman</dc:creator>
    <dc:date>2024-07-15T20:00:39Z</dc:date>
    <item>
      <title>Performance drop from databricks 12.2 to 14.3 LTS - solved with checkpoint(), looking for root cause</title>
      <link>https://community.databricks.com/t5/data-engineering/performance-drop-from-databricks-12-2-to-14-3-lts-solved-with/m-p/78867#M35624</link>
      <description>&lt;P&gt;On databricks 12.2, a piece of code which has an action takes a minute to run.&lt;/P&gt;&lt;P&gt;On databricks 14.3, the same code unchanged, same inputs, now takes 10 minutes.&lt;/P&gt;&lt;P&gt;Attempting to debug using explain() shows the plan is huge (150k plus rows of output)&lt;/P&gt;&lt;P&gt;Replacing cache() with checkpoint() to truncate the plan also solves the performance problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What was different about 12.2 vs 14.3 that highlighted this problem by slowing down? Shouldn't 14.3 be faster in all cases?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 20:00:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/performance-drop-from-databricks-12-2-to-14-3-lts-solved-with/m-p/78867#M35624</guid>
      <dc:creator>operryman</dc:creator>
      <dc:date>2024-07-15T20:00:39Z</dc:date>
    </item>
  </channel>
</rss>

