LakeSail vs MotherDuck

Spark SQL and Python, on one machine or many.

or start the 14‑day free trial

The same Spark session line runs on your laptop with pip install pysail, on LakeSail on one node, and on LakeSail on a cluster.
spark = SparkSession.builder.getOrCreate()

Side by side

How we stack up.

LakeSail and MotherDuck, side by side
LakeSailMotherDuck
EngineSail, open source and Rust-nativeDuckDB, run as a managed service
Code it runsSpark SQL and DataFrame code, over Spark ConnectDuckDB SQL, from Python, Java, Go and other clients
One job growsA larger instance, or a driver and worker nodesA larger instance size
Scheduled jobsSQL, Python and notebook jobs on cron or an intervalFlights, single-file Python programs on a cron schedule
Where compute runsYour cloud account or on-premisesMotherDuck’s cloud, or your cloud account
TablesDelta Lake and Iceberg, read and written in your object storageIts storage, DuckLake, Iceberg; no Delta writes yet

Your code

The same code on your laptop and on LakeSail.

LakeSail runs Spark SQL and DataFrame code over Spark Connect. Develop on your laptop with pip install pysail, then run the same file on one node or a cluster.

  • DuckDB SQL moves to Rewritten in Spark SQL
  • dbt-duckdb moves to Your dbt project, on the dbt-sail adapter
  • Python with DuckDB moves to Rewritten as PySpark DataFrame code

Sail’s docs list the supported SQL statements(opens in a new tab) and functions(opens in a new tab).

Your tables

Open tables in your object storage.

LakeSail reads and writes Delta Lake and Iceberg tables in your object storage, through your catalog.

Engine

LakeSail reads and writes

Your catalog

  • Unity Catalog
  • Iceberg REST
  • AWS Glue
  • Hive Metastore

Your object storage

  • Delta Lake sales/orders/ _delta_log/part-00000.parquet
  • Iceberg sales/daily/ metadata/data/
A catalog connection copies no data. The files stay where they are, in formats other engines read too.

Scale

When a job outgrows one machine.

The same engine, Sail, runs on one node or across a cluster.

MotherDuck · A larger instance

LakeSail · Larger instances and more nodes

  1. Standard
  2. Jumbo
  3. Mega
  4. Giga

Each user gets one instance, and a query runs across its cores. You resize it for more.

LakeSail runs a job in standalone mode on one node, or in cluster mode on a driver and its worker nodes. Instance size, execution mode and max nodes are settings on the job’s compute profile, not lines in its code.

Questions

Questions about LakeSail and MotherDuck.

Is LakeSail an alternative to MotherDuck?

LakeSail is an alternative to MotherDuck for data engineering jobs in Spark SQL and DataFrame code. It runs them on one node or a cluster of workers, in your own cloud account or on-premises, and reads and writes Delta Lake and Iceberg tables in your object storage. It bills $0.01 per vCPU-hour and $0.002 per GiB-hour, plus your cloud bill.

Do I need to rewrite my code to run it on LakeSail?

Code written for DuckDB, in SQL or Python, is rewritten in Spark SQL or PySpark when it moves to LakeSail. Spark SQL and DataFrame jobs run on LakeSail over Spark Connect as they are, and the scanner shows what each job uses.

What happens when a job outgrows one machine?

You switch the job’s compute profile from standalone to cluster mode and set max nodes, and the code stays as it is. In cluster mode a driver runs the job’s Spark session across up to that many worker nodes, which LakeSail starts in your environment when the job runs. The next run of the job takes the new sizing.

Can I run the same code on my laptop?

Sail, the open-source engine inside LakeSail, installs with pip install pysail and runs on a laptop as a Spark Connect server. You develop a job against it in Spark SQL and DataFrame code, then run the same file on LakeSail, on one node or a cluster of workers.

How does LakeSail pricing compare with MotherDuck’s?

LakeSail charges $0.01 per vCPU-hour and $0.002 per GiB-hour for the machines a job uses, and your cloud provider bills those machines separately. MotherDuck lists an hourly rate per instance size, plus storage and, on its Business plan, a monthly fee.

Where does LakeSail run?

LakeSail runs in your environment, in your own cloud account or on-premises as a custom Enterprise deployment, so the compute and the data stay with you. For the cloud deployment, LakeSail hosts the console and API. Tables stay in open Delta Lake and Iceberg formats in your object storage, and the engine is open source. Enterprise and on-premises plans →

Bring the job that needs more than one machine.

On one node or many, in your environment, on your own tables.