Softwr

Databases · head to head

Apache Doris vs Milvus

Apache Doris logo

Apache Doris

Databases

MPP analytical database with a MySQL wire protocol and sub-second aggregation on wide tables

From
Free
Free plan
Yes
Milvus logo

Milvus

Databases

Open-source vector database for scalable similarity search

From
Free
Free plan
Yes

The short version

  • Milvus is an open-source vector database.
  • Both are free.
  • Only Apache Doris lists MySQL wire protocol; only Milvus lists billion-scale vectors.
  • Where Milvus falls short: vector dimensions are capped at 32,768.

How do Apache Doris and Milvus differ?

Apache Doris and Milvus differ on pricing model and platforms. Only the attributes on which Apache Doris and Milvus actually diverge.

Attributes where Apache Doris and Milvus differ
AttributeApache DorisMilvus
Pricing modelOpen source, no licence feeFreemium
PlatformsLinux, Self-hostedLinux, macOS, Windows, Web

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

Not yet recorded: founded for Apache Doris.

Which features does each one have?

They share no listed features; 8 appear only for Apache Doris and 14 only for Milvus. 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 Apache Doris

  • MySQL wire protocol
  • Aggregate and unique key models
  • Materialised views
  • Multi-catalogue federation
  • Routine load from Kafka
  • Compute storage separation
  • Inverted indexes
  • Workload groups

Only in Milvus

  • Billion-scale vectors
  • Multiple index types
  • GPU acceleration
  • Hybrid search
  • Data partitioning
  • PyTorch
  • TensorFlow
  • Hugging Face

What is each one used for?

Milvus is most often brought in for self hosting a vector database for semantic search. The jobs each tool is most often brought in to do.

Apache Doris

  • A team whose MySQL read replica can no longer serve reporting queries and wants an OLAP engine its existing drivers already speaknot Milvus
  • A real-time dashboard backend needing sub-second aggregation over billions of rows with hundreds of concurrent usersnot Milvus
  • An ad or ecommerce platform that needs updates and deletes on analytical tables, which append-only OLAP engines handle badlynot Milvus
  • A data team that wants one SQL endpoint over both internal tables and existing Hive or Iceberg tables in the lakenot Milvus

Milvus

  • Self hosting a vector database for semantic searchnot Apache Doris
  • Storing and querying embeddings for retrieval augmented generationnot Apache Doris
  • Similarity search over images, audio or text at scalenot Apache Doris

Where do Apache Doris and Milvus fall short?

Milvus's most cited limit: vector dimensions are capped at 32,768. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Apache Doris

  • Two competing commercial vendors, VeloDB and SelectDB, were founded by overlapping core contributors, which makes the long-term governance and roadmap of the project harder to predict than a single-sponsor project
  • A large share of design discussion, issue reports and documentation detail originates in Chinese, so teams that do not read it get a thinner picture of known problems and workarounds
  • Operating a cluster means managing frontend and backend node roles, tablet balancing and compaction tuning, and compaction backlogs under heavy upsert load are a recurring production complaint
  • The MySQL protocol compatibility is at the wire level, not full MySQL semantics, so queries and functions still need porting and the familiarity can mislead
  • Managed cloud availability outside China and major clouds is limited compared with ClickHouse or Snowflake, so many Western adopters end up self-hosting whether they wanted to or not

Milvus

  • Vector dimensions are capped at 32,768
  • A collection is limited to 64 fields, 1,024 partitions and 16 shards
  • Only 1 index is allowed per field
  • Search returns at most 16,384 vectors as top-k, and nq is capped at 16,384
  • Input and output per RPC is capped at 64 MB for insert, search and query
  • VARCHAR values are limited to 65,535 characters
  • Data loaded into query nodes cannot exceed 90% of available memory
  • An instance supports at most 65,536 collections

How much do Apache Doris and Milvus cost?

Apache Doris is free to use; Milvus is free to use. Plan by plan below, from each vendor's own pricing page.

Apache Doris

Free
  • Apache DorisFree
    • Apache 2.0 licence with no usage restrictions
    • All engine features included
    • Community support via mailing list and Slack

Milvus

Free
  • Open SourceFree
    • Full features
    • Self-hosted
    • Community support
  • Zilliz CloudFree
    • Managed service
    • Free tier available

Which should you pick?

Choose Apache Doris if

  • You need mysql wire protocol.
  • You want to start without paying.
  • You work on Linux, Self-hosted.
  • You also want aggregate and unique key models.

Choose Milvus if

  • You need billion-scale vectors.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Web.
  • You also want multiple index types.

Questions people ask

Is Apache Doris or Milvus better?
It depends on the job. Apache Doris fits a team whose MySQL read replica can no longer serve reporting queries and wants an OLAP engine its existing drivers already speak; Milvus fits self hosting a vector database for semantic search. Apache Doris starts at Free and Milvus at Free.
Which is cheaper, Apache Doris or Milvus?
Apache Doris starts at Free and Milvus at Free.
Does Apache Doris or Milvus run on more platforms?
Apache Doris runs on Linux, Self-hosted. Milvus runs on Linux, macOS, Windows, Web.
Can I use Apache Doris for free?
Both have a free tier, so you can try either at no cost before committing.
What is Apache Doris best used for?
Apache Doris is most often used for a team whose mysql read replica can no longer serve reporting queries and wants an olap engine its existing drivers already speak, a real-time dashboard backend needing sub-second aggregation over billions of rows with hundreds of concurrent users, an ad or ecommerce platform that needs updates and deletes on analytical tables, which append-only olap engines handle badly, a data team that wants one sql endpoint over both internal tables and existing hive or iceberg tables in the lake. Of those, a team whose mysql read replica can no longer serve reporting queries and wants an olap engine its existing drivers already speak and a real-time dashboard backend needing sub-second aggregation over billions of rows with hundreds of concurrent users are not what Milvus is typically brought in for.
What can Apache Doris do that Milvus cannot?
Apache Doris covers MySQL wire protocol, Aggregate and unique key models, Materialised views, Multi-catalogue federation. Milvus covers Billion-scale vectors, Multiple index types, GPU acceleration, Hybrid search.

Answered from the vendors’ own pages

Apache Doris: Is Apache Doris really free?

Yes, it is Apache 2.0 with no usage restrictions. The commercial products are managed services from VeloDB and SelectDB.

Milvus: How much does Milvus cost?

Milvus is open-source and free to use and modify. The self-hosted version has no licensing cost. Zilliz Cloud (the managed SaaS version) does not publish pricing on the website.

Source
Apache Doris: Can I use my MySQL tools with it?

Yes, it implements the MySQL wire protocol, so clients and BI connectors attach without a new driver, though SQL semantics differ.

Milvus: Is there a free or open-source version of Milvus?

Yes, Milvus is fully open-source and available for free. Milvus Lite is a lightweight option for learning and prototyping that can be installed via pip.

Source
Apache Doris: How does it compare with ClickHouse?

Doris handles updates and high concurrency more comfortably; ClickHouse is generally faster on raw single-query scan throughput and has far wider Western support.

Milvus: Does Milvus offer a managed cloud service?

Yes, Zilliz Cloud is a fully managed Milvus cloud offering with serverless and dedicated cluster options. Pricing must be requested from the company as it is not listed on the public website.

Source
Apache Doris: Who maintains it?

The Apache Software Foundation project, with most committers employed by VeloDB or SelectDB.

Share

Related pages

Other head to heads