cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Python running far slower than locally, even with large cluster and multiple workers

JoeAckerman
New Contributor II

I have a notebook that is running extremely slowly even when I try to do pretty basic python functions. It is running far slower than locally no matter what I try, this is in spite of using a 32gb 4 core cluster with 4-8 workers. For context, my data is around 7m rows with about 20 columns, so not huge! Any help would be much appreciated.

2 REPLIES 2

JoeAckerman
New Contributor II

Just noticed it says Python, in title - it should say Spark.

cgrant
Databricks Employee
Databricks Employee

Please share more information, for example:

  • Type of data source
  • Type of operations being executed (sharing code if possible)
  • Timings of local runs and Databricks runs

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