RavenDB

Last updated
RavenDB
Original author Oren Eini (aka Ayende Rahien)
Developer RavenDB [1]
Initial release2010;15 years ago (2010)
Stable release
7.1 / June 2025;6 months ago (2025-06)
Repository
Written in C#
Engine Voron
Operating system Windows, Linux, Mac OS, AWS, Azure, GCP
Available inEnglish
Type Document-oriented database
License AGPLv3
Website ravendb.net

RavenDB is an open-source document-oriented database written in C#, developed by RavenDB Ltd. [2] [3] [1] [4] It's built on top of the custom Voron storage engine and supports ACID transactions. RavenDB uses a SQL-like query language, (RQL), and includes native features for handling time series, graph querying, and full-text search. 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. [5] RavenDB can be deployed in distributed clusters with master-master replication.

Contents

History

Originally named "Rhino DivanDB", [6] RavenDB began in 2008 as a project by Oren Eini (aka Ayende Rahien) [7] [8] and was developed by the company’s former name, 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 [2] [3] [9] [10] [11] [12]

In 2019, the company began offering RavenDB as a cloud service named RavenDB Cloud. [13] [14] [15]

In 2020, version 5.0 added document compression and time series support. [16] [17] Subsequent releases included version 5.2 (LTS) in 2021 with improvements for business intelligence and ETL workflows, [18] [19] version 6.0 in 2023 with a new indexing engine, sharding support, and messaging‑queue integrations, [20] [21] and version 6.2 (LTS) in 2024 with further stability and operational enhancements. [22]

In February 2025, version 7 was released with vector search and AI integration. [23]

In July 2025, version 7.1 introduced AI Agent Creator and GenAI Integration. [24]

In August 2025, the company officially changed its name from “Hibernating Rhinos Ltd.” to “RavenDB Ltd.” [25]

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.

Version history

VersionDateFeatures added (partial list)
7.1June 2025 [26] Generative AI integration; AI Agents; Embedding Generation [27]
7.0February 2025 [28] Vector Search; ETL for Amazon SQS and Snowflake [29]
6.2Sept 2024 [30] ETL to Azure Queue Storage; Open Telemetry support
6.0August 2023 [31] Corax; Sharding; Data Archival; Sinks for Kafka and RabbitMQ
5.4June 2022 [32] Corax experimental release; ETL for Kafka and RabbitMQ [33]
5.3November 2021 [34] Concurrent Data Subscriptions; [35] Microsoft Power BI support [36]
5.2June 2021 [37] OLAP ETL; [38] Custom Analyzers [39]
5.1November 2020 [40] Indexing attachments; [41] Hub/Sink replication with filtering [42]
5.0July 2020 Time series; [43] Data compression using the Zstd algorithm [44]
4.2May 2019 [45] Graph querying [46]
4.1August 2018 [47] Cluster-wide transactions [46] [48]
4.0February 2018 [49] Became cross-platform; free license [50]
3.5October 2016 [51] Clustering [52]
3.0November 2014 [53] Java API; Voron storage engine [54] [55]
2.5June 2013 [56] Projections; facet querying
2.0January 2013 [57] Replication [58]
1.0May 2010 [59]

System architecture

Data is stored as schemaless documents blittable format that allows fast transformations from and to JSON. [2] [4] [6] [60] [61] Documents are grouped into collections, with each document having exactly one collection. [62]

Databases can be deployed on a distributed cluster of servers (called ‘nodes’) using multi-master replication. [3] RavenDB uses a custom implementation of Raft called Rachis for consensus and clustering. Replication is performed in a cluster-agnostic manner. Tasks are distributed to the different nodes in a balanced way. [63]

Versions 1.0 through 3.5 supported sharding, but versions 4.x do not, [2] [3] and reintroduced sharding starting with version 6.0. [64]

RavenDB originally used the ESENT storage engine. [6] [7] Version 3.0 replaced it with a new open-source storage engine called Voron. Since 5.4, RavenDB provides a custom-built indexing engine called Corax. [65] [66] [67]

Hub/Sink replication with filtering is available since 5.1, and sharding is supported starting from 6.0. [68]

Clients are supported for C#, C++, Java, NodeJS, Python, Ruby, PHP and Go. [3]

