---
title: "Discussion on \"Broadcast Joins vs Sort-Merge Joins in Spark\" | Hashnode"
description: "Discussion on \"Broadcast Joins vs Sort-Merge Joins in Spark\". Spark picks your join strategy automatically — knowing when it picks wrong and why saves hours of debugging slow join stages"
url: "https://hashnode.com/posts/spark-broadcast-joins-vs-sort-merge-joins/69e437716e738bcf4b61fc26"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Broadcast Joins vs Sort-Merge Joins in Spark](https://abstractalgorithms.hashnode.dev/spark-broadcast-joins-vs-sort-merge-joins?utm_source=hashnode&utm_medium=feed)

Spark picks your join strategy automatically — knowing when it picks wrong and why saves hours of debugging slow join stages

Apr 19 · 26 min read · abstractalgorithms.hashnode.dev  
Updated Jun 18  
Read the article

-   [#apache-spark](https://hashnode.com/tag/apache-spark)
-   [#joins](https://hashnode.com/tag/joins)
-   [#performance](https://hashnode.com/tag/performance)
-   [#intermediate](https://hashnode.com/tag/intermediate)

## Written by

[Abstract Algorithms](https://hashnode.com/@abstractalgorithms)

@abstractalgorithms

  
[View profile](https://hashnode.com/@abstractalgorithms)

Exploring the fascinating world of algorithms, data structures, and software engineering through clear explanations and practical examples.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
