Top Qs
Timeline
Chat
Perspective
RavenDB
NoSQL document-oriented database From Wikipedia, the free encyclopedia
Remove ads
RavenDB is an open-source document-oriented database written in C#, developed by RavenDB Ltd.[6][7][8][1][9] It is cross-platform, supported on Windows, Linux, Mac OS, AWS, Azure, and GCP and can be deployed on constrained environments such as Raspberry Pi Zero.[6][10] RavenDB stores data as JSON documents and can be deployed in distributed clusters with master-master replication.
Remove ads
History
Originally named "Rhino DivanDB",[6][11] RavenDB began in 2008 as a project by Oren Eini (aka Ayende Rahien)[12][13] and is developed by Hibernating Rhinos Ltd.[1] RavenDB is described as one of the first document databases to run natively on the .NET Framework, and to offer multi-document ACID transactions[7][8][14][15][16][16][17]
In 2019, Hibernating Rhinos began offering RavenDB as a cloud service named RavenDB Cloud.[18][19][20]
In 2020, version 5.0 added document compression and time series support.[21][22] Subsequent releases included version 5.2 (LTS) in 2021 with improvements for business intelligence and ETL workflows,[23][24] version 6.0 in 2023 with a new indexing engine, sharding support, and messaging‑queue integrations,[25][26] and version 6.2 (LTS) in 2024 with further stability and operational enhancements.[27]
In February 2025, version 7 was released with vector search and AI integration.[28]
In July 2025, version 7.1 introduced AI Agent Creator and GenAI Integration.[29]
In August 2025, the company officially changed its name from “Hibernating Rhinos Ltd.” to “RavenDB Ltd.”[30]
Remove ads
Background
RavenDB was created primarily for the .NET ecosystem and was one of the early document databases to provide full ACID transactions. Over time, it has expanded from a .NET-centric document database into a cross-platform product with client APIs for multiple runtimes and deployment options on-premises and in the cloud. Its feature set has advanced and now includes cluster-wide transactions, full-text search based on Lucene and Corax (full text search engines), time series support, ETL and analytics integrations. Additionally, starting with version 7.x, the following AI related features are available: vector search capabilities intended for AI and semantic search workloads, generative AI and AI Agents features. As of 2025, RavenDB serves over 12,000 customers and over 1,000 organizations.
Remove ads
Version history
Summarize
Perspective
- Red: Not supported
- Green: Supported
System architecture
Data is stored as schemaless documents in JSON format.[6][7][9][11][32][33][59] Documents are grouped into collections, with each document having exactly one collection.[32][33][60]
Databases can be deployed on a distributed cluster of servers (called ‘nodes’) using multi-master replication.[6][8] RavenDB uses a custom implementation of Raft called Rachis for consensus and clustering. Replication is performed in a cluster-agnostic manner.[6] Tasks are distributed to the different nodes in a balanced way.[6][61]
Versions 1.0 through 3.5 supported sharding, but versions 4.x do not,[6][7][8][32][33] and reintroduced sharding starting with version 6.0.[62]
RavenDB originally used the ESENT storage engine.[11][12][33] Version 3.0 replaced it with a new open-source storage engine called Voron.[36][37] Since 5.4, RavenDB provides a custom built indexing engine called Corax.[63][64][65]
Hub/Sink replication with filtering is available since 5.1, and sharding is supported starting from 6.0.[66]
Clients are supported for C#, C++, Java, NodeJS, Python, Ruby, PHP and Go.[8]
Remove ads
Main features
- ACID transactions, including cluster-wide[6][18]
- Clustering with Raft consensus[6][61]
- An efficient custom storage engine[11][12][13]
- Asynchronous indexing[67][68]
- Automatic indexing[69]
Indexes and querying
Queries are expressed in LINQ or with a custom query language named RQL (stands for Raven Query Language) with syntax similar to SQL.[6][7][8]
- Auto indexes - in RavenDB is that queries can only be satisfied by an index; if no appropriate index exists, a new index is created to satisfy the query.[6][9][15][32][33][4]
- Projection - indexes can be configured to transform indexed data, perform calculations, perform aggregations, and execute JavaScript code on the server side.[6][8][70]
- Full-text search - at a low level, data is indexed with Lucene.net, which means indexes support full-text search.[6][17][32][33][71][72]
- Vector search - documents can be searched by their semantic similarity; they are indexed using HNSW algorithm; RavenDB supports embeddings generation
Remove ads
Document extensions
Documents can be extended with other data types less suited to JSON. These extensions can be loaded, modified, and stored independently of the document itself.[73]
- Attachments - documents can have multiple attachments of any data type, such as images, audio, or pure binary.[74]
- Time Series - numerical data associated with specific times and ordered chronologically.[75][76]
- Distributed counters - atomic counters that can be modified concurrently across the cluster without locking or conflicts[77]
- Revisions - a built-in audit capability, capturing snapshots of documents as they change; revisions can be used for data auditing, instant restoration after document corruption, and other purposes[78]
Remove ads
Cluster-wide ACID Transactions
ACID transactions can be executed at the scope of a cluster (in addition to single node transactions). The transaction will only be persisted if it is confirmed by a consensus of nodes; if it is not, the transaction is cancelled and rolled back.[79][80]
Generative AI and Vector Integration
In version 7.1, RavenDB introduced a comprehensive AI integration layer, positioning the database as a core component for Retrieval-Augmented Generation (RAG) and other AI workflows, eliminating the need for external vector databases.
- Vector Database Capabilities: RavenDB natively stores and indexes high-dimensional embedding vectors, enabling searches based on contextual similarity rather than exact keywords.[81]
- Generative AI Tasks: This feature allows for autonomous, intelligent data processing by defining ongoing tasks that run within the database.[82]
- AI Agents: RavenDB AI Agents facilitate continuous, interactive conversations between a client and an LLM, leveraging the database's data. The conversation history is stored within the database, allowing for multi-turn interactions.[83]
Remove ads
RavenDB Cloud
RavenDB Cloud is a managed database-as-a-service launched in 2019 on AWS, Azure, and GCP. The service performs administration tasks such as hardware maintenance and security for users. It features the sharing of CPU resources among the different nodes in a cluster to avoid throttling.[18][19][20]
Embedded instance
RavenDB can also be run as an embedded instance, a great option for smaller applications and proof of concepts, for instance.[84]
Licensing
RavenDB is open source under an AGPLv3 license.[6] It is available with a commercial license and a free license for open source projects, but it must be applied for.[85]
Security and reliability
RavenDB implements authentication and authorization using X.509 certificates. Client certificates are associated with security clearances and database-level permissions, and all communications can be encrypted using TLS/SSL or HTTPS. The database also supports auditing of operations to track access and changes.[86]
For disaster recovery, RavenDB provides ongoing backup tasks, including full and incremental backups, which allow point-in-time recovery. Replication tasks can maintain live copies of data and synchronize it across multiple regions.[87]
RavenDB tracks and assesses publicly reported vulnerabilities. For example, CVE‑2025‑55315 was publicly triaged and analyzed through the vendor’s official channels.[88]
Remove ads
References
External links
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads