cluster performance in ideal time

Shambhu Rai 1,411 Reputation points
2023-07-26T07:29:24.2666667+00:00

Hi Expert,

how to avoid the ideal time/sleeping time scenarios on databricks cluster so that it would run smoothly even though there is no traffic. and we should not start all the time and should run continuously

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,481 questions
Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
530 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,215 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,826 questions
Azure Data Lake Analytics
{count} votes

Accepted answer
  1. Bhargava-MSFT 31,116 Reputation points Microsoft Employee
    2023-07-26T19:48:24.95+00:00

    Hello Shambhu Rai,

    Databricks provides a setting called "Terminate after X minutes of activity" that can be used to avoid the ideal time/sleeping time scenarios on Databricks cluster.

    When enabled, the cluster will terminate after the specified time interval of inactivity (i.e., no running commands or active job runs). This feature is best supported in the latest Spark versions. Learn more

    This setting terminates the cluster after the specified number of minutes of inactivity. You can set this value to an appropriate value to avoid the cluster going into sleeping mode.

    If you set a high value, the cluster will stay idle even though there is no workload running, but it could result in high costs. so you must set the appropriate value based on your needs

    User's image

    I hope this helps. Please let me know if you have any further questions.

    If this answers your question, please consider accepting the answer by hitting the Accept answer and up-vote as it helps the community look for answers to similar questions.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.