talira

Couchbase

Distributed JSON document database with a built-in cache, SQL++ queries, search and mobile sync

source availableBUSL-1.1self-hostablefreeMCP

Couchbase Server is a distributed JSON document database. It combines a scale-out key-value store with a managed memory cache for sub-millisecond reads and writes, global secondary indexes, and a query engine for SQL++, a SQL-like language with joins over JSON. Further services add full-text and vector search, analytics over large datasets and eventing functions that run on data changes, and Couchbase Lite runs on mobile and IoT devices and syncs to the server. It supports ACID transactions, durability settings and document expiry. The source is under Couchbase's Business Source License 1.1, and each version converts to Apache 2.0 on its change date. Couchbase sells a self-managed Enterprise Edition and Capella, a managed cloud service on AWS, Azure and Google Cloud with a forever-free tier cluster; the free Community Edition is limited to five-node clusters.

Problems it solves

  • a document database with a built-in cache so I don't need a separate Redis layer
  • query JSON documents with SQL, including joins
  • sub-millisecond key-value reads and writes at scale
  • sync data between a server database and mobile or IoT apps that work offline
  • full-text and vector search in the same database as my operational data
  • scale a NoSQL database horizontally across nodes with replication
  • a managed NoSQL database service with a free tier

Features

  • JSON document store with key-value access
  • managed memory cache
  • SQL++ query language with joins
  • global secondary indexes
  • full-text search
  • vector search
  • analytics service
  • eventing functions on data changes
  • ACID transactions
  • document expiry (TTL)
View 5 more
  • Cross Data Center Replication (Enterprise and Capella)
  • Couchbase Lite and Sync Gateway for mobile and edge sync
  • Kubernetes Operator
  • Capella managed service on AWS, Azure and Google Cloud
  • MCP server

Limitations

  • The Community Edition is limited to five-node clusters and four cores per node, and has no Cross Data Center Replication (XDCR).1
  • The source is under the Business Source License 1.1, which forbids distributing or hosting it, or products that include it, commercially until each version converts to Apache 2.0.2

Ways to run it

Source build

You run it, BUSL-1.1 (source-available)

free234

Only in this edition

  • production use, except commercial distribution or hosted offerings of it or of products that include it

Not included

  • prebuilt binaries
  • commercial support

You arrange

  • building it from the source repositories with the repo tool and the couchbase/manifest manifests
  • servers to run it on

Self-hosting docs

Community Edition

You run it, under a commercial licence

free1

Only in this edition

  • departmental-scale deployments of up to five-node clusters
  • community support

Not included

  • Cross Data Center Replication (XDCR)
  • more than 4 cores per node
  • the latest bug fixes
  • Enterprise Edition's security, tooling and availability features

You arrange

  • servers or Kubernetes to run it on

Self-hosting docs

Enterprise Edition

You run it, under a commercial licence

subscription, see pricing page1

Only in this edition

  • commercial licence
  • Cross Data Center Replication (XDCR)
  • enhanced security and advanced tooling
  • 24/7 support with service level commitments and hot fixes

You arrange

  • servers or Kubernetes to run it on

Self-hosting docs

Capella

Hosted by Couchbase

forever-free tier cluster; paid clusters on the pricing page56

Only in this edition

  • fully managed Couchbase clusters on AWS, Azure or Google Cloud
  • App Services for mobile sync
  • Management API

Pricing

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Has an MCP serverplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what Couchbase does.

  1. Amazon DynamoDB Serverless, fully managed, distributed NoSQL database with single-digit millisecond performance at any scale
  2. Redis The preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine
  3. Apache CouchDB Seamless multi-primary syncing database with an intuitive HTTP/JSON API, designed for reliability
  4. MongoDB The free, source-available version of MongoDB
  5. ArangoDB A scalable multi-model database for graphs, documents, key-values and search
  6. RethinkDB The open source database for the realtime web

Compare Couchbase with the top 3