Share via

Databricks costs

Ales Ventus 46 Reputation points
2024-01-08T10:23:28.6366667+00:00

I have tags for databricks job and databricks cluster assigned to the job. I can see costs based on these tags in azure cost analysis.

I want to know if in azure cost analysis is cost for cluster included in the job cost.

job cost = 0.80$

cluster cost = 0.14$

Total for process is 0.80$ or 0.94$ ?

Thanks.

tags

Azure Databricks
Azure Databricks

An Apache Spark-based analytics platform optimized for Azure.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 31,361 Reputation points Microsoft Employee Moderator
    2024-01-08T20:58:41.21+00:00

    Hello Admin - Ales Ventus,

    Welcome to the Microsoft Q&A forum.

    There is no direct official document given the variability in costs, but from the below blog post and other documents, my understanding is the cost for a Databricks job and the cost for a Databricks cluster are separate.

    The cost for the Databricks job is based on the number of job runs and the duration of each run, while the cost for the Databricks cluster is based on the size and duration of the cluster.

    In your example, if the cost of the Databricks job is $0.80 and the cost of the Databricks cluster is $0.14, then the total cost for the process would be $0.94.

    https://medium.com/microsoftazure/understanding-azure-databricks-costs-using-azure-cost-management-for-observability-and-chargebacks-86e7911fb989

    https://learn.microsoft.com/en-us/azure/databricks/lakehouse-architecture/cost-optimization/best-practices

    https://learn.microsoft.com/en-us/answers/questions/1188051/azure-databricks-how-to-calculate-the-cost-for-a-j

    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.

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

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