<?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 When should we avoid caching DataFrames in Databricks? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/when-should-we-avoid-caching-dataframes-in-databricks/m-p/177883#M57398</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Caching is generally recommended when we reuse a DataFrame multiple times. However, there seem to be situations where caching actually increases the execution time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do we identify whether a DataFrame is worth caching?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, what happens when the cached DataFrame is larger than the available executor memory? Is persist() with a different storage level a better option in such cases?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 28 Nov 2026 08:33:10 GMT</pubDate>
    <dc:creator>fatimak01</dc:creator>
    <dc:date>2026-11-28T08:33:10Z</dc:date>
    <item>
      <title>When should we avoid caching DataFrames in Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/when-should-we-avoid-caching-dataframes-in-databricks/m-p/177883#M57398</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Caching is generally recommended when we reuse a DataFrame multiple times. However, there seem to be situations where caching actually increases the execution time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do we identify whether a DataFrame is worth caching?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, what happens when the cached DataFrame is larger than the available executor memory? Is persist() with a different storage level a better option in such cases?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2026 08:33:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/when-should-we-avoid-caching-dataframes-in-databricks/m-p/177883#M57398</guid>
      <dc:creator>fatimak01</dc:creator>
      <dc:date>2026-11-28T08:33:10Z</dc:date>
    </item>
  </channel>
</rss>