Main features

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. [2] [3]

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. [76]

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. [46]

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.

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 prevent throttling. [14] [15]

Embedded instance

RavenDB can also be run as an embedded instance, a great option for smaller applications and proof of concepts, for instance.. [85]

Licensing

RavenDB is open source under an AGPLv3 license. It is available with a commercial license and a free license for open source projects, but it must be applied for. [86]

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. [87]

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. [88]

RavenDB tracks and assesses publicly reported vulnerabilities. For example, CVE‑2025‑55315 was publicly triaged and analyzed through the vendor’s official channels. [89]

References

  1. 1 2 3 "Other Vendors to Consider for Operational DBMSs". www.gartner.com. 2018. Retrieved 10 October 2020.
  2. 1 2 3 4 5 "Raven, a Document Database for .NET". www.infoq.com. 2010. Retrieved 10 October 2020.
  3. 1 2 3 4 5 6 7 "RavenDB System Properties". db-engines.com. Retrieved 10 October 2020.
  4. 1 2 3 Kaur, Harpreet, and Kamal Jeet Kaur. "A Review: Study of Document oriented databases and their Security." International Journal of Advanced Research in Computer Science 4.8 (2013).
  5. Wallen, Jack (2021-01-06). "How to create a new database with RavenDB". TechRepublic. Retrieved 2022-11-22.
  6. 1 2 3 4 "Ayende's DivanDB (also, is ESENT the most widely used database engine?)". blogs.msdn.microsoft.com. 2008. Retrieved 10 October 2020.
  7. 1 2 3 "Hidden Windows Gems: Extensible Storage Engine". ayende.com. 2008. Retrieved 10 October 2020.
  8. 1 2 "Interview with Oren Eini of RavenDB on database management, analytics & security". bigdata-madesimple.com. 2019. Archived from the original on 8 October 2020. Retrieved 10 October 2020.
  9. "RavenDB Development: Finally, A Solid Document-based Database for Windows?". www.whoishostingthis.com. 2019. Archived from the original on 8 October 2020. Retrieved 10 October 2020.
  10. 1 2 "NoSQL Document Database - Embedding RavenDB into an ASP.NET MVC 3 Application". docs.microsoft.com. 2011. Retrieved 10 October 2020.
  11. "Why Raven DB?". dzone.com. 2010. Retrieved 10 October 2020.
  12. 1 2 "RavenDB vs SQL Server". www.integrace.nl (in Dutch). Archived from the original on 8 October 2020. Retrieved 10 October 2020.
  13. Woodie, Alex (2019-07-02). "RavenDB Launches Managed Cloud Service". BigDATAwire. Retrieved 2025-12-08.
  14. 1 2 "SD Times news digest: Google robots.text parser open sourced, Bonitasoft's cloud and low-code capabilities, and OWASP ZAP 2.8". sdtimes.com. 2019. Retrieved 10 October 2020.
  15. 1 2 "RavenDB Adds New Enhancements to Its Cloud-Based Database Service". it.toolbox.com. 2019. Retrieved 10 October 2020.
  16. "RavenDB migration from 3.5 to 5.0.3 throws duplicate key error". Stack Overflow. Retrieved 2025-11-27.
  17. "RavenDB 5 Improves Distributed Time-Series, Document Compression, and Indexing". InfoQ. Retrieved 2025-11-27.
  18. "RavenDB 5.2 Features: Read only certificates". Ayende @ Rahien. Retrieved 2025-11-27.
  19. "Ayende @ Rahien". Ayende @ Rahien. Retrieved 2025-11-27.
  20. "What's New | RavenDB Documentation". docs.ravendb.net. Retrieved 2025-11-27.
  21. "RavenDB Launches Version 6.0 Lightning Fast Queries, Data Integrations, Corax Indexing Engine, and Sharding". BigDATAwire. Retrieved 2025-11-27.
  22. "RavenDB Documentation". docs.ravendb.net. Retrieved 2025-11-27.
  23. "RavenDB 7.0 Released: AI & Vector Search". RavenDB NoSQL Database. Retrieved 2025-11-27.
  24. "RavenDB 7.1". RavenDB NoSQL Database. Retrieved 2025-11-27.
  25. "daily.dev | Where developers grow together". daily.dev. Retrieved 2025-11-27.
  26. "RavenDB 7.1". RavenDB NoSQL Database. Retrieved 2025-11-27.
  27. "RavenDB 7.1: The Gen AI release". Ayende @ Rahien. Retrieved 2025-12-04.
  28. "New in 7.0: RavenDB's Vector Search!". RavenDB NoSQL Database. Retrieved 2025-11-27.
  29. "RavenDB 7.0 Released: AWS SQS & AWS Lambda integration". Ayende @ Rahien. Retrieved 2025-11-27.
  30. "RavenDB 6.2". RavenDB NoSQL Database. Retrieved 2025-11-27.
  31. "RavenDB version 6.0 is now live". RavenDB NoSQL Database. Retrieved 2025-11-27.
  32. "Life is an Adventure — Your Database Shouldn't Be". RavenDB NoSQL Database. Retrieved 2025-12-08.
  33. Day, Brittany. "RavenDB: A Reliable NoSQL Database For Secure Management". Linux Security. Retrieved 2025-11-27.
  34. "Roadmap". RavenDB NoSQL Database. Retrieved 2025-12-08.
  35. "RavenDB 5.3 New Features: Concurrent subscriptions". Ayende @ Rahien. Retrieved 2025-12-08.
  36. "RavenDB Features 5.3: Power BI integration". Ayende @ Rahien. Retrieved 2025-12-08.
  37. "Roadmap". RavenDB NoSQL Database. Retrieved 2025-12-08.
  38. "OLTP vs. OLAP Databases: The Challenges of ETL | Datavail". www.datavail.com. Retrieved 2025-12-08.
  39. "RavenDB Documentation". docs.ravendb.net. Retrieved 2025-12-08.
  40. "RavenDB 5.0 has been released!". RavenDB NoSQL Database. Retrieved 2025-12-08.
  41. "RavenDB 5.1 Features: Searching in Office documents". RavenDB NoSQL Database. Retrieved 2025-12-08.
  42. "Filtered Replication". RavenDB NoSQL Database. Retrieved 2025-12-08.
  43. "RavenDB Adds Time Series Query Support". www.i-programmer.info. Retrieved 2025-12-08.
  44. "RavenDB 5 Improves Distributed Time-Series, Document Compression, and Indexing". InfoQ. Retrieved 2025-12-08.
  45. "RavenDB 4.2 has been released!". Ayende @ Rahien. Retrieved 2025-12-08.
  46. 1 2 3 "RavenDB Launches Managed Cloud Service". www.datanami.com. 2019. Retrieved 10 October 2020.
  47. "RavenDB 4.1 Release Candidate is out". Ayende @ Rahien. Retrieved 2025-12-08.
  48. "RavenDB 4.1 Release Candidate is out". Ayende @ Rahien. Retrieved 2025-12-08.
  49. "RavenDB 4.0 is out". Ayende @ Rahien. Retrieved 2025-12-08.
  50. online, heise (2018-02-16). "NoSQL: RavenDB 4.0 jetzt für Windows, Linux, macOS und Docker verfügbar". Developer (in German). Retrieved 2025-12-08.
  51. "RavenDB 3.5 RTM released". Ayende @ Rahien. Retrieved 2025-12-08.
  52. "RavenDB 3.5 RTM released". Ayende @ Rahien. Retrieved 2025-12-08.
  53. "RavenDB 3.0 RTM!". Ayende @ Rahien. Retrieved 2025-12-08.
  54. "NoSQL for .NET: RavenDB 3.0 Takes Flight -". Visual Studio Magazine. Retrieved 2025-12-08.
  55. online, heise (2014-12-03). "NoSQL: RavenDB 3.0 erhält weitere Storage Engine". Developer (in German). Retrieved 2025-12-08.
  56. "RavenDB 2.5 Release Candidate is out". Ayende @ Rahien. Retrieved 2025-12-08.
  57. "RavenDB 2.0 RTM". Ayende @ Rahien. Retrieved 2025-12-08.
  58. "RavenDB High Performance". O’Reilly Online Learning. Archived from the original on 2020-11-02. Retrieved 2025-12-08.
  59. "RavenDB goes live!". Ayende @ Rahien. Retrieved 2025-12-08.
  60. "A document database for the .NET platform". learning.oreilly.com. Archived from the original on 2 November 2020. Retrieved 10 October 2020.
  61. "The design of RavenDB 4.0: The implications of the blittable format". Ayende @ Rahien. Retrieved 2025-12-10.
  62. "The Design of RavenDB 4.0: The Implications of the Blittable Format". dzone.com. 2016. Retrieved 10 October 2020.
  63. 1 2 "Review: NoSQL database RavenDB". techgenix.com. 2019. Retrieved 10 October 2020.
  64. "Sharding Overview | RavenDB Documentation". docs.ravendb.net. Retrieved 2025-11-27.
  65. "S06E09 - From Code Generation to Revolutionary RavenDB: Unveiling the Database Secrets with Oren Eini". The Modern .NET Show. Retrieved 2025-11-27.
  66. "RavenDB Launches Version 6.0 Lightning Fast Queries, Data Integrations, Corax Indexing Engine, and Sharding". BigDATAwire. Retrieved 2025-11-27.
  67. "RavenDB specify Lucene vs Corax in C# code". Stack Overflow. Retrieved 2025-11-27.
  68. "What's New | RavenDB Documentation". docs.ravendb.net. Retrieved 2025-11-27.
  69. "RavenDB Launches Version 6.0 Lightning Fast Queries, Data Integrations, Corax Indexing Engine, and Sharding". BigDATAwire. Retrieved 2025-11-27.
  70. "RavenDB specify Lucene vs Corax in C# code". Stack Overflow. Retrieved 2025-11-27.
  71. "Creating and Deploying Indexes | RavenDB Documentation". docs.ravendb.net. Retrieved 2025-11-27.
  72. "RavenDB: Driving DX through DB infrastructure management". ciostory.com. Archived from the original on 11 October 2020. Retrieved 10 October 2020.
  73. "Data Modeling with Indexes in RavenDB". www.codeproject.com. 2019. Retrieved 10 October 2020.
  74. Stevic, Milorad P. "Managing documents with NoSQL in service oriented architecture." Online Journal of Applied Knowledge Management (OJAKM) 1.2 (2013): 105-115.
  75. "Data Points - What the Heck Are Document Databases?". docs.microsoft.com. 2011. Retrieved 10 October 2020.
  76. "A document database for the .NET platform". learning.oreilly.com. Archived from the original on 2 November 2020. Retrieved 10 October 2020.
  77. "RavenDB: Driving DX through DB infrastructure management". ciostory.com. Archived from the original on 11 October 2020. Retrieved 10 October 2020.
  78. "RavenDB 5 Improves Distributed Time-Series, Document Compression, and Indexing". infoq.com. Aug 3, 2020. Retrieved 10 October 2020.
  79. "RavenDB Adds Time Series Query Support". i-programmer.info. 16 July 2020. Retrieved 10 October 2020.
  80. "How can I implement an atomic concurrent read of a document in RavenDB?". Stack Overflow. Retrieved 2025-11-27.
  81. "Viewing Document Revisions | RavenDB Documentation". docs.ravendb.net. Retrieved 2025-11-27.
  82. "NOT Sharding RavenDB Vector Search". Ayende @ Rahien. Retrieved 2025-11-27.
  83. "GenAI tasks: Start | RavenDB Documentation". docs.ravendb.net. Retrieved 2025-11-27.
  84. Burton, Betsy (2025-09-10). "RavenDB Launches Innovative Native DBMS AI Agents" . Retrieved 2025-11-27.
  85. "Server: Running an Embedded Instance | RavenDB Documentation". docs.ravendb.net. Retrieved 2025-11-27.
  86. Tannir, Khaled (2013-09-04). RavenDB 2.x beginner's guide. Packt Publishing Ltd. ISBN   978-1-78328-380-4.
  87. "Security: Overview | RavenDB Documentation". docs.ravendb.net. Retrieved 2025-11-27.
  88. "Inside RavenDB 4 0 | PDF | No Sql | Backup". Scribd. Retrieved 2025-11-27.
  89. "On CVE-2025-55315: Security Assessment". RavenDB NoSQL Database. Retrieved 2025-11-27.