---
title: Apache Spark overview
description: Find links to resources for working with Apache Spark on Databricks, including DataFrames, streaming, language APIs, and configuration options.
canonical_url: https://docs.databricks.com/aws/en/spark/
---

# Apache Spark overview

Apache Spark is the technology powering compute clusters and SQL warehouses in Databricks.

This page provides an overview of the documentation in this section.

## Get started

Get started working with Apache Spark on Databricks.

| Topic                                                                                                                               | Description                                                                                                               |
| ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| [Apache Spark on Databricks](https://docs.databricks.com/aws/en/spark/faq.md)                                                       | Get answers to frequently asked questions about Apache Spark on Databricks.                                               |
| [Tutorial: Load and transform data using Apache Spark DataFrames](https://docs.databricks.com/aws/en/getting-started/dataframes.md) | Follow a step-by-step guide for working with Spark DataFrames in Python, R, or Scala for data loading and transformation. |
| [PySpark basics](https://docs.databricks.com/aws/en/pyspark/basics.md)                                                              | Learn the basics of using PySpark by walking through simple examples.                                                     |

## Additional resources

Explore other Spark capabilities and documentation.

| Topic                                                                                                                               | Description                                                                                                                                                                     |
| ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Compare Spark Connect to Spark Classic](https://docs.databricks.com/aws/en/spark/connect-vs-classic.md)                            | Learn about key differences between Spark Connect and Spark Classic in execution and analysis behavior to avoid unexpected behavior and performance issues when migrating code. |
| [Set Spark configuration properties on Databricks](https://docs.databricks.com/aws/en/spark/conf.md)                                | Set Spark configuration properties to customize settings in your compute environment and optimize performance.                                                                  |
| [Spark API options reference](https://docs.databricks.com/aws/en/spark/api-options.md)                                              | Look up DataFrameReader, DataFrameWriter, and related API options in one place.                                                                                                 |
| [Structured Streaming](https://docs.databricks.com/aws/en/structured-streaming/concepts.md)                                         | Read an overview of Structured Streaming, a near real-time processing engine.                                                                                                   |
| [Diagnose cost and performance issues using the Spark UI](https://docs.databricks.com/aws/en/optimizations/spark-ui-guide/index.md) | Learn to use the Spark UI for performance tuning, debugging, and cost optimization of Spark jobs.                                                                               |
| [Use Apache Spark MLlib on Databricks](https://docs.databricks.com/aws/en/machine-learning/train-model/mllib.md)                    | Distributed machine learning using Spark MLlib and integration with popular ML frameworks.                                                                                      |

## Spark APIs

Work with Spark using your preferred programming language.

| Topic                                                                                    | Description                                                                                                                                     |
| ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| [Reference for Apache Spark APIs](https://docs.databricks.com/aws/en/reference/spark.md) | API reference overview for Apache Spark, including links to reference for Spark SQL, DataFrames, and RDD operations across supported languages. |
| [PySpark](https://docs.databricks.com/aws/en/pyspark/index.md)                           | Use Python with Spark including PySpark basics, custom data sources, and Python-specific optimizations.                                         |
| [Pandas API on Spark](https://docs.databricks.com/aws/en/pandas/pandas-on-spark.md)      | Leverage familiar pandas syntax with the scalability of Spark for distributed data processing.                                                  |
| [R for Spark](https://docs.databricks.com/aws/en/sparkr/overview.md)                     | Work with R and Spark using SparkR and sparklyr for statistical computing and data analysis.                                                    |
| [Scala for Spark](https://docs.databricks.com/aws/en/languages/scala.md)                 | Build high-performance Spark applications using Scala with native Spark APIs and type safety.                                                   |
