Softwr

Databases · head to head

CockroachDB vs FaunaDB

CockroachDB logo

CockroachDB

Databases

The cloud-native distributed SQL database

From
Free
Free plan
Yes
FaunaDB logo

FaunaDB

Databases

Document-relational database whose hosted service closed in 2025 and whose core is now unmaintained Apache 2.0 code.

From
Free
Free plan
Yes

The short version

  • CockroachDB is a cloud-native distributed SQL database.
  • Free plans on both; paid from $0.057/mo and $25/mo.
  • Only CockroachDB lists automatic Sharding; only FaunaDB lists document-relational model.
  • Where CockroachDB falls short: basic and Standard tiers limited to AWS and GCP (select regions only).

How do CockroachDB and FaunaDB differ?

CockroachDB and FaunaDB differ on platforms (AWS, GCP, Azure against Web) and year founded (2015 against 2012). Only the attributes on which CockroachDB and FaunaDB actually diverge.

Attributes where CockroachDB and FaunaDB differ
AttributeCockroachDBFaunaDB
PlatformsAWS, GCP, AzureWeb
Founded20152012

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

Which features does each one have?

They share no listed features; 20 appear only for CockroachDB and 10 only for FaunaDB. 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 CockroachDB

  • Distributed SQL
  • Automatic Sharding
  • Multi-region Replication
  • Geo-partitioning
  • ACID Transactions
  • Horizontal Scaling
  • Survivability
  • PostgreSQL Compatibility

Only in FaunaDB

  • Document-relational model
  • FQL v10
  • Distributed ACID transactions
  • HTTPS access
  • User-defined functions
  • Attribute-based access control
  • Document history
  • Event streaming

What is each one used for?

CockroachDB is most often brought in for distributed SQL database for scalable applications. The jobs each tool is most often brought in to do.

CockroachDB

  • Distributed SQL database for scalable applicationsnot FaunaDB
  • Multi-region deployment and failovernot FaunaDB

FaunaDB

  • Keeping an existing Fauna-backed application alive on self-hosted infrastructure while a migration is planned and fundednot CockroachDB
  • Extracting historical data from a Fauna dataset that can no longer be reached through the hosted APInot CockroachDB
  • Studying a production implementation of deterministic distributed transactions, since the full server source is now readable under Apache 2.0not CockroachDB
  • Forking the engine deliberately, where an organisation has JVM and distributed-systems staff and wants a document-relational store it fully controlsnot CockroachDB

Where do CockroachDB and FaunaDB fall short?

CockroachDB's most cited limit: basic and Standard tiers limited to AWS and GCP (select regions only). Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

CockroachDB

  • Basic and Standard tiers limited to AWS and GCP (select regions only)
  • Azure support restricted to Advanced tier only
  • Basic tier limited to 50 million RUs and 10 GiB storage per month
  • Advanced tier starts at $0.60/hour for 4 vCPUs minimum
  • 3 TiB maximum storage on Basic and Standard tiers, 10 TiB per node on Advanced

FaunaDB

  • The hosted service was wound down in 2025, so there is no managed Fauna to buy; every remaining user either operates a JVM cluster themselves or migrates, and both are projects rather than tasks
  • The open-sourced repository has had no substantive activity since May 2025 and the drivers were frozen alongside it, so you inherit responsibility for security patches in a Scala distributed database that almost nobody else is running
  • FQL has no wire or dialect compatibility with anything else, so migrating off is a rewrite of every query, index and access rule in the application rather than a data export
  • No BI tool, ORM or CDC connector speaks FQL, so reporting and analytics always required exporting the data first, and that export tooling is now also unmaintained
  • The community was small before the shutdown and has dispersed since, so operational answers, tuning advice and people who have run a Fauna cluster in anger are all scarce when something breaks

How much do CockroachDB and FaunaDB cost?

CockroachDB has a free plan, with paid plans from $0.057/mo; FaunaDB has a free plan, with paid plans from $25/mo. Plan by plan below, from each vendor's own pricing page.

CockroachDB

