cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

How spark will handles 1TB data if it has cluster of 1GB memory ?

abd
Contributor

If my cluster memory is 1GB for example and my data is 1TB how Spark will handle it?

If it is in memory computing how does it handles the data that is greater than the memory size ?

1 ACCEPTED SOLUTION

Accepted Solutions

Cedric
Databricks Employee
Databricks Employee

Hi @Abdullah Durrani​,

Spark workers will spill the data on disk if the dataset is larger than the memory size.

I'd advise you to follow the best practices page https://docs.databricks.com/clusters/cluster-config-best-practices.html#cluster-sizing-consideration... to determine what cluster size you should configure for your use case.

View solution in original post

2 REPLIES 2

abd
Contributor

@Kaniz Fatma​ @Cedric Law Hing Ping​ 

Cedric
Databricks Employee
Databricks Employee

Hi @Abdullah Durrani​,

Spark workers will spill the data on disk if the dataset is larger than the memory size.

I'd advise you to follow the best practices page https://docs.databricks.com/clusters/cluster-config-best-practices.html#cluster-sizing-consideration... to determine what cluster size you should configure for your use case.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group