RavenDB

active

by RavenDB Ltd. (Hibernating Rhinos) · since 2010 · also known as Raven DB

ACID document database for .NET and beyond, with auto-indexing, Corax search and multi-master replication.

documentsearch enginetime-seriesvectorspatialdatabase engineopen source (copyleft)mature

Overview

RavenDB is a C# document database built around fully ACID transactions on JSON documents and an indexing engine that creates indexes automatically from the queries you run. Its own Corax engine (or Lucene) handles full-text search, and map-reduce indexes give materialized aggregates. The 7.x line added vector search and AI integrations, and 7.2 is the current LTS (7.2.7 shipped in October 2026). Clusters use multi-master replication with Raft for cluster-wide operations, and sharding has been built in since 6.0. It is especially popular with .NET teams who want an opinionated, batteries-included database with a strong management Studio.

Strengths & trade-offs

Strengths

  • +ACID transactions across documents on a single node, plus cluster-wide transactions
  • +Automatic indexes created from query patterns, with no manual index design for simple cases
  • +Built-in full-text, spatial and vector search
  • +Map-reduce indexes act as always-up-to-date materialized aggregates
  • +Document revisions allow reverting a database to a point in time
  • +Excellent .NET client and a polished web Studio

Trade-offs

  • −Smaller community and talent pool than MongoDB
  • −AGPL or paid licences; the free Community licence has feature and version limits
  • −Indexes are eventually consistent with writes by default
  • −Many features skew towards .NET; other clients are thinner

Great for

  • +.NET business applications and line-of-business systems
  • +Embedded databases in desktop or edge applications
  • +Search-heavy catalogs and content
  • +Multi-site deployments needing offline-tolerant replication

Think twice for

  • −Teams outside the .NET ecosystem needing broad tooling
  • −Large-scale analytical scans

Capabilities

Native or official first-party support · 16 of 25 tracked

✓Transactions
✓Secondary indexes
✓Full-text search
✓Vector search
✓Geospatial
✓JSON
✓Change data capture
✓Materialized views
✓TTL / expiry
✓Pub/Sub
✓Durable persistence
✓Compression
✓Encryption at rest
✓Role-based access
✓Time travel
✓Online schema changes
–Joins
–Triggers
–Stored procedures
–Columnar storage
–In-memory
–Branching
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Medium · ≤ 10 TB
Horizontal scaling
Native
Multi-region
Active active
Transactions
Full ACID
Consistency
Strong, Eventual
Schema
Schemaless
Architecture
Distributed, Multi primary, Embedded, Client server
Query languages
RQL (Raven Query Language), LINQ

Multi-master replication across nodes and data centers; native sharding since 6.0.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

available on · AWS · Google Cloud · Azure

Ecosystem

apis & protocolsHTTP/JSON REST
client languagesC#, Java, JavaScript, Python, Go, PHP, Ruby

Alternatives to RavenDB

Compare all→
MongoDBDocument80.5

The default document database: flexible BSON documents, rich queries and built-in sharding.

ravendb vs mongodb →
Couchbase ServerDocument27.5

Memory-first distributed JSON database with SQL++, search, vector indexes and mobile sync.

ravendb vs couchbase →
Azure Cosmos DBDocument45.3

Microsoft's globally distributed, multi-API NoSQL and vector database with SLA-backed latency.

ravendb vs azure-cosmos-db →
PostgreSQLRelational93.2

The extensible, standards-first open-source relational database.

ravendb vs postgresql →
ArangoDBGraph40.0

Native multi-model database: documents, graphs, search and vectors behind one query language.

ravendb vs arangodb →
LiteDBDocument10.8

Serverless single-file NoSQL document database for .NET, in the spirit of SQLite.

ravendb vs litedb →

RavenDB FAQ

What is RavenDB?

RavenDB is a document database by RavenDB Ltd. (Hibernating Rhinos), first released in 2010. RavenDB is a C# document database built around fully ACID transactions on JSON documents and an indexing engine that creates indexes automatically from the queries you run. Its own Corax engine (or Lucene) handles full-text search, and map-reduce indexes give materialized aggregates. The 7.x line added vector search and AI integrations, and 7.2 is the current LTS (7.2.7 shipped in October 2026). Clusters use multi-master replication with Raft for cluster-wide operations, and sharding has been built in since 6.0. It is especially popular with .NET teams who want an opinionated, batteries-included database with a strong management Studio.

Is RavenDB open source?

Yes. RavenDB is open source. License: AGPL-3.0 or commercial licence.

Does RavenDB support ACID transactions?

Yes. RavenDB supports full ACID transactions, with strong, eventual consistency.

Does RavenDB scale horizontally?

RavenDB scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at medium scale (≤ 10 TB). It supports active-active multi-region writes.

How can I run RavenDB?

You can self-host it, embed it in your application and use the vendor's managed cloud. Managed offerings include RavenDB Cloud. It is available on AWS, Google Cloud and Azure.

What is RavenDB best for?

RavenDB is a strong fit for .NET business applications and line-of-business systems; embedded databases in desktop or edge applications; and search-heavy catalogs and content. Think twice for teams outside the .NET ecosystem needing broad tooling.

What are the best alternatives to RavenDB?

Common alternatives to RavenDB include MongoDB, Couchbase Server, Azure Cosmos DB, PostgreSQL and ArangoDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

How popular is RavenDB?

RavenDB ranks #84 of 844 databases on the WhichDB Score (30.9/100), and #8 among document databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.