Skip to content
ByDataFix
  • Home
  • Contact
  • Privacy Policy
  • Terms & Conditions
Subscribe
Subscribe
Apache Spark

Adaptive Query Execution in Spark: What AQE Does and How to Tune It

AQE re-plans your query while it runs, using real numbers instead of estimates. Here are its three optimisations, every setting that controls them, and the default that quietly ignores your tuning.

Read More
September 6, 2026
Databricks Troubleshooting

Fix Spark Executor OOM: java.lang.OutOfMemoryError Explained

Executor out of memory means one task was handed more data than its share of memory could hold. Here is how to tell it apart from driver OOM, what the two different errors mean, and the fixes in order.

Read More
September 6, 2026
Apache Spark

Broadcast Join vs Bucketing: Two Ways to Skip the Shuffle in Spark

A join shuffles both tables across the network. If one side is small you can broadcast it. If both are large, bucketing lets you do the shuffle once and never again.

Read More
August 30, 2026
Apache Spark

Spark Spill to Disk: Why It Happens and How to Fix It

Spill means Spark ran out of memory in the middle of a task and dumped its working data to disk. Your job does not fail — it just gets slower, with nothing in the logs to explain why.

Read More
August 22, 2026
Apache Spark

Spark Shuffle Explained: Why Wide Transformations Slow Your Job

A shuffle moves data across the network between executors. It is also the root cause of the three problems people spend most of their time debugging: skew, spill and out of memory errors.

Read More
August 13, 2026
Apache Spark

The Small Files Problem in Spark: How to Detect and Fix It

41,600 files holding 14.8 GB took 34 minutes just to scan. Here is what causes the small files problem, the exact numbers that reveal it in the Spark UI, and four ways to fix it.

Read More
August 11, 2026
Apache Spark

PySpark Data Serialization: Why Python UDFs Are Slow

Spark runs on the JVM. Python UDFs do not. Every row has to be converted between the two — and here is what that costs, how to spot it, and how to fix it.

Read More
August 10, 2026
Azure Storage

Azure Storage Redundancy Explained: LRS vs ZRS vs GRS vs GZRS

Six redundancy options are really three yes/no questions. What each one protects against, why none of them is a backup, and how to pick per medallion layer.

Read More
August 5, 2026

Posts pagination

1 2 3 … 6 Next »

Recent Posts

  • Adaptive Query Execution in Spark: What AQE Does and How to Tune It
  • Fix Spark Executor OOM: java.lang.OutOfMemoryError Explained
  • Broadcast Join vs Bucketing: Two Ways to Skip the Shuffle in Spark
  • Spark Spill to Disk: Why It Happens and How to Fix It
  • Spark Shuffle Explained: Why Wide Transformations Slow Your Job

Archives

  • September 2026
  • August 2026
  • July 2026

Categories

  • Apache Spark
  • Azure Storage
  • Data Engineering Basics
  • Databricks
  • Databricks Troubleshooting
  • Delta Lake
ByDataFix

All about data engineering

© 2026 ByDataFix. All rights reserved.

Subscribe to ByDataFix

Practical data engineering — PySpark, Azure, Snowflake and more. New posts straight to your inbox. No spam, unsubscribe anytime.