Free
  • Standard$0.057/vcpu-hour
  • Mission Critical$0.162/vcpu-hour

FaunaDB

Free
  • FreeFree
    • 100K read ops
    • 50K write ops
    • 1GB storage
  • Pro$25/mo
    • Pay per use
    • Priority support
    • Advanced features

Which should you pick?

Choose CockroachDB if

  • You need distributed sql.
  • You want to start without paying.
  • You work on AWS, GCP, Azure.
  • You also want automatic sharding.

Choose FaunaDB if

  • You need document-relational model.
  • You want to start without paying.
  • You also want fql v10.

Questions people ask

Is CockroachDB or FaunaDB better?
It depends on the job. CockroachDB fits distributed SQL database for scalable applications; FaunaDB fits keeping an existing Fauna-backed application alive on self-hosted infrastructure while a migration is planned and funded. CockroachDB starts at Free and FaunaDB at Free.
Which is cheaper, CockroachDB or FaunaDB?
CockroachDB starts at Free and FaunaDB at Free.
Does CockroachDB or FaunaDB run on more platforms?
CockroachDB runs on AWS, GCP, Azure. FaunaDB runs on Web.
Can I use CockroachDB for free?
Both have a free tier, so you can try either at no cost before committing.
What is CockroachDB best used for?
CockroachDB is most often used for distributed sql database for scalable applications, multi-region deployment and failover. Of those, distributed sql database for scalable applications and multi-region deployment and failover are not what FaunaDB is typically brought in for.
What can CockroachDB do that FaunaDB cannot?
CockroachDB covers Distributed SQL, Automatic Sharding, Multi-region Replication, Geo-partitioning. FaunaDB covers Document-relational model, FQL v10, Distributed ACID transactions, HTTPS access.

Answered from the vendors’ own pages

CockroachDB: What does the free Basic tier include?

The Basic tier is free and includes 50 million RUs and 10 GiB storage per month, with a maximum compute of 30K RU/sec. No credit card is required to start.

Source
FaunaDB: Can I still sign up for Fauna as a service?

No. Fauna Inc. wound down the hosted service in 2025 and the company website is no longer serving. The only way to run Fauna now is to build and operate the open-sourced server yourself.

CockroachDB: How much do the paid tiers cost?

Standard tier starts at $0.18 per hour for 2 vCPUs, and Advanced tier starts at $0.60 per hour for 4 vCPUs. Both tiers support additional resources with higher costs for increased compute and storage.

Source
FaunaDB: What licence is the open-sourced code under?

Apache 2.0, with the copyright held by a FaunaDB Foundation. That is a permissive OSI licence with no competing-use clause, so you may run it, modify it and even offer it as a service.

CockroachDB: What are the storage limits for each tier?

Basic plan supports up to 3 TiB storage, Standard tier up to 3 TiB, and Advanced tier up to 10 TiB per node with unlimited total storage.

Source
FaunaDB: Is the open source version the same software that ran the cloud?

It is the core database engine. The control plane, billing, dashboard and multi-tenant operational tooling that made it a service are not part of the release, so you are running the engine, not the product.

CockroachDB: Can I get trial credits before paying?

Yes, new users can try CockroachDB free with $400 in credits. The Basic and Standard plans do not require a credit card to start.

Source
FaunaDB: What should I migrate to?

There is no drop-in target. Teams that valued the document model with relationships usually land on Postgres with JSONB, and teams that valued the serverless HTTP access pattern usually land on DynamoDB or a managed Postgres with an HTTP driver. Either way the query layer is rewritten.

CockroachDB: Do legacy contracts have different pricing?

Customers with annual or multi-year contracts entered before December 1, 2024 can view legacy pricing terms on a separate page, which apply until their contract renewal date.

Source
FaunaDB: How hard is it to self-host?

It builds as a fat JAR and runs as a multi-node JVM cluster. There is an OPERATING.md, but no supported packaging, no operator, no upstream releases and no support contract, so budget for a distributed-systems engineer, not a container.

Share

Related pages

Other head to heads