Cloud · head to head
Dokku vs TiDB

Dokku
Cloud
Single-server platform that accepts a git push and runs Heroku buildpacks on Docker
- From
- Free
- Free plan
- Yes

TiDB
Databases
Apache 2.0 distributed SQL database with MySQL wire compatibility and a separate columnar replica for analytical queries.
- From
- Free
- Free plan
- Yes
The short version
- Free plans on both; paid from $849 one-off and $250/mo.
- Only Dokku lists git push deploy; only TiDB lists MySQL wire compatibility.
How do Dokku and TiDB differ?
Dokku and TiDB differ on pricing model, platforms and category (Cloud against Databases). Only the attributes on which Dokku and TiDB actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for Dokku.
Which features does each one have?
They share no listed features; 6 appear only for Dokku and 10 only for TiDB. 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 Dokku
- Git push deploy
- Heroku buildpacks
- Datastore plugins
- Automatic certificates
- Zero downtime deploys
- Pluggable schedulers
Only in TiDB
- MySQL wire compatibility
- Horizontal write scaling
- Distributed ACID transactions
- TiFlash columnar replica
- Automatic rebalancing
- Raft replication
- Apache 2.0 licence
- Online schema change
What is each one used for?
The jobs each tool is most often brought in to do.
Dokku
- Running a dozen side projects and client applications on one virtual private server with Heroku style deploymentnot TiDB
- Moving off a managed platform when the monthly bill has grown faster than the traffic hasnot TiDB
- A consultancy that wants buildpack deployments without teaching every client team Kubernetesnot TiDB
- Keeping a legacy Procfile application alive on hardware you control after a managed platform deprecates its stacknot TiDB
TiDB
- A MySQL workload that has hit the write ceiling of a single primary and would otherwise need an application-level sharding layernot Dokku
- Reporting that must run against current transactional data, where the columnar replica removes the delay and the cost of an ETL pipelinenot Dokku
- Multi-region deployments needing a single logical database with automatic failover rather than manual primary promotionnot Dokku
- Migrating off a sharded MySQL estate where the sharding logic in the application has become the main source of bugs and operational toilnot Dokku
Where do Dokku and TiDB fall short?
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Dokku
- One maintainer accounts for nearly all human commit activity and the project records roughly 10,500 US dollars of annual income on Open Collective, which is not enough to fund a maintainer, so continuity rests on one person continuing to volunteer
- Dokku Pro asks 849 US dollars for a lifetime licence from a project with no disclosed legal entity behind the promise and no published refund terms, while the product is still described as in development at early bird pricing
- Dokku is single-server by design, and the k3s scheduler that provides multi-node support is missing log retrieval, process inspection and content-based health checks, with a post-run hook the documentation says does not consistently fire
- Supported operating systems are limited to Ubuntu 22.04 or 24.04 and Debian 11 or later, so organisations standardised on Red Hat, Rocky or Alma Linux cannot run it on their approved base image
- Backups are separate commands per datastore plugin that you schedule yourself, with no unified snapshot, no point-in-time recovery and no tested restore path, so verifying that a restore works is entirely your responsibility
TiDB
- A production cluster needs several placement driver, storage and SQL nodes before it is fault tolerant, so the minimum viable footprint is far larger than a MySQL server and TiDB is never the economical choice for a small database
- Every transaction takes a timestamp from the placement driver and crosses the network to storage nodes, so simple point queries are slower than on single-node MySQL and latency-sensitive paths need to be measured, not assumed
- MySQL compatibility is at the wire and dialect level but not complete; stored procedures, triggers and events are not supported, so an application that pushed logic into the database cannot simply be repointed
- The columnar replica is an extra full copy of the data on its own nodes, so hybrid analytics roughly doubles storage and adds hardware that must be sized and paid for separately
- Operating it well requires cluster-specific expertise in TiUP or the Kubernetes operator, region hot spots, and rebalancing behaviour, so the licence is free but the running cost includes an engineer who understands distributed storage
How much do Dokku and TiDB cost?
Dokku has a free plan, with paid plans from $849 one-off; TiDB has a free plan, with paid plans from $250/mo. Plan by plan below, from each vendor's own pricing page.
Dokku
Free- DokkuFree
- MIT licensed, no usage limits
- Command line and SSH only
- All datastore and certificate plugins
- Dokku Pro$849 one-off
- Lifetime licence with free upgrades and no subscription
- Covers 1 production and 2 pre-production servers
- Web dashboard and JSON REST API
TiDB
Free- ServerlessFree
- 5GB storage
- 50M request units
- Free forever tier
- Dedicated$250/mo
- Dedicated resources
- SLA guarantees
- Enterprise support
Which should you pick?
Choose Dokku if
- You need git push deploy.
- You want to start without paying.
- You work on Linux, Self-hosted, API.
- You also want heroku buildpacks.
Choose TiDB if
- You need mysql wire compatibility.
- You want to start without paying.
- You work on Web, AWS, Azure, Self-managed.
- You also want horizontal write scaling.
Questions people ask
- Is Dokku or TiDB better?
- It depends on the job. Dokku fits running a dozen side projects and client applications on one virtual private server with Heroku style deployment; TiDB fits a MySQL workload that has hit the write ceiling of a single primary and would otherwise need an application-level sharding layer. Dokku starts at Free and TiDB at Free.
- Which is cheaper, Dokku or TiDB?
- Dokku starts at Free and TiDB at Free.
- Does Dokku or TiDB run on more platforms?
- Dokku runs on Linux, Self-hosted, API. TiDB runs on Web, AWS, Azure, Self-managed.
- Can I use Dokku for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Dokku best used for?
- Dokku is most often used for running a dozen side projects and client applications on one virtual private server with heroku style deployment, moving off a managed platform when the monthly bill has grown faster than the traffic has, a consultancy that wants buildpack deployments without teaching every client team kubernetes, keeping a legacy procfile application alive on hardware you control after a managed platform deprecates its stack. Of those, running a dozen side projects and client applications on one virtual private server with heroku style deployment and moving off a managed platform when the monthly bill has grown faster than the traffic has are not what TiDB is typically brought in for.
- What can Dokku do that TiDB cannot?
- Dokku covers Git push deploy, Heroku buildpacks, Datastore plugins, Automatic certificates. TiDB covers MySQL wire compatibility, Horizontal write scaling, Distributed ACID transactions, TiFlash columnar replica.
Answered from the vendors’ own pages
Dokku: Is Dokku still maintained?
Yes. Version 0.38.27 shipped in August 2026 with roughly six releases in the preceding two months. The caveat is that one maintainer writes nearly all of it.
TiDB: Is TiDB a drop-in replacement for MySQL?
At the protocol and dialect level it is close, and most applications connect unchanged. Stored procedures, triggers and events are not supported, and latency characteristics differ, so it needs testing rather than assumption.
Dokku: What does Dokku Pro give me over the free edition?
A web dashboard, a JSON REST API, git push over HTTPS, browser log tailing, team management and email support from the maintainers. It costs 849 US dollars once for one production and two pre-production servers.
TiDB: What licence is it under?
Apache 2.0, for both TiDB and the underlying TiKV storage engine. TiKV is a graduated CNCF project, which is a meaningful governance signal in a market where several competitors moved to source-available licences.
Dokku: Can Dokku run across multiple servers?
Only through the k3s or Nomad schedulers. The k3s path is missing several commands and health check types, and the older Kubernetes scheduler is deprecated and no longer developed.
TiDB: Do I need TiFlash?
Only for analytical queries. It is an optional columnar replica; without it TiDB is a distributed transactional database. With it you get analytics on live data at the cost of an additional full copy.
Dokku: Will my Heroku application run on it unchanged?
Usually. Dokku runs the same buildpacks and reads a Procfile, so the application layer normally moves across. Add-ons, scaling behaviour and backups are the parts you have to rebuild.
TiDB: Is the managed cloud the same software?
TiDB Cloud runs the same engine, with the control plane, scaling and operational tooling provided as a service. The entry tier is metered differently from a dedicated cluster, so the cost model rather than the engine is what changes.
TiDB: When is TiDB the wrong choice?
When the database is small enough for one server, when latency on single-row lookups is the primary constraint, or when the application depends on MySQL stored procedures and triggers.
Related pages
Other head to heads
- Dokku vs Coolify
- Dokku vs CapRover
- Dokku vs Fly.io
- Dokku vs Render
- Dokku vs Heroku
- Dokku vs Qovery
- Dokku vs Porter
- Dokku vs Upsun
- Dokku vs Railway
- Dokku vs Northflank
- Dokku vs Red Hat OpenShift
- Dokku vs Fastly
- Dokku vs Fireworks AI
- Dokku vs Koyeb
- Dokku vs Linkerd
- Dokku vs Proxmox VE
- Dokku vs Akamai
- Dokku vs Podman
- Dokku vs SingleStore
- Dokku vs CockroachDB
- Dokku vs YugabyteDB
- Dokku vs Amazon Aurora
- Dokku vs PlanetScale
- Dokku vs MySQL
- Dokku vs Vitess
- Dokku vs Google Cloud Spanner
- Dokku vs Elasticsearch
- Dokku vs SAP HANA
- Dokku vs DuckDB
- Dokku vs Aerospike
- Dokku vs Apache HBase
- Dokku vs Amazon DocumentDB
- Dokku vs BigQuery
- Dokku vs Apache Ignite
- Dokku vs Amazon ElastiCache
- Dokku vs Amazon Neptune
- TiDB vs Coolify
- TiDB vs CapRover
- TiDB vs Fly.io
- TiDB vs Render
- TiDB vs Heroku
- TiDB vs Qovery
- TiDB vs Porter
- TiDB vs Upsun
- TiDB vs Railway
- TiDB vs Northflank
- TiDB vs Red Hat OpenShift
- TiDB vs Fastly
- TiDB vs Fireworks AI
- TiDB vs Koyeb
- TiDB vs Linkerd
- TiDB vs Proxmox VE
- TiDB vs Akamai
- TiDB vs Podman
- TiDB vs SingleStore
- TiDB vs CockroachDB
- TiDB vs YugabyteDB
- TiDB vs Amazon Aurora
- TiDB vs PlanetScale
- TiDB vs MySQL
- TiDB vs Vitess
- TiDB vs Google Cloud Spanner
- TiDB vs Elasticsearch
- TiDB vs SAP HANA
- TiDB vs DuckDB
- TiDB vs Aerospike
- TiDB vs Apache HBase
- TiDB vs Amazon DocumentDB
- TiDB vs BigQuery
- TiDB vs Apache Ignite
- TiDB vs Amazon ElastiCache
- TiDB vs Amazon Neptune
