Softwr

Machine Learning · head to head

Databricks vs Optuna

Databricks logo

Databricks

Machine Learning

Unified analytics platform for data engineering and data science

From
Free
Free plan
Yes
Optuna logo

Optuna

Machine Learning

Open-source Python framework for automated hyperparameter optimisation

From
Free
Free plan
Yes

The short version

  • Databricks is a unified analytics platform; Optuna is an MIT-licensed hyperparameter optimisation framework.
  • Optuna is free; Databricks starts at $0.07/mo.
  • Only Databricks lists delta Lake; only Optuna lists define-by-run search spaces.
  • Where Databricks falls short: cloud compute is billed separately by the cloud provider on top of Databricks DBU charges.
  • Where Optuna falls short: searches are only as good as the objective and search space defined.

How do Databricks and Optuna differ?

Databricks and Optuna differ on pricing model (Usage-based against Open-source) and platforms. Only the attributes on which Databricks and Optuna actually diverge.

Attributes where Databricks and Optuna differ
AttributeDatabricksOptuna
Pricing modelUsage-basedOpen-source
PlatformsWeb, Aws, Azure, GcpWeb

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: category for Optuna, founded for Optuna.

Which features does each one have?

They share no listed features; 16 appear only for Databricks and 7 only for Optuna. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Databricks

  • Delta Lake
  • Apache Spark
  • MLflow
  • Unity Catalog
  • Photon Engine
  • Collaborative Notebooks
  • Auto-scaling
  • AWS

Only in Optuna

  • Define-by-run search spaces
  • Pruning of unpromising trials
  • Parallel and distributed search
  • Framework-agnostic integrations
  • Optuna Dashboard
  • OptunaHub feature sharing
  • Multiple search algorithms

What is each one used for?

Databricks is most often brought in for running Spark data engineering pipelines on managed clusters; Optuna for tuning deep learning models. The jobs each tool is most often brought in to do.

Databricks

  • Running Spark data engineering pipelines on managed clustersnot Optuna
  • Building a lakehouse over data in cloud object storagenot Optuna
  • Training and serving machine learning models alongside the datanot Optuna

Optuna

  • Tuning deep learning modelsnot Databricks
  • Tuning gradient-boosted treesnot Databricks
  • Pruning slow experiments earlynot Databricks
  • Parallel searches across machinesnot Databricks

Where do Databricks and Optuna fall short?

Databricks's most cited limit: cloud compute is billed separately by the cloud provider on top of Databricks DBU charges. Optuna's: searches are only as good as the objective and search space defined. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Databricks

  • Cloud compute is billed separately by the cloud provider on top of Databricks DBU charges
  • The free trial lasts 14 days
  • Discounts require a Committed Use Contract, with larger commitments needed for larger discounts
  • Azure Databricks pricing is set by Microsoft rather than by Databricks
  • Security and compliance capabilities are sold as separate platform add ons rather than included in the base rate

Optuna

  • Searches are only as good as the objective and search space defined
  • Distributed runs need a shared storage backend set up by the user
  • Works only with Python code, so non-Python teams cannot use it
  • Tuning only; no experiment tracking or deployment features

How much do Databricks and Optuna cost?

Databricks has a free plan, with paid plans from $0.07/mo; Optuna is free to use. Plan by plan below, from each vendor's own pricing page.

Databricks

Free
  • Community EditionFree
    • Limited cluster
    • Notebook environment
    • Community support
  • Standard$0.07/dbu
    • Jobs compute
    • SQL compute
    • Standard support

Optuna

Free

No published plan breakdown. See the Optuna review.

Which should you pick?

Choose Databricks if

  • You need delta lake.
  • You want to start without paying.
  • You work on Web, Aws, Azure, Gcp.
  • You also want apache spark.

Choose Optuna if

  • You need define-by-run search spaces.
  • You want to start without paying.
  • You also want pruning of unpromising trials.

Questions people ask

Is Databricks or Optuna better?
It depends on the job. Databricks fits running Spark data engineering pipelines on managed clusters; Optuna fits tuning deep learning models. Databricks starts at Free and Optuna at Free.
Which is cheaper, Databricks or Optuna?
Databricks starts at Free and Optuna at Free.
Does Databricks or Optuna run on more platforms?
Databricks runs on Web, Aws, Azure, Gcp. Optuna runs on Web.
Can I use Databricks for free?
Both have a free tier, so you can try either at no cost before committing.
What is Databricks best used for?
Databricks is most often used for running spark data engineering pipelines on managed clusters, building a lakehouse over data in cloud object storage, training and serving machine learning models alongside the data. Of those, running spark data engineering pipelines on managed clusters and building a lakehouse over data in cloud object storage are not what Optuna is typically brought in for.
What can Databricks do that Optuna cannot?
Databricks covers Delta Lake, Apache Spark, MLflow, Unity Catalog. Optuna covers Define-by-run search spaces, Pruning of unpromising trials, Parallel and distributed search, Framework-agnostic integrations.

Answered from the vendors’ own pages

Databricks: How is Databricks priced?

Databricks bills pay as you go with no up front cost, charging per second for the products used. Consumption is measured in Databricks Units, a normalised unit of processing power on the platform.

Source
Optuna: What licence does Optuna use?

The MIT License.

Source
Databricks: Does Databricks publish a per DBU price?

Not on its main pricing page. Rates vary by product and instance type, and Databricks directs buyers to individual product pricing pages and a calculator rather than listing a single figure.

Source
Optuna: Who develops Optuna?

Preferred Networks, which first introduced it in 2018.

Source
Databricks: Does the Databricks price include cloud costs?

No. Databricks states that if you configure it to work with your own cloud account, your cloud provider still charges you separately for the underlying resources.

Source
Optuna: What Python version is needed?

Python 3.10 or newer.

Source
Databricks: Can I get a discount on Databricks?

Databricks offers Committed Use Contracts, where larger usage commitments earn greater benefits, including options to use commitments flexibly across multiple clouds.

Source
Share

Related pages

Other head to heads