Databases · head to head
DuckDB vs Seldon

DuckDB
Databases
MIT-licensed analytical SQL database that runs inside your process, with no server, no dependencies and one writer at a time.
- From
- Free
- Free plan
- Yes

Seldon
Machine Learning
Kubernetes model serving whose current version is licensed under the Business Source Licence
- From
- Free
- Free plan
- Yes
The short version
- Both are free.
- Only DuckDB lists in-process execution; only Seldon lists kubernetes custom resources.
How do DuckDB and Seldon differ?
DuckDB and Seldon differ on pricing model (Open-source against Freemium), platforms and category (Databases against Machine Learning). Only the attributes on which DuckDB and Seldon actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Which features does each one have?
They share no listed features; 10 appear only for DuckDB and 8 only for Seldon. 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 DuckDB
- In-process execution
- Vectorised columnar engine
- Direct file querying
- Zero dependencies
- Larger-than-memory queries
- MIT licence
- Postgres-flavoured SQL
- Extension ecosystem
Only in Seldon
- Kubernetes custom resources
- Inference graphs
- Traffic strategies
- Open Inference Protocol
- Alibi Explain
- Alibi Detect
- Kafka-backed pipelines in v2
- Commercial control plane
What is each one used for?
The jobs each tool is most often brought in to do.
DuckDB
- Transformation steps in a data pipeline that would otherwise need Spark, replaced by SQL over Parquet in a single processnot Seldon
- Analytical queries embedded in an application or a dashboard where shipping a database server alongside it is not acceptablenot Seldon
- Local exploration of files that are too large for a pandas dataframe but far too small to justify a warehousenot Seldon
- Continuous integration and testing of analytical SQL, where a real engine can run in the test process without provisioning anythingnot Seldon
Seldon
- Serving an ensemble or a multi-stage inference path as one versioned deployment rather than as a chain of separate servicesnot DuckDB
- Running genuine production experiments where a share of live traffic goes to a candidate model and the results are comparednot DuckDB
- Regulated environments needing explanations and drift monitoring attached to the served model rather than bolted on laternot DuckDB
- Organisations with an established Kubernetes platform team who want serving expressed as manifests under existing deployment controlsnot DuckDB
Where do DuckDB and Seldon fall short?
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
DuckDB
- A database file accepts one read-write process at a time; other processes must open it read-only and will not see subsequent writes, so DuckDB cannot be the shared database behind several services
- There is no network protocol, authentication or user management, so exposing it to remote clients means writing and securing your own service around it
- It is built for scans and aggregations, not for many small transactions, so a workload of high-frequency single-row inserts and updates performs badly compared with SQLite or Postgres
- Storage files are backwards compatible but not forwards compatible, so a file written by a newer version cannot be read by an older one and every consumer of a shared file must be upgraded together
- Query memory settings matter: some operations still need to hold significant state, so an under-configured memory limit turns a large join or a high-cardinality aggregation into a spill-heavy query or an out-of-memory failure rather than a slow success
Seldon
- Seldon Core v2 is under the Business Source Licence rather than Apache 2.0, so production use requires a commercial agreement, and a team that evaluated it believing it was open source discovers the licence is the blocker exactly when the project is ready to ship
- Core v1 remains Apache 2.0 but is in maintenance, so taking the free route means running software that receives no new development while the architecture it belongs to moves on without it
- Version 2 is a different system rather than a newer release, with different custom resources, a scheduler component and a Kafka-based pipeline model, so migrating from v1 is a re-implementation of every deployment manifest rather than an upgrade
- Kafka is a dependency for v2 pipelines, so an organisation that does not already operate it takes on a distributed log with its own storage, retention, rebalancing and failure modes purely in order to serve models
- Everything assumes Kubernetes fluency and the failure modes are Kubernetes failure modes, custom resource version mismatches, an operator that will not reconcile, admission webhooks and resource limits terminating an inference pod mid-request, so it needs a platform engineer rather than a data scientist
How much do DuckDB and Seldon cost?
DuckDB is free to use; Seldon is free to use. Plan by plan below, from each vendor's own pricing page.
DuckDB
Free- Open source (MIT licence)Free
Seldon
Free- Seldon CoreFree
- Open source
- Kubernetes deployment
- Model serving
- Seldon DeployFree
- Enterprise features
- GUI
- Monitoring
Which should you pick?
Choose DuckDB if
- You need in-process execution.
- You want to start without paying.
- You work on Linux, macOS, Windows, Web.
- You also want vectorised columnar engine.
Choose Seldon if
- You need kubernetes custom resources.
- You want to start without paying.
- You work on Linux.
- You also want inference graphs.
Questions people ask
- Is DuckDB or Seldon better?
- It depends on the job. DuckDB fits transformation steps in a data pipeline that would otherwise need Spark, replaced by SQL over Parquet in a single process; Seldon fits serving an ensemble or a multi-stage inference path as one versioned deployment rather than as a chain of separate services. DuckDB starts at Free and Seldon at Free.
- Which is cheaper, DuckDB or Seldon?
- DuckDB starts at Free and Seldon at Free.
- Does DuckDB or Seldon run on more platforms?
- DuckDB runs on Linux, macOS, Windows, Web. Seldon runs on Linux.
- Can I use DuckDB for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is DuckDB best used for?
- DuckDB is most often used for transformation steps in a data pipeline that would otherwise need spark, replaced by sql over parquet in a single process, analytical queries embedded in an application or a dashboard where shipping a database server alongside it is not acceptable, local exploration of files that are too large for a pandas dataframe but far too small to justify a warehouse, continuous integration and testing of analytical sql, where a real engine can run in the test process without provisioning anything. Of those, transformation steps in a data pipeline that would otherwise need spark, replaced by sql over parquet in a single process and analytical queries embedded in an application or a dashboard where shipping a database server alongside it is not acceptable are not what Seldon is typically brought in for.
- What can DuckDB do that Seldon cannot?
- DuckDB covers In-process execution, Vectorised columnar engine, Direct file querying, Zero dependencies. Seldon covers Kubernetes custom resources, Inference graphs, Traffic strategies, Open Inference Protocol.
Answered from the vendors’ own pages
DuckDB: Can multiple applications share one DuckDB database?
Not for writing. One process holds the database read-write; others may attach read-only and will not see later writes. Shared multi-writer access needs a different database or a table format with a catalogue.
Seldon: Is Seldon open source?
Partly, and this is the thing to check before you build on it. Core v1 is Apache 2.0 but in maintenance. Core v2 was moved to the Business Source Licence in 2024, which allows evaluation but not unlicensed production use. Verify the current licence of each component you intend to run, including MLServer and the Alibi libraries.
DuckDB: Is it a replacement for a data warehouse?
For single-node analytical workloads up to a few hundred gigabytes it very often is. It is not a replacement when many concurrent users need a shared, governed, always-on service.
Seldon: What is the difference between v1 and v2?
Architecture, not just version number. v2 introduces a scheduler, a different set of custom resources and Kafka-backed pipelines. Manifests, mental model and operations all change, so treat a move as a project.
DuckDB: Do I have to load data into it?
No. It queries Parquet, CSV, JSON and Arrow in place, including on object storage. Its own storage format is optional and mainly useful when you want indexes, constraints and faster repeated access.
Seldon: Do I need Kubernetes?
Yes. It is a Kubernetes-native system and there is no meaningful deployment without a cluster and someone competent to run it.
DuckDB: What is MotherDuck's relationship to it?
MotherDuck is a separate company offering a managed and hybrid service built on the DuckDB engine. DuckDB itself remains MIT-licensed and independent of it, with the IP held by the DuckDB Foundation.
Seldon: What is MLServer?
Seldon's Python inference server implementing the Open Inference Protocol, usable inside Seldon deployments or on its own. Check its current licence alongside Core's, since the company has moved projects onto the Business Source Licence.
DuckDB: Is it suitable for OLTP?
No. It is designed for analytical scans. For transactional workloads with frequent small writes, SQLite or Postgres is the right tool.
Seldon: Do I have to run Kafka?
For v2 pipelines, yes. If you only need single models served, that dependency is a large amount of infrastructure for the benefit, and a simpler serving layer may be the better answer.
Related pages
Other head to heads
- DuckDB vs ClickHouse
- DuckDB vs SingleStore
- DuckDB vs SQLite
- DuckDB vs MotherDuck
- DuckDB vs PostgreSQL
- DuckDB vs DBeaver
- DuckDB vs Apache Druid
- DuckDB vs StarRocks
- DuckDB vs OpenSearch
- DuckDB vs Firebolt
- DuckDB vs CockroachDB
- DuckDB vs Snowflake
- DuckDB vs Amazon Aurora
- DuckDB vs Elasticsearch
- DuckDB vs PlanetScale
- DuckDB vs Apache Pinot
- DuckDB vs DynamoDB
- DuckDB vs Apache Flink
- DuckDB vs BentoML
- DuckDB vs Kubeflow
- DuckDB vs AWS SageMaker
- DuckDB vs Azure Machine Learning
- DuckDB vs Vertex AI
- DuckDB vs Ray
- DuckDB vs Pachyderm
- DuckDB vs DataRobot
- DuckDB vs MLflow
- DuckDB vs DVC
- DuckDB vs JupyterHub
- DuckDB vs vLLM
- DuckDB vs Hugging Face
- DuckDB vs Weights & Biases
- DuckDB vs Dataiku
- DuckDB vs OpenAI API
- DuckDB vs Databricks
- DuckDB vs Jupyter
- Seldon vs ClickHouse
- Seldon vs SingleStore
- Seldon vs SQLite
- Seldon vs MotherDuck
- Seldon vs PostgreSQL
- Seldon vs DBeaver
- Seldon vs Apache Druid
- Seldon vs StarRocks
- Seldon vs OpenSearch
- Seldon vs Firebolt
- Seldon vs CockroachDB
- Seldon vs Snowflake
- Seldon vs Amazon Aurora
- Seldon vs Elasticsearch
- Seldon vs PlanetScale
- Seldon vs Apache Pinot
- Seldon vs DynamoDB
- Seldon vs Apache Flink
- Seldon vs BentoML
- Seldon vs Kubeflow
- Seldon vs AWS SageMaker
- Seldon vs Azure Machine Learning
- Seldon vs Vertex AI
- Seldon vs Ray
- Seldon vs Pachyderm
- Seldon vs DataRobot
- Seldon vs MLflow
- Seldon vs DVC
- Seldon vs JupyterHub
- Seldon vs vLLM
- Seldon vs Hugging Face
- Seldon vs Weights & Biases
- Seldon vs Dataiku
- Seldon vs OpenAI API
- Seldon vs Databricks
- Seldon vs Jupyter